@warp-ds/elements 2.9.0-next.6 → 2.9.1-next.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.
- package/dist/custom-elements.json +80 -21
- package/dist/docs/affix/affix.md +24 -38
- package/dist/docs/affix/examples.md +24 -38
- package/dist/docs/alert/accessibility.md +4 -9
- package/dist/docs/alert/alert.md +24 -39
- package/dist/docs/alert/examples.md +20 -30
- package/dist/docs/attention/accessibility.md +50 -0
- package/dist/docs/attention/api.md +40 -27
- package/dist/docs/attention/attention.md +276 -27
- package/dist/docs/attention/examples.md +91 -0
- package/dist/docs/attention/usage.md +91 -0
- package/dist/docs/badge/badge.md +23 -36
- package/dist/docs/badge/examples.md +23 -36
- package/dist/docs/box/accessibility.md +29 -0
- package/dist/docs/box/api.md +16 -11
- package/dist/docs/box/box.md +189 -11
- package/dist/docs/box/examples.md +98 -0
- package/dist/docs/box/usage.md +47 -0
- package/dist/docs/textarea/accessibility.md +5 -0
- package/dist/docs/textarea/api.md +32 -47
- package/dist/docs/textarea/examples.md +81 -0
- package/dist/docs/textarea/textarea.md +133 -49
- package/dist/docs/textarea/usage.md +9 -0
- package/dist/docs/textfield/examples.md +32 -49
- package/dist/docs/textfield/textfield.md +39 -60
- package/dist/docs/textfield/usage.md +7 -11
- package/dist/index.d.ts +276 -154
- package/dist/packages/attention/attention.d.ts +46 -37
- package/dist/packages/attention/attention.js +20 -20
- package/dist/packages/attention/attention.js.map +3 -3
- package/dist/packages/box/box.d.ts +15 -14
- package/dist/packages/box/box.js +6 -6
- package/dist/packages/box/box.js.map +4 -4
- package/dist/packages/box/box.react.stories.d.ts +1 -1
- package/dist/packages/box/box.stories.d.ts +1 -0
- package/dist/packages/box/box.stories.js +12 -5
- package/dist/packages/textarea/textarea.d.ts +38 -29
- package/dist/packages/textarea/textarea.js.map +2 -2
- package/dist/web-types.json +216 -44
- package/package.json +1 -2
package/dist/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@warp-ds/elements",
|
|
4
|
-
"version": "2.9.0
|
|
4
|
+
"version": "2.9.0",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -473,78 +473,143 @@
|
|
|
473
473
|
},
|
|
474
474
|
{
|
|
475
475
|
"name": "w-attention",
|
|
476
|
-
"description": "\n---\n",
|
|
476
|
+
"description": "Attention is a versatile component for displaying contextual information and messages. It can be used for a wide range of purposes, such as tooltips, callouts, popovers, and highlights.\n\nThe component is designed to be anchored to a trigger element, providing contextual information related to that element. It supports various placements and styling options to accommodate different use cases and design needs.\n\nNote: attention will soon be split into multiple components (tooltip, callout, popover, highlight) at which time this component will be deprecated. For now, use the `tooltip`, `callout`, `popover`, and `highlight` boolean properties to achieve the desired style and behavior.\n---\n",
|
|
477
477
|
"doc-url": "",
|
|
478
478
|
"attributes": [
|
|
479
479
|
{
|
|
480
480
|
"name": "show",
|
|
481
|
+
"description": "Controls whether the attention panel is visible.\nSet to `true` to show the attention content and `false` to hide it.",
|
|
481
482
|
"value": { "type": "boolean", "default": "false" }
|
|
482
483
|
},
|
|
483
484
|
{
|
|
484
485
|
"name": "placement",
|
|
486
|
+
"description": "Preferred placement relative to the trigger element.\nSets the initial direction for positioning, for example `top`, `right`, `bottom`, or `left` variants.",
|
|
485
487
|
"value": { "type": "Directions", "default": "'bottom'" }
|
|
486
488
|
},
|
|
487
489
|
{
|
|
488
490
|
"name": "tooltip",
|
|
491
|
+
"description": "Renders the component with tooltip styling and behavior.\nUse for compact, non-modal contextual hints anchored to another element.",
|
|
489
492
|
"value": { "type": "boolean", "default": "false" }
|
|
490
493
|
},
|
|
491
494
|
{
|
|
492
495
|
"name": "callout",
|
|
496
|
+
"description": "Renders the component as an inline callout.\nCallout mode is used for always-in-flow informational content instead of floating overlay behavior.",
|
|
493
497
|
"value": { "type": "boolean", "default": "false" }
|
|
494
498
|
},
|
|
495
499
|
{
|
|
496
500
|
"name": "popover",
|
|
501
|
+
"description": "Enables native popover behavior for the attention element.\nWhen enabled, the component uses popover semantics and styling suitable for floating surface UI.",
|
|
497
502
|
"value": { "type": "boolean", "default": "false" }
|
|
498
503
|
},
|
|
499
504
|
{
|
|
500
505
|
"name": "highlight",
|
|
506
|
+
"description": "Renders the component with highlight styling.\nUse highlight mode to visually emphasize important contextual information.",
|
|
501
507
|
"value": { "type": "boolean", "default": "false" }
|
|
502
508
|
},
|
|
503
509
|
{
|
|
504
510
|
"name": "can-close",
|
|
511
|
+
"description": "Shows a close button inside the attention component.\nAdds an internal dismiss action that lets users close the attention panel.",
|
|
505
512
|
"value": { "type": "boolean", "default": "false" }
|
|
506
513
|
},
|
|
507
514
|
{
|
|
508
515
|
"name": "no-arrow",
|
|
516
|
+
"description": "Hides the directional arrow of the attention component.\nDisable the arrow when the visual connection to the trigger should not be shown.",
|
|
509
517
|
"value": { "type": "boolean", "default": "false" }
|
|
510
518
|
},
|
|
511
519
|
{
|
|
512
520
|
"name": "distance",
|
|
521
|
+
"description": "Distance offset between trigger and attention panel.\nDefines the main-axis spacing in pixels from the anchor element.",
|
|
513
522
|
"value": { "type": "number", "default": "8" }
|
|
514
523
|
},
|
|
515
524
|
{
|
|
516
525
|
"name": "skidding",
|
|
526
|
+
"description": "Cross-axis offset for fine-grained positioning.\nMoves the panel along the cross axis in pixels to adjust alignment with the trigger.",
|
|
517
527
|
"value": { "type": "number", "default": "0" }
|
|
518
528
|
},
|
|
519
529
|
{
|
|
520
530
|
"name": "flip",
|
|
531
|
+
"description": "Enables automatic flipping when placement has no space.\nAllows the component to choose an alternative side if the preferred placement would overflow.",
|
|
521
532
|
"value": { "type": "boolean", "default": "false" }
|
|
522
533
|
},
|
|
523
534
|
{
|
|
524
535
|
"name": "cross-axis",
|
|
536
|
+
"description": "Allows overflow checks on the cross axis when flipping.\nUse with `flip` to improve collision handling when space is constrained horizontally or vertically.",
|
|
525
537
|
"value": { "type": "boolean", "default": "false" }
|
|
526
538
|
},
|
|
527
539
|
{
|
|
528
540
|
"name": "fallback-placements",
|
|
529
|
-
"
|
|
541
|
+
"description": "Ordered list of fallback placements.\nProvides explicit alternative placements to try when `flip` is enabled and the preferred placement does not fit.",
|
|
542
|
+
"value": { "type": "Directions[]", "default": "[]" }
|
|
530
543
|
}
|
|
531
544
|
],
|
|
532
545
|
"events": [],
|
|
533
546
|
"js": {
|
|
534
547
|
"properties": [
|
|
535
|
-
{
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
{
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
{
|
|
546
|
-
|
|
547
|
-
|
|
548
|
+
{
|
|
549
|
+
"name": "show",
|
|
550
|
+
"description": "Controls whether the attention panel is visible.\nSet to `true` to show the attention content and `false` to hide it.",
|
|
551
|
+
"type": "boolean"
|
|
552
|
+
},
|
|
553
|
+
{
|
|
554
|
+
"name": "placement",
|
|
555
|
+
"description": "Preferred placement relative to the trigger element.\nSets the initial direction for positioning, for example `top`, `right`, `bottom`, or `left` variants.",
|
|
556
|
+
"type": "Directions"
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
"name": "tooltip",
|
|
560
|
+
"description": "Renders the component with tooltip styling and behavior.\nUse for compact, non-modal contextual hints anchored to another element.",
|
|
561
|
+
"type": "boolean"
|
|
562
|
+
},
|
|
563
|
+
{
|
|
564
|
+
"name": "callout",
|
|
565
|
+
"description": "Renders the component as an inline callout.\nCallout mode is used for always-in-flow informational content instead of floating overlay behavior.",
|
|
566
|
+
"type": "boolean"
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
"name": "popover",
|
|
570
|
+
"description": "Enables native popover behavior for the attention element.\nWhen enabled, the component uses popover semantics and styling suitable for floating surface UI.",
|
|
571
|
+
"type": "boolean"
|
|
572
|
+
},
|
|
573
|
+
{
|
|
574
|
+
"name": "highlight",
|
|
575
|
+
"description": "Renders the component with highlight styling.\nUse highlight mode to visually emphasize important contextual information.",
|
|
576
|
+
"type": "boolean"
|
|
577
|
+
},
|
|
578
|
+
{
|
|
579
|
+
"name": "canClose",
|
|
580
|
+
"description": "Shows a close button inside the attention component.\nAdds an internal dismiss action that lets users close the attention panel.",
|
|
581
|
+
"type": "boolean"
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
"name": "noArrow",
|
|
585
|
+
"description": "Hides the directional arrow of the attention component.\nDisable the arrow when the visual connection to the trigger should not be shown.",
|
|
586
|
+
"type": "boolean"
|
|
587
|
+
},
|
|
588
|
+
{
|
|
589
|
+
"name": "distance",
|
|
590
|
+
"description": "Distance offset between trigger and attention panel.\nDefines the main-axis spacing in pixels from the anchor element.",
|
|
591
|
+
"type": "number"
|
|
592
|
+
},
|
|
593
|
+
{
|
|
594
|
+
"name": "skidding",
|
|
595
|
+
"description": "Cross-axis offset for fine-grained positioning.\nMoves the panel along the cross axis in pixels to adjust alignment with the trigger.",
|
|
596
|
+
"type": "number"
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
"name": "flip",
|
|
600
|
+
"description": "Enables automatic flipping when placement has no space.\nAllows the component to choose an alternative side if the preferred placement would overflow.",
|
|
601
|
+
"type": "boolean"
|
|
602
|
+
},
|
|
603
|
+
{
|
|
604
|
+
"name": "crossAxis",
|
|
605
|
+
"description": "Allows overflow checks on the cross axis when flipping.\nUse with `flip` to improve collision handling when space is constrained horizontally or vertically.",
|
|
606
|
+
"type": "boolean"
|
|
607
|
+
},
|
|
608
|
+
{
|
|
609
|
+
"name": "fallbackPlacements",
|
|
610
|
+
"description": "Ordered list of fallback placements.\nProvides explicit alternative placements to try when `flip` is enabled and the preferred placement does not fit.",
|
|
611
|
+
"type": "Directions[]"
|
|
612
|
+
},
|
|
548
613
|
{ "name": "_initialPlacement" },
|
|
549
614
|
{ "name": "_actualDirection" }
|
|
550
615
|
],
|
|
@@ -601,30 +666,58 @@
|
|
|
601
666
|
"attributes": [
|
|
602
667
|
{
|
|
603
668
|
"name": "bleed",
|
|
669
|
+
"description": "Makes the box bleed to the container edge.\nExtends the box into the horizontal gutter on narrow screens. Adds negative horizontal margins and square side corners below the small breakpoint, then restores the normal margins and rounded corners from the small breakpoint and up.",
|
|
604
670
|
"value": { "type": "boolean", "default": "false" }
|
|
605
671
|
},
|
|
606
672
|
{
|
|
607
673
|
"name": "bordered",
|
|
674
|
+
"description": "Shows the box as a bordered surface.\nUse this when the content needs a clear visual boundary from the surrounding page.",
|
|
608
675
|
"value": { "type": "boolean", "default": "false" }
|
|
609
676
|
},
|
|
610
677
|
{
|
|
611
678
|
"name": "info",
|
|
679
|
+
"description": "Shows the box with information styling.\nUse this for supporting informational content that should be visually separated from the surrounding page.",
|
|
612
680
|
"value": { "type": "boolean", "default": "false" }
|
|
613
681
|
},
|
|
614
682
|
{
|
|
615
683
|
"name": "neutral",
|
|
684
|
+
"description": "Shows the box with neutral styling.\nUse this for quiet grouped content that needs a background without strong emphasis.",
|
|
616
685
|
"value": { "type": "boolean", "default": "false" }
|
|
617
686
|
},
|
|
618
|
-
{
|
|
687
|
+
{
|
|
688
|
+
"name": "role",
|
|
689
|
+
"description": "ARIA role for the box wrapper.\nDefaults to a role of `region`. Set `role=\"none\"` to override this behaviour for purely visual grouping, or set a specific role when the box has a clearer semantic purpose.",
|
|
690
|
+
"value": { "type": "string", "default": "'region'" }
|
|
691
|
+
}
|
|
619
692
|
],
|
|
620
693
|
"events": [],
|
|
621
694
|
"js": {
|
|
622
695
|
"properties": [
|
|
623
|
-
{
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
696
|
+
{
|
|
697
|
+
"name": "bleed",
|
|
698
|
+
"description": "Makes the box bleed to the container edge.\nExtends the box into the horizontal gutter on narrow screens. Adds negative horizontal margins and square side corners below the small breakpoint, then restores the normal margins and rounded corners from the small breakpoint and up.",
|
|
699
|
+
"type": "boolean"
|
|
700
|
+
},
|
|
701
|
+
{
|
|
702
|
+
"name": "bordered",
|
|
703
|
+
"description": "Shows the box as a bordered surface.\nUse this when the content needs a clear visual boundary from the surrounding page.",
|
|
704
|
+
"type": "boolean"
|
|
705
|
+
},
|
|
706
|
+
{
|
|
707
|
+
"name": "info",
|
|
708
|
+
"description": "Shows the box with information styling.\nUse this for supporting informational content that should be visually separated from the surrounding page.",
|
|
709
|
+
"type": "boolean"
|
|
710
|
+
},
|
|
711
|
+
{
|
|
712
|
+
"name": "neutral",
|
|
713
|
+
"description": "Shows the box with neutral styling.\nUse this for quiet grouped content that needs a background without strong emphasis.",
|
|
714
|
+
"type": "boolean"
|
|
715
|
+
},
|
|
716
|
+
{
|
|
717
|
+
"name": "role",
|
|
718
|
+
"description": "ARIA role for the box wrapper.\nDefaults to a role of `region`. Set `role=\"none\"` to override this behaviour for purely visual grouping, or set a specific role when the box has a clearer semantic purpose.",
|
|
719
|
+
"type": "string"
|
|
720
|
+
}
|
|
628
721
|
],
|
|
629
722
|
"events": []
|
|
630
723
|
}
|
|
@@ -1944,59 +2037,138 @@
|
|
|
1944
2037
|
},
|
|
1945
2038
|
{
|
|
1946
2039
|
"name": "w-textarea",
|
|
1947
|
-
"description": "A
|
|
2040
|
+
"description": "A multi-line text input with built-in form validation, auto-resizing, and styling support.\n\nThe component automatically handles:\n - Form integration\n - Auto-resizing based on content and row constraints\n - Built-in validation with customizable error messages\n - Accessibility attributes and labeling\n---\n\n\n### **Methods:**\n - **checkValidity(): _boolean_** - Checks whether the textarea passes constraint validation\n- **reportValidity(): _boolean_** - Checks validity and shows the browser's validation message if invalid\n- **setCustomValidity(message: _string_): _void_** - Sets a custom validation message. Pass an empty string to clear.",
|
|
1948
2041
|
"doc-url": "",
|
|
1949
2042
|
"attributes": [
|
|
1950
2043
|
{
|
|
1951
2044
|
"name": "disabled",
|
|
2045
|
+
"description": "Keep in mind that using disabled in its current form is an anti-pattern.\n\nThere will always be users who don't understand why an element is disabled, or users who can't even see that it is disabled because of poor lighting conditions or other reasons.\n\nPlease consider more informative alternatives before choosing to use disabled on an element.",
|
|
1952
2046
|
"value": { "type": "boolean", "default": "false" }
|
|
1953
2047
|
},
|
|
1954
2048
|
{
|
|
1955
2049
|
"name": "invalid",
|
|
2050
|
+
"description": "Mark the form field as invalid.\n\nMake sure to also set a `help-text` to help users fix the validation problem.",
|
|
1956
2051
|
"value": { "type": "boolean", "default": "false" }
|
|
1957
2052
|
},
|
|
1958
|
-
{
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
{
|
|
2053
|
+
{
|
|
2054
|
+
"name": "label",
|
|
2055
|
+
"description": "Either a `label` or an `aria-label` must be provided.",
|
|
2056
|
+
"value": { "type": "string" }
|
|
2057
|
+
},
|
|
2058
|
+
{
|
|
2059
|
+
"name": "help-text",
|
|
2060
|
+
"description": "Use in combination with `invalid` to show as a validation error message,\nor on its own to show a help text.",
|
|
2061
|
+
"value": { "type": "string" }
|
|
2062
|
+
},
|
|
2063
|
+
{
|
|
2064
|
+
"name": "maximum-rows",
|
|
2065
|
+
"description": "Sets the maximum number of text rows before the content starts scrolling.",
|
|
2066
|
+
"value": { "type": "number" }
|
|
2067
|
+
},
|
|
2068
|
+
{
|
|
2069
|
+
"name": "minimum-rows",
|
|
2070
|
+
"description": "Sets the minimum number of text rows the textarea should display",
|
|
2071
|
+
"value": { "type": "number" }
|
|
2072
|
+
},
|
|
2073
|
+
{
|
|
2074
|
+
"name": "name",
|
|
2075
|
+
"description": "The [name](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#name) of the input field when submitting the form",
|
|
2076
|
+
"value": { "type": "string" }
|
|
2077
|
+
},
|
|
2078
|
+
{
|
|
2079
|
+
"name": "placeholder",
|
|
2080
|
+
"description": "Set a text that is shown in the textarea when it doesn't have a value.\n\nPlaceholder text should not be used as a substitute for labeling the element with a visible label.",
|
|
2081
|
+
"value": { "type": "string" }
|
|
2082
|
+
},
|
|
1964
2083
|
{
|
|
1965
2084
|
"name": "read-only",
|
|
1966
2085
|
"value": { "type": "boolean", "default": "false" }
|
|
1967
2086
|
},
|
|
1968
2087
|
{
|
|
1969
2088
|
"name": "readonly",
|
|
2089
|
+
"description": "Whether the input can be selected but not changed by the user",
|
|
1970
2090
|
"value": { "type": "boolean", "default": "false" }
|
|
1971
2091
|
},
|
|
1972
2092
|
{
|
|
1973
2093
|
"name": "required",
|
|
2094
|
+
"description": "Whether user input is required on the input before form submission",
|
|
1974
2095
|
"value": { "type": "boolean", "default": "false" }
|
|
1975
2096
|
},
|
|
1976
|
-
{
|
|
2097
|
+
{
|
|
2098
|
+
"name": "value",
|
|
2099
|
+
"description": "Lets you set the current value",
|
|
2100
|
+
"value": { "type": "string" }
|
|
2101
|
+
},
|
|
1977
2102
|
{
|
|
1978
2103
|
"name": "optional",
|
|
2104
|
+
"description": "Show an icon behind the label indicating the field is optional",
|
|
1979
2105
|
"value": { "type": "boolean", "default": "false" }
|
|
1980
2106
|
}
|
|
1981
2107
|
],
|
|
1982
2108
|
"events": [],
|
|
1983
2109
|
"js": {
|
|
1984
2110
|
"properties": [
|
|
1985
|
-
{
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
{
|
|
1991
|
-
|
|
1992
|
-
|
|
2111
|
+
{
|
|
2112
|
+
"name": "disabled",
|
|
2113
|
+
"description": "Keep in mind that using disabled in its current form is an anti-pattern.\n\nThere will always be users who don't understand why an element is disabled, or users who can't even see that it is disabled because of poor lighting conditions or other reasons.\n\nPlease consider more informative alternatives before choosing to use disabled on an element.",
|
|
2114
|
+
"type": "boolean"
|
|
2115
|
+
},
|
|
2116
|
+
{
|
|
2117
|
+
"name": "invalid",
|
|
2118
|
+
"description": "Mark the form field as invalid.\n\nMake sure to also set a `help-text` to help users fix the validation problem.",
|
|
2119
|
+
"type": "boolean"
|
|
2120
|
+
},
|
|
2121
|
+
{
|
|
2122
|
+
"name": "label",
|
|
2123
|
+
"description": "Either a `label` or an `aria-label` must be provided.",
|
|
2124
|
+
"type": "string"
|
|
2125
|
+
},
|
|
2126
|
+
{
|
|
2127
|
+
"name": "helpText",
|
|
2128
|
+
"description": "Use in combination with `invalid` to show as a validation error message,\nor on its own to show a help text.",
|
|
2129
|
+
"type": "string"
|
|
2130
|
+
},
|
|
2131
|
+
{
|
|
2132
|
+
"name": "maxRows",
|
|
2133
|
+
"description": "Sets the maximum number of text rows before the content starts scrolling.",
|
|
2134
|
+
"type": "number"
|
|
2135
|
+
},
|
|
2136
|
+
{
|
|
2137
|
+
"name": "minRows",
|
|
2138
|
+
"description": "Sets the minimum number of text rows the textarea should display",
|
|
2139
|
+
"type": "number"
|
|
2140
|
+
},
|
|
2141
|
+
{
|
|
2142
|
+
"name": "name",
|
|
2143
|
+
"description": "The [name](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#name) of the input field when submitting the form",
|
|
2144
|
+
"type": "string"
|
|
2145
|
+
},
|
|
2146
|
+
{
|
|
2147
|
+
"name": "placeholder",
|
|
2148
|
+
"description": "Set a text that is shown in the textarea when it doesn't have a value.\n\nPlaceholder text should not be used as a substitute for labeling the element with a visible label.",
|
|
2149
|
+
"type": "string"
|
|
2150
|
+
},
|
|
1993
2151
|
{ "name": "readOnly", "type": "boolean" },
|
|
1994
|
-
{
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
{
|
|
2152
|
+
{
|
|
2153
|
+
"name": "readonly",
|
|
2154
|
+
"description": "Whether the input can be selected but not changed by the user",
|
|
2155
|
+
"type": "boolean"
|
|
2156
|
+
},
|
|
2157
|
+
{
|
|
2158
|
+
"name": "required",
|
|
2159
|
+
"description": "Whether user input is required on the input before form submission",
|
|
2160
|
+
"type": "boolean"
|
|
2161
|
+
},
|
|
2162
|
+
{
|
|
2163
|
+
"name": "value",
|
|
2164
|
+
"description": "Lets you set the current value",
|
|
2165
|
+
"type": "string"
|
|
2166
|
+
},
|
|
2167
|
+
{
|
|
2168
|
+
"name": "optional",
|
|
2169
|
+
"description": "Show an icon behind the label indicating the field is optional",
|
|
2170
|
+
"type": "boolean"
|
|
2171
|
+
},
|
|
2000
2172
|
{
|
|
2001
2173
|
"name": "validationMessage",
|
|
2002
2174
|
"description": "Returns the validation message if the textarea is invalid, otherwise an empty string",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@warp-ds/elements",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.9.
|
|
4
|
+
"version": "2.9.1-next.1",
|
|
5
5
|
"packageManager": "pnpm@10.33.0",
|
|
6
6
|
"description": "Custom elements for Warp",
|
|
7
7
|
"exports": {
|
|
@@ -344,7 +344,6 @@
|
|
|
344
344
|
"@warp-ds/css": "2.1.1",
|
|
345
345
|
"@warp-ds/uno": "2.1.0",
|
|
346
346
|
"@wc-toolkit/cem-validator": "^1.0.3",
|
|
347
|
-
"@wc-toolkit/jsdoc-tags": "^1.2.0",
|
|
348
347
|
"@wc-toolkit/jsx-types": "^1.4.2",
|
|
349
348
|
"@wc-toolkit/storybook-helpers": "^10.0.0",
|
|
350
349
|
"@wc-toolkit/type-parser": "^1.2.0",
|