@viasat/beam-web-components 2.50.0 → 2.52.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viasat/beam-web-components",
3
- "version": "2.50.0",
3
+ "version": "2.52.0",
4
4
  "description": "Framework-agnostic web components for the Beam Design System built with Lit, compatible with Angular, Vue, Svelte, and vanilla JavaScript",
5
5
  "license": "MIT",
6
6
  "author": "Viasat",
@@ -64,11 +64,11 @@
64
64
  "access": "public"
65
65
  },
66
66
  "dependencies": {
67
- "@viasat/beam-fonts": "2.50.0",
68
- "@viasat/beam-shared": "2.50.0",
69
- "@viasat/beam-styles": "2.50.0",
70
- "@viasat/beam-tokens": "2.50.0",
71
- "@viasat/beam-icons": "2.50.0",
67
+ "@viasat/beam-fonts": "2.52.0",
68
+ "@viasat/beam-shared": "2.52.0",
69
+ "@viasat/beam-styles": "2.52.0",
70
+ "@viasat/beam-tokens": "2.52.0",
71
+ "@viasat/beam-icons": "2.52.0",
72
72
  "clsx": "^1.2.1",
73
73
  "lit": "^3.1.0",
74
74
  "@lit/context": "^1.1.1",
@@ -62,12 +62,17 @@
62
62
  ]
63
63
  },
64
64
  {
65
- "name": "bm-badge",
66
- "description": "`bm-badge`\n\n### Attributes:\n- **appearance** - Specify the appearance of the Badge\n- **theme** - Theme of the Badge\n- **size** - Specify the size of the Badge\n- **emphasis** - Specify the emphasis of the Badge\n- **hideIcon** - Hides Badge icon\n---\n\n\n### **Slots:**\n - **default** - Provide text for the Badge\n- **icon** - Specify a different icon for the Badge",
65
+ "name": "bm-badge-dot",
66
+ "description": "`bm-badge-dot`\n\n### Attributes:\n- **theme** - Specify the theme of the BadgeDot. By default it inherits the theme from the parent\n- **appearance** - Specify the appearance of the BadgeDot\n- **emphasis** - Specify the emphasis of the BadgeDot\n- **overrideDotColor** - Overrides default dot color\n---\n\n\n### **Slots:**\n - **default** - Provide text for the BadgeDot",
67
67
  "attributes": [
68
+ {
69
+ "name": "theme",
70
+ "description": "Specify the theme of the BadgeDot. By default it inherits the theme from the parent",
71
+ "values": [{ "name": "light" }, { "name": "dark" }]
72
+ },
68
73
  {
69
74
  "name": "appearance",
70
- "description": "Specify the appearance of the Badge",
75
+ "description": "Specify the appearance of the BadgeDot",
71
76
  "values": [
72
77
  { "name": "infoPrimary" },
73
78
  { "name": "infoSecondary" },
@@ -76,46 +81,31 @@
76
81
  { "name": "negative" }
77
82
  ]
78
83
  },
79
- {
80
- "name": "theme",
81
- "description": "Theme of the Badge",
82
- "values": [{ "name": "light" }, { "name": "dark" }]
83
- },
84
- {
85
- "name": "size",
86
- "description": "Specify the size of the Badge",
87
- "values": [{ "name": "sm" }, { "name": "md" }]
88
- },
89
84
  {
90
85
  "name": "emphasis",
91
- "description": "Specify the emphasis of the Badge",
92
- "values": [
93
- { "name": "strong" },
94
- { "name": "medium" },
95
- { "name": "subtle" }
96
- ]
86
+ "description": "Specify the emphasis of the BadgeDot",
87
+ "values": [{ "name": "strong" }, { "name": "subtle" }]
97
88
  },
98
- { "name": "hideIcon", "description": "Hides Badge icon", "values": [] }
89
+ {
90
+ "name": "overrideDotColor",
91
+ "description": "Overrides default dot color",
92
+ "values": []
93
+ }
99
94
  ],
100
95
  "references": [
101
96
  {
102
97
  "name": "Storybook",
103
- "url": "https://web-components.beam.viasat.com/?path=/docs/components-badge"
98
+ "url": "https://web-components.beam.viasat.com/?path=/docs/components-badgedot"
104
99
  }
105
100
  ]
106
101
  },
