@session-services/web-elements 0.1.27 → 0.1.28

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/README.md CHANGED
@@ -44,6 +44,20 @@ defineCustomElements();
44
44
  ></session-services-ticketing>
45
45
  ```
46
46
 
47
+ When you need the custom element constructors directly, import the short
48
+ component names:
49
+
50
+ ```typescript
51
+ import { FormattedText } from '@session-services/web-elements/formatted-text';
52
+ import { Ticketing } from '@session-services/web-elements/ticketing';
53
+ ```
54
+
55
+ The component barrel also exports both:
56
+
57
+ ```typescript
58
+ import { FormattedText, Ticketing } from '@session-services/web-elements/components';
59
+ ```
60
+
47
61
  ## Props
48
62
 
49
63
  | Prop | Type | Required | Default | Description |