107
102
  {
108
- "name": "bm-badge-dot",
109
- "description": "`bm-badge-dot`\n\n### Attributes:\n- **theme** - Specify the theme of the BadgeDot. By default it inherits the theme from the parent\n- **appearance** - Specify the appearance of the BadgeDot\n- **emphasis** - Specify the emphasis of the BadgeDot\n- **overrideDotColor** - Overrides default dot color\n---\n\n\n### **Slots:**\n - **default** - Provide text for the BadgeDot",
103
+ "name": "bm-badge",
104
+ "description": "`bm-badge`\n\n### Attributes:\n- **appearance** - Specify the appearance of the Badge\n- **theme** - Theme of the Badge\n- **size** - Specify the size of the Badge\n- **emphasis** - Specify the emphasis of the Badge\n- **hideIcon** - Hides Badge icon\n---\n\n\n### **Slots:**\n - **default** - Provide text for the Badge\n- **icon** - Specify a different icon for the Badge",
110
105
  "attributes": [
111
- {
112
- "name": "theme",
113
- "description": "Specify the theme of the BadgeDot. By default it inherits the theme from the parent",
114
- "values": [{ "name": "light" }, { "name": "dark" }]
115
- },
116
106
  {
117
107
  "name": "appearance",
118
- "description": "Specify the appearance of the BadgeDot",
108
+ "description": "Specify the appearance of the Badge",
119
109
  "values": [
120
110
  { "name": "infoPrimary" },
121
111
  { "name": "infoSecondary" },
@@ -125,20 +115,30 @@
125
115
  ]
126
116
  },
127
117
  {
128
- "name": "emphasis",
129
- "description": "Specify the emphasis of the BadgeDot",
130
- "values": [{ "name": "strong" }, { "name": "subtle" }]
118
+ "name": "theme",
119
+ "description": "Theme of the Badge",
120
+ "values": [{ "name": "light" }, { "name": "dark" }]
131
121
  },
132
122
  {
133
- "name": "overrideDotColor",
134
- "description": "Overrides default dot color",
135
- "values": []
136
- }
123
+ "name": "size",
124
+ "description": "Specify the size of the Badge",
125
+ "values": [{ "name": "sm" }, { "name": "md" }]
126
+ },
127
+ {
128
+ "name": "emphasis",
129
+ "description": "Specify the emphasis of the Badge",
130
+ "values": [
131
+ { "name": "strong" },
132
+ { "name": "medium" },
133
+ { "name": "subtle" }
134
+ ]
135
+ },
136
+ { "name": "hideIcon", "description": "Hides Badge icon", "values": [] }
137
137
  ],
138
138
  "references": [
139
139
  {
140
140
  "name": "Storybook",
141
- "url": "https://web-components.beam.viasat.com/?path=/docs/components-badgedot"
141
+ "url": "https://web-components.beam.viasat.com/?path=/docs/components-badge"
142
142
  }
143
143
  ]
144
144
  },
@@ -545,79 +545,6 @@
545
545
  }
546
546
  ]
547
547
  },
548
- {
549
- "name": "bm-alert",
550
- "description": "`bm-alert`\n\n### Attributes:\n- **heading** - Specify the heading text for Alert\n- **body** - Specify the body text for Alert\n- **size** - Specify the size of the Alert\n- **fullWidth** - Specify if the Alert has no border radius\n- **theme** - Specify the theme of the Alert. By default it inherits the theme from the parent\n- **appearance** - Specify the appearance of the Alert\n- **hidden** - Specify if the Alert is hidden\n- **hideIcon** - Specify if the icon displays on the Alert\n- **dismissible** - Specify if the Alert can be dismissed\n- **disableAutoFocus** - Prevent autofocus on show\n- **disableCloseOnEscape** - Prevent Escape from closing\n---\n\n\n### **Events:**\n - **bm-dismiss** - Dispatched when the Alert has been dismissed\n\n### **Slots:**\n - **icon** - Specify a different icon for the Alert\n- **heading** - Specify the heading text for Alert or pass the `heading` attribute to set the heading\n- **body** - Specify the body text for Alert or pass the `body` attribute to set the body\n- **actions** - Specify if actions display on the Alert",
551
- "attributes": [
552
- {
553
- "name": "heading",
554
- "description": "Specify the heading text for Alert",
555
- "values": []
556
- },
557
- {
558
- "name": "body",
559
- "description": "Specify the body text for Alert",
560
- "values": []
561
- },
562
- {
563
- "name": "size",
564
- "description": "Specify the size of the Alert",
565
- "values": [{ "name": "sm" }, { "name": "md" }]
566
- },
567
- {
568
- "name": "fullWidth",
569
- "description": "Specify if the Alert has no border radius",
570
- "values": []
571
- },
572
- {
573
- "name": "theme",
574
- "description": "Specify the theme of the Alert. By default it inherits the theme from the parent",
575
- "values": [{ "name": "light" }, { "name": "dark" }]
576
- },
577
- {
578
- "name": "appearance",
579
- "description": "Specify the appearance of the Alert",
580
- "values": [
581
- { "name": "infoPrimary" },
582
- { "name": "infoSecondary" },
583
- { "name": "positive" },
584
- { "name": "warning" },
585
- { "name": "negative" }
586
- ]
587
- },
588
- {
589
- "name": "hidden",
590
- "description": "Specify if the Alert is hidden",
591
- "values": []
592
- },
593
- {
594
- "name": "hideIcon",
595
- "description": "Specify if the icon displays on the Alert",
596
- "values": []
597
- },
598
- {
599
- "name": "dismissible",
600
- "description": "Specify if the Alert can be dismissed",
601
- "values": []
602
- },
603
- {
604
- "name": "disableAutoFocus",
605
- "description": "Prevent autofocus on show",
606
- "values": []
607
- },
608
- {
609
- "name": "disableCloseOnEscape",
610
- "description": "Prevent Escape from closing",
611
- "values": []
612
- }
613
- ],
614
- "references": [
615
- {
616
- "name": "Storybook",
617
- "url": "https://web-components.beam.viasat.com/?path=/docs/components-alert"
618
- }
619
- ]
620
- },
621
548
  {
622
549
  "name": "bm-breadcrumb",
623
550
  "description": "`bm-breadcrumb`\n\n### Attributes:\n- **wrap** - Specify if items wrap or collapse to an ellipsis\n- **itemsBeforeCollapse** - Specify how many items show before ellipsis\n- **itemsAfterCollapse** - Specify how many items show after ellipsis\n- **theme** - Specify the theme of the Breadcrumbs. By default, it inherits the theme from the parent\n---\n\n\n### **Slots:**\n - **default** - Pass items to the Breadcrumb",
@@ -777,6 +704,79 @@
777
704
  }
778
705
  ]
779
706
  },
707
+ {
708
+ "name": "bm-alert",
709
+ "description": "`bm-alert`\n\n### Attributes:\n- **heading** - Specify the heading text for Alert\n- **body** - Specify the body text for Alert\n- **size** - Specify the size of the Alert\n- **fullWidth** - Specify if the Alert has no border radius\n- **theme** - Specify the theme of the Alert. By default it inherits the theme from the parent\n- **appearance** - Specify the appearance of the Alert\n- **hidden** - Specify if the Alert is hidden\n- **hideIcon** - Specify if the icon displays on the Alert\n- **dismissible** - Specify if the Alert can be dismissed\n- **disableAutoFocus** - Prevent autofocus on show\n- **disableCloseOnEscape** - Prevent Escape from closing\n---\n\n\n### **Events:**\n - **bm-dismiss** - Dispatched when the Alert has been dismissed\n\n### **Slots:**\n - **icon** - Specify a different icon for the Alert\n- **heading** - Specify the heading text for Alert or pass the `heading` attribute to set the heading\n- **body** - Specify the body text for Alert or pass the `body` attribute to set the body\n- **actions** - Specify if actions display on the Alert",
710
+ "attributes": [
711
+ {
712
+ "name": "heading",
713
+ "description": "Specify the heading text for Alert",
714
+ "values": []
715
+ },
716
+ {
717
+ "name": "body",
718
+ "description": "Specify the body text for Alert",
719
+ "values": []
720
+ },
721
+ {
722
+ "name": "size",
723
+ "description": "Specify the size of the Alert",
724
+ "values": [{ "name": "sm" }, { "name": "md" }]
725
+ },
726
+ {
727
+ "name": "fullWidth",
728
+ "description": "Specify if the Alert has no border radius",
729
+ "values": []
730
+ },
731
+ {
732
+ "name": "theme",
733
+ "description": "Specify the theme of the Alert. By default it inherits the theme from the parent",
734
+ "values": [{ "name": "light" }, { "name": "dark" }]
735
+ },
736
+ {
737
+ "name": "appearance",
738
+ "description": "Specify the appearance of the Alert",
739
+ "values": [
740
+ { "name": "infoPrimary" },
741
+ { "name": "infoSecondary" },
742
+ { "name": "positive" },
743
+ { "name": "warning" },
744
+ { "name": "negative" }
745
+ ]
746
+ },
747
+ {
748
+ "name": "hidden",
749
+ "description": "Specify if the Alert is hidden",
750
+ "values": []
751
+ },
752
+ {
753
+ "name": "hideIcon",
754
+ "description": "Specify if the icon displays on the Alert",
755
+ "values": []
756
+ },
757
+ {
758
+ "name": "dismissible",
759
+ "description": "Specify if the Alert can be dismissed",
760
+ "values": []
761
+ },
762
+ {
763
+ "name": "disableAutoFocus",
764
+ "description": "Prevent autofocus on show",
765
+ "values": []
766
+ },
767
+ {
768
+ "name": "disableCloseOnEscape",
769
+ "description": "Prevent Escape from closing",
770
+ "values": []
771
+ }
772
+ ],
773
+ "references": [
774
+ {
775
+ "name": "Storybook",
776
+ "url": "https://web-components.beam.viasat.com/?path=/docs/components-alert"
777
+ }
778
+ ]
779
+ },
780
780
  {
781
781
  "name": "bm-button",
782
782
  "description": "`bm-button`\n\n### Attributes:\n- **appearance** - Specify the appearance of a Button\n- **kind** - Specify the kind of Button\n- **size** - Specify the size of a Button\n- **disabled** - Specify if the Button is disabled\n- **fluid** - Specify if Button is fluid\n- **width** - Specify the width of a Button\n- **height** - Specify the height of a Button\n- **theme** - Specify the theme of the Button\n- **iconOnly** - Specify if the icon displays without text\n- **type** \n---\n\n\n### **Slots:**\n - **default** - Provide content for the Button\n- **iconBefore** - Specify if the Button displays icon before the text\n- **iconAfter** - Specify if the Button displays icon after the text",
@@ -2216,51 +2216,6 @@
2216
2216
  }
2217
2217
  ]
2218
2218
  },
2219
- {
2220
- "name": "bm-form",
2221
- "description": "`bm-form`\n---\n\n\n### **Events:**\n - **submit** - Validates the inputs and submits the form\n\n### **Slots:**\n - **slot** - Add controls to the Form",
2222
- "attributes": [
2223
- {
2224
- "name": "validationMode",
2225
- "description": "Specify if validation runs on change or when loosing focus",
2226
- "values": [
2227
- { "name": "onChange" },
2228
- { "name": "onBlur" },
2229
- { "name": "onSubmit" }
2230
- ]
2231
- },
2232
- {
2233
- "name": "initialValues",
2234
- "description": "Specify initial values on Form controls based on their names",
2235
- "values": [{ "name": "Record<string" }, { "name": "FormValue>" }]
2236
- },
2237
- {
2238
- "name": "required",
2239
- "description": "Specify if input is a required",
2240
- "values": []
2241
- },
2242
- {
2243
- "name": "disabled",
2244
- "description": "Specify if input is a disabled",
2245
- "values": []
2246
- },
2247
- {
2248
- "name": "readOnly",
2249
- "description": "Specify if input is a read only",
2250
- "values": []
2251
- },
2252
- { "name": "action", "values": [] },
2253
- { "name": "method", "values": [] },
2254
- { "name": "target", "values": [] },
2255
- { "name": "enctype", "values": [] }
2256
- ],
2257
- "references": [
2258
- {
2259
- "name": "Storybook",
2260
- "url": "https://web-components.beam.viasat.com/?path=/docs/forms-form"
2261
- }
2262
- ]
2263
- },
2264
2219
  {
2265
2220
  "name": "bm-native-select",
2266
2221
  "description": "`bm-native-select`\n---\n\n\n### **Slots:**\n - **slot** - Specify Options for NativeSelect\n- **label** - Specify Label for NativeSelect\n- **helper-text** - Specify HelperText for NativeSelect",
@@ -2383,6 +2338,51 @@
2383
2338
  }
2384
2339
  ]
2385
2340
  },
2341
+ {
2342
+ "name": "bm-form",
2343
+ "description": "`bm-form`\n---\n\n\n### **Events:**\n - **submit** - Validates the inputs and submits the form\n\n### **Slots:**\n - **slot** - Add controls to the Form",
2344
+ "attributes": [
2345
+ {
2346
+ "name": "validationMode",
2347
+ "description": "Specify if validation runs on change or when loosing focus",
2348
+ "values": [
2349
+ { "name": "onChange" },
2350
+ { "name": "onBlur" },
2351
+ { "name": "onSubmit" }
2352
+ ]
2353
+ },
2354
+ {
2355
+ "name": "initialValues",
2356
+ "description": "Specify initial values on Form controls based on their names",
2357
+ "values": [{ "name": "Record<string" }, { "name": "FormValue>" }]
2358
+ },
2359
+ {
2360
+ "name": "required",
2361
+ "description": "Specify if input is a required",
2362
+ "values": []
2363
+ },
2364
+ {
2365
+ "name": "disabled",
2366
+ "description": "Specify if input is a disabled",
2367
+ "values": []
2368
+ },
2369
+ {
2370
+ "name": "readOnly",
2371
+ "description": "Specify if input is a read only",
2372
+ "values": []
2373
+ },
2374
+ { "name": "action", "values": [] },
2375
+ { "name": "method", "values": [] },
2376
+ { "name": "target", "values": [] },
2377
+ { "name": "enctype", "values": [] }
2378
+ ],
2379
+ "references": [
2380
+ {
2381
+ "name": "Storybook",
2382
+ "url": "https://web-components.beam.viasat.com/?path=/docs/forms-form"
2383
+ }
2384
+ ]
2385
+ },
2386
2386
  {
2387
2387
  "name": "bm-switch",
2388
2388
  "description": "`bm-switch`\n\n### Attributes:\n- **onText** - Specify a side label for the “on” position. If onText is not specified, side label defaults to offText value.\n- **offText** - Specify a side label for the “off” position. If offText is not specified, side label defaults to onText value.\n- **textPosition** - Specify the position of the side label\n- **readOnly** - Specify if Switch displays in a read-only state\n- **disabled** - Specify if Switch displays in a disabled state\n- **checked** \n- **value** - The value attribute for the input element\n---\n\n\n### **Slots:**\n - **onText** - Specify a side label for the “on” position. If onText is not specified, side label defaults to offText value.\n- **offText** - Specify a side label for the “off” position. If offText is not specified, side label defaults to onText value.",