@universityofmaryland/web-feeds-library 1.0.0 → 1.0.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.
Files changed (78) hide show
  1. package/README.md +217 -0
  2. package/dist/_types.d.ts +6 -0
  3. package/dist/_types.d.ts.map +1 -0
  4. package/dist/composite/academic/__tests__/index.test.d.ts +2 -0
  5. package/dist/composite/academic/__tests__/index.test.d.ts.map +1 -0
  6. package/dist/composite/academic/__tests__/slider.test.d.ts +2 -0
  7. package/dist/composite/academic/__tests__/slider.test.d.ts.map +1 -0
  8. package/dist/composite/academic/_types.d.ts +6 -0
  9. package/dist/composite/academic/_types.d.ts.map +1 -0
  10. package/dist/composite/academic/index.d.ts.map +1 -1
  11. package/dist/composite/academic/slider.d.ts +3 -11
  12. package/dist/composite/academic/slider.d.ts.map +1 -1
  13. package/dist/composite/events/__tests__/fetch.test.d.ts +2 -0
  14. package/dist/composite/events/__tests__/fetch.test.d.ts.map +1 -0
  15. package/dist/composite/events/__tests__/grid.test.d.ts +2 -0
  16. package/dist/composite/events/__tests__/grid.test.d.ts.map +1 -0
  17. package/dist/composite/events/__tests__/list.test.d.ts +2 -0
  18. package/dist/composite/events/__tests__/list.test.d.ts.map +1 -0
  19. package/dist/composite/events/__tests__/slider.test.d.ts +2 -0
  20. package/dist/composite/events/__tests__/slider.test.d.ts.map +1 -0
  21. package/dist/composite/events/_types.d.ts +5 -0
  22. package/dist/composite/events/_types.d.ts.map +1 -1
  23. package/dist/composite/events/common/display.d.ts.map +1 -1
  24. package/dist/composite/events/grid.d.ts +3 -8
  25. package/dist/composite/events/grid.d.ts.map +1 -1
  26. package/dist/composite/events/index.d.ts.map +1 -1
  27. package/dist/composite/events/list.d.ts +3 -8
  28. package/dist/composite/events/list.d.ts.map +1 -1
  29. package/dist/composite/events/slider.d.ts +3 -11
  30. package/dist/composite/events/slider.d.ts.map +1 -1
  31. package/dist/composite/news/__tests__/featured.test.d.ts +2 -0
  32. package/dist/composite/news/__tests__/featured.test.d.ts.map +1 -0
  33. package/dist/composite/news/__tests__/grid.test.d.ts +2 -0
  34. package/dist/composite/news/__tests__/grid.test.d.ts.map +1 -0
  35. package/dist/composite/news/__tests__/list.test.d.ts +2 -0
  36. package/dist/composite/news/__tests__/list.test.d.ts.map +1 -0
  37. package/dist/composite/news/common/display.d.ts.map +1 -1
  38. package/dist/composite/news/featured.d.ts +3 -9
  39. package/dist/composite/news/featured.d.ts.map +1 -1
  40. package/dist/composite/news/grid.d.ts +3 -8
  41. package/dist/composite/news/grid.d.ts.map +1 -1
  42. package/dist/composite/news/index.d.ts.map +1 -1
  43. package/dist/composite/news/list.d.ts +3 -8
  44. package/dist/composite/news/list.d.ts.map +1 -1
  45. package/dist/elements/__tests__/asset.test.d.ts +2 -0
  46. package/dist/elements/__tests__/asset.test.d.ts.map +1 -0
  47. package/dist/elements/__tests__/layout.test.d.ts +2 -0
  48. package/dist/elements/__tests__/layout.test.d.ts.map +1 -0
  49. package/dist/elements/__tests__/text.test.d.ts +2 -0
  50. package/dist/elements/__tests__/text.test.d.ts.map +1 -0
  51. package/dist/elements/asset.d.ts +1 -1
  52. package/dist/elements/asset.d.ts.map +1 -1
  53. package/dist/elements/layout.d.ts +2 -6
  54. package/dist/elements/layout.d.ts.map +1 -1
  55. package/dist/elements/text.d.ts.map +1 -1
  56. package/dist/index.d.ts.map +1 -1
  57. package/dist/index.js +1 -1
  58. package/dist/index.js.LICENSE.txt +13 -381
  59. package/dist/macros/__tests__/aria-live.test.d.ts +2 -0
  60. package/dist/macros/__tests__/aria-live.test.d.ts.map +1 -0
  61. package/dist/macros/__tests__/lazy-load.test.d.ts +2 -0
  62. package/dist/macros/__tests__/lazy-load.test.d.ts.map +1 -0
  63. package/dist/macros/__tests__/loader.test.d.ts +2 -0
  64. package/dist/macros/__tests__/loader.test.d.ts.map +1 -0
  65. package/dist/macros/__tests__/no-results.test.d.ts +2 -0
  66. package/dist/macros/__tests__/no-results.test.d.ts.map +1 -0
  67. package/dist/macros/__tests__/slider.test.d.ts +2 -0
  68. package/dist/macros/__tests__/slider.test.d.ts.map +1 -0
  69. package/dist/macros/slider.d.ts.map +1 -1
  70. package/dist/utilities/events/__tests__/events.test.d.ts +2 -0
  71. package/dist/utilities/events/__tests__/events.test.d.ts.map +1 -0
  72. package/dist/utilities/events/index.d.ts +13 -0
  73. package/dist/utilities/events/index.d.ts.map +1 -0
  74. package/dist/utilities/index.d.ts +1 -0
  75. package/dist/utilities/index.d.ts.map +1 -1
  76. package/dist/utilities/network/__tests__/fetch.test.d.ts +2 -0
  77. package/dist/utilities/network/__tests__/fetch.test.d.ts.map +1 -0
  78. package/package.json +13 -3
package/README.md ADDED
@@ -0,0 +1,217 @@
1
+ # University of Maryland Feeds Library
2
+
3
+ [![Feeds Version](https://img.shields.io/badge/Feeds-v1.0.1-blue)](https://www.npmjs.com/package/@universityofmaryland/web-feeds-library)
4
+
5
+ A collection of dynamic feed components for displaying University of Maryland content feeds including news articles, events, and academic information. This library simplifies the integration of live, updating content from UMD sources while maintaining brand consistency and performance optimization.
6
+
7
+ ## Overview
8
+
9
+ The UMD Feeds Library provides ready-to-use feed components that can be integrated into any web project. These components are designed to follow UMD brand guidelines and accessibility standards while providing a seamless way to display dynamic content. The library handles all aspects of content fetching, caching, error handling, and rendering, allowing developers to focus on integration rather than implementation details.
10
+
11
+ ## Installation
12
+
13
+ ```bash
14
+ npm install @universityofmaryland/web-feeds-library
15
+ # or
16
+ yarn add @universityofmaryland/web-feeds-library
17
+ ```
18
+
19
+ ## Features
20
+
21
+ - **Responsive Layouts**: Grid, list, and featured layouts that work across all screen sizes
22
+ - **Multiple Feed Types**: Support for news, events, and academic content
23
+ - **Customizable**: Theme options, column configuration, and layout variations
24
+ - **Accessibility**: ARIA-compliant with screen reader support
25
+ - **Lazy Loading**: Optional lazy loading for improved performance
26
+
27
+ ## Usage
28
+
29
+ ### Basic Example
30
+
31
+ ```typescript
32
+ import * as Feeds from '@universityofmaryland/web-feeds-library';
33
+
34
+ // Create a news grid component
35
+ const newsGrid = Feeds.news.grid({
36
+ token: 'your-api-token',
37
+ numberOfColumnsToShow: 3,
38
+ isThemeDark: false,
39
+ });
40
+
41
+ // Add to DOM
42
+ document.querySelector('.news-container').appendChild(newsGrid.element);
43
+ ```
44
+
45
+ ## Available Feed Components
46
+
47
+ ### News Feeds
48
+
49
+ ```typescript
50
+ // Grid layout for news
51
+ const newsGrid = Feeds.news.grid({ token: 'your-api-token' });
52
+
53
+ // List layout for news
54
+ const newsList = Feeds.news.list({ token: 'your-api-token' });
55
+
56
+ // Featured news layout with prominent article
57
+ const newsFeatured = Feeds.news.featured({
58
+ token: 'your-api-token',
59
+ isLazyLoad: true,
60
+ });
61
+ ```
62
+
63
+ ### Event Feeds
64
+
65
+ ```typescript
66
+ // Grid layout for events
67
+ const eventsGrid = Feeds.events.grid({ token: 'your-api-token' });
68
+
69
+ // List layout for events
70
+ const eventsList = Feeds.events.list({ token: 'your-api-token' });
71
+
72
+ // Slider for events
73
+ const eventsSlider = Feeds.events.slider({ token: 'your-api-token' });
74
+ ```
75
+
76
+ ### Academic Feeds
77
+
78
+ ```typescript
79
+ // Slider for academic events
80
+ const academicSlider = Feeds.academic.slider({ token: 'your-api-token' });
81
+ ```
82
+
83
+ ## Component Configuration
84
+
85
+ All feed components accept these common properties:
86
+
87
+ - `token` (required): API token for authentication
88
+ - `isThemeDark`: Enable dark theme styling (default: false)
89
+ - `isTransparent`: Use transparent background for cards (default: false)
90
+
91
+ Grid-specific options:
92
+
93
+ - `numberOfColumnsToShow`: Number of columns to display (default: 3)
94
+
95
+ Featured layout options:
96
+
97
+ - `isLazyLoad`: Enable lazy loading of additional content
98
+ - `isLayoutReversed`: Reverse the layout order
99
+ - `overwriteStickyPosition`: Custom sticky position value
100
+
101
+ ### Custom Filtering and Sorting
102
+
103
+ You can customize how feed items are filtered and sorted:
104
+
105
+ ```typescript
106
+ import * as Feeds from '@universityofmaryland/web-feeds-library';
107
+
108
+ const newsGrid = Feeds.news.grid({
109
+ token: 'your-api-token',
110
+ filters: {
111
+ categories: ['research', 'campus-life'],
112
+ tags: ['featured'],
113
+ dateRange: {
114
+ start: '2023-01-01',
115
+ end: '2023-12-31',
116
+ },
117
+ },
118
+ sortBy: 'date', // 'date', 'title', 'popularity'
119
+ sortDirection: 'desc', // 'asc' or 'desc'
120
+ });
121
+ ```
122
+
123
+ ### Event Handling
124
+
125
+ All feed components emit events that you can listen for. You can use the standard event listeners or our utility functions for better TypeScript support:
126
+
127
+ ```typescript
128
+ import * as Feeds from '@universityofmaryland/web-feeds-library';
129
+ import { events } from '@universityofmaryland/web-feeds-library/utilities';
130
+
131
+ const eventsFeed = Feeds.events.list({ token: 'your-api-token' });
132
+ const container = document.querySelector('.events-container');
133
+ container.appendChild(eventsFeed.element);
134
+
135
+ // Method 1: Standard event listener approach
136
+ eventsFeed.element.addEventListener(events.eventNames.FEED_LOADED, (event) => {
137
+ console.log('Feed loaded with', event.detail.items.length, 'items');
138
+ });
139
+
140
+ eventsFeed.element.addEventListener(events.eventNames.FEED_ERROR, (event) => {
141
+ console.error('Feed error:', event.detail.error);
142
+ });
143
+
144
+ // Method 2: Using the utility helper (provides proper type information)
145
+ events.listen(eventsFeed.element, events.eventNames.FEED_LOADED, (detail) => {
146
+ console.log('Feed loaded with', detail.items.length, 'items');
147
+ });
148
+
149
+ // With cleanup function for easy removal
150
+ const removeListener = events.listen(
151
+ eventsFeed.element,
152
+ events.eventNames.FEED_ERROR,
153
+ (detail) => {
154
+ console.error('Feed error:', detail.error);
155
+ },
156
+ );
157
+
158
+ // Later you should remove the listener if needed
159
+ // removeListener();
160
+ ```
161
+
162
+ ## Performance Considerations
163
+
164
+ The Feeds library is optimized for performance:
165
+
166
+ - Content is lazy-loaded when elements enter the viewport
167
+ - Network requests are cached and debounced
168
+ - Images are optimized and responsive
169
+ - Content is efficiently rendered with minimal DOM operations
170
+
171
+ ## Accessibility
172
+
173
+ All feed components are built with accessibility in mind:
174
+
175
+ - WCAG 2.1 AA compliant
176
+ - Proper semantic markup with ARIA attributes
177
+ - Keyboard navigable
178
+ - Screen reader announcements for dynamic content updates
179
+ - Support for reduced motion preferences
180
+
181
+ ## Testing
182
+
183
+ The library uses Jest for unit testing. To run tests:
184
+
185
+ ```bash
186
+ # Run all tests
187
+ npm run test
188
+
189
+ # Run tests in watch mode during development
190
+ npm run test:watch
191
+
192
+ # Run tests with coverage report
193
+ npm run test:coverage
194
+ ```
195
+
196
+ ## Release Process
197
+
198
+ The release process requires all tests to pass before publishing:
199
+
200
+ ```bash
201
+ npm run release
202
+ ```
203
+
204
+ This will:
205
+
206
+ 1. Run all tests (and abort if any tests fail)
207
+ 2. Clean the distribution directory
208
+ 3. Build the project
209
+ 4. Publish the package
210
+
211
+ ## Contributing
212
+
213
+ For contribution guidelines, please refer to the main repository README.
214
+
215
+ ## License
216
+
217
+ This project is licensed under the University of Maryland license.
@@ -0,0 +1,6 @@
1
+ export interface ElementModel {
2
+ element: HTMLElement;
3
+ styles: string;
4
+ events?: Record<string, Function>;
5
+ }
6
+ //# sourceMappingURL=_types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_types.d.ts","sourceRoot":"","sources":["../source/_types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,WAAW,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;CACnC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=index.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.test.d.ts","sourceRoot":"","sources":["../../../../source/composite/academic/__tests__/index.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=slider.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"slider.test.d.ts","sourceRoot":"","sources":["../../../../source/composite/academic/__tests__/slider.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ export interface AcademicSliderProps {
2
+ token: string;
3
+ categories?: string | null;
4
+ isThemeDark?: boolean;
5
+ }
6
+ //# sourceMappingURL=_types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_types.d.ts","sourceRoot":"","sources":["../../../source/composite/academic/_types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/composite/academic/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/composite/academic/index.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC"}
@@ -1,13 +1,5 @@
1
- declare const _default: (props: {
2
- token: string;
3
- categories?: string | null;
4
- isThemeDark?: boolean;
5
- }) => {
6
- events: {
7
- callback: (shadow: ShadowRoot) => void;
8
- };
9
- element: HTMLDivElement;
10
- styles: string;
11
- };
1
+ import { type AcademicSliderProps } from './_types';
2
+ import { type ElementModel } from '../../_types';
3
+ declare const _default: (props: AcademicSliderProps) => ElementModel;
12
4
  export default _default;
13
5
  //# sourceMappingURL=slider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"slider.d.ts","sourceRoot":"","sources":["../../../source/composite/academic/slider.ts"],"names":[],"mappings":"gCA2BuB;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;;;;;;;AAJD,wBASK"}
1
+ {"version":3,"file":"slider.d.ts","sourceRoot":"","sources":["../../../source/composite/academic/slider.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,cAAc,CAAC;gCA2B1B,mBAAmB,KAAG,YAAY;AAAzD,wBAKK"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=fetch.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fetch.test.d.ts","sourceRoot":"","sources":["../../../../source/composite/events/__tests__/fetch.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=grid.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"grid.test.d.ts","sourceRoot":"","sources":["../../../../source/composite/events/__tests__/grid.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=list.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list.test.d.ts","sourceRoot":"","sources":["../../../../source/composite/events/__tests__/list.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=slider.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"slider.test.d.ts","sourceRoot":"","sources":["../../../../source/composite/events/__tests__/slider.test.ts"],"names":[],"mappings":""}
@@ -79,5 +79,10 @@ export interface BlockProps extends BaseProps {
79
79
  }
80
80
  export interface ListProps extends BaseProps {
81
81
  }
82
+ export interface SliderProps {
83
+ token: string;
84
+ categories?: string | null;
85
+ isThemeDark?: boolean;
86
+ }
82
87
  export {};
83
88
  //# sourceMappingURL=_types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"_types.d.ts","sourceRoot":"","sources":["../../../source/composite/events/_types.ts"],"names":[],"mappings":"AAAA,UAAU,SAAS;IACjB,GAAG,EA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AE,OAAO,CAAC;CACvB"}
@@ -1 +1 @@
1
- {"version":3,"file":"display.d.ts","sourceRoot":"","sources":["../../../../source/composite/events/common/display.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,cAAc,EACd,wBAAwB,EACxB,YAAY,EACb,MAAM,WAAW,CAAC;AAEnB,UAAU,gBAAiB,SAAQ,YAAY;IAC7C,OAAO,EAAE;QAAE,OAAO,EAAE,WAAW,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;CACrD;AAED,eAAO,MAAM,wBAAwB,kCAAkC,CAAC;AAExE,eAAO,MAAM,eAAe,4BAGzB;IACD,UAAU,EAAE,UAAU,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;CAChB,kBAKA,CAAC;AAEF,eAAO,MAAM,SAAS,oGASnB,cAAc,SA4BhB,CAAC;AAEF,eAAO,MAAM,UAAU,UAAiB,gBAAgB,KAAG,OAAO,CAAC,IAAI,CA+BtE,CAAC;AAEF,eAAO,MAAM,WAAW,UAAW,wBAAwB,SAiC1D,CAAC"}
1
+ {"version":3,"file":"display.d.ts","sourceRoot":"","sources":["../../../../source/composite/events/common/display.ts"],"names":[],"mappings":"AAKA,OAAO,EACL,cAAc,EACd,wBAAwB,EACxB,YAAY,EACb,MAAM,WAAW,CAAC;AAEnB,UAAU,gBAAiB,SAAQ,YAAY;IAC7C,OAAO,EAAE;QAAE,OAAO,EAAE,WAAW,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;CACrD;AAED,eAAO,MAAM,wBAAwB,kCAAkC,CAAC;AAExE,eAAO,MAAM,eAAe,4BAGzB;IACD,UAAU,EAAE,UAAU,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;CAChB,kBAKA,CAAC;AAEF,eAAO,MAAM,SAAS,oGASnB,cAAc,SAiChB,CAAC;AAEF,eAAO,MAAM,UAAU,UAAiB,gBAAgB,KAAG,OAAO,CAAC,IAAI,CA+BtE,CAAC;AAEF,eAAO,MAAM,WAAW,UAAW,wBAAwB,SAuC1D,CAAC"}
@@ -1,10 +1,5 @@
1
- import { BlockProps } from './_types';
2
- declare const _default: (props: BlockProps) => {
3
- element: HTMLDivElement;
4
- styles: string;
5
- events: {
6
- callback: (shadow: ShadowRoot) => void;
7
- };
8
- };
1
+ import { type BlockProps } from './_types';
2
+ import { type ElementModel } from '../../_types';
3
+ declare const _default: (props: BlockProps) => ElementModel;
9
4
  export default _default;
10
5
  //# sourceMappingURL=grid.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"grid.d.ts","sourceRoot":"","sources":["../../../source/composite/events/grid.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,UAAU,EAAe,MAAM,UAAU,CAAC;gCAE5B,UAAU;;;;2BA+BH,UAAU;;;AA/BxC,wBAmFO"}
1
+ {"version":3,"file":"grid.d.ts","sourceRoot":"","sources":["../../../source/composite/events/grid.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,UAAU,EAAoB,MAAM,UAAU,CAAC;AAC7D,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,cAAc,CAAC;gCAE1B,UAAU,KAAG,YAAY;AAAhD,wBAmFO"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/composite/events/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAC;AACzC,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAC;AACzC,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/composite/events/index.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAC;AAkBzC,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAC;AAiBzC,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC"}
@@ -1,10 +1,5 @@
1
- import { ListProps } from './_types';
2
- declare const _default: (props: ListProps) => {
3
- element: HTMLDivElement;
4
- styles: string;
5
- events: {
6
- callback: (shadow: ShadowRoot) => void;
7
- };
8
- };
1
+ import { type ListProps } from './_types';
2
+ import { type ElementModel } from '../../_types';
3
+ declare const _default: (props: ListProps) => ElementModel;
9
4
  export default _default;
10
5
  //# sourceMappingURL=list.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../source/composite/events/list.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,SAAS,EAAe,MAAM,UAAU,CAAC;gCAE3B,SAAS;;;;2BA+BF,UAAU;;;AA/BxC,wBAmFO"}
1
+ {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../source/composite/events/list.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,SAAS,EAAoB,MAAM,UAAU,CAAC;AAC5D,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,cAAc,CAAC;gCAE1B,SAAS,KAAG,YAAY;AAA/C,wBAmFO"}
@@ -1,13 +1,5 @@
1
- declare const _default: (props: {
2
- token: string;
3
- categories?: string | null;
4
- isThemeDark?: boolean;
5
- }) => {
6
- events: {
7
- callback: (shadow: ShadowRoot) => void;
8
- };
9
- element: HTMLDivElement;
10
- styles: string;
11
- };
1
+ import { type SliderProps } from './_types';
2
+ import { type ElementModel } from '../../_types';
3
+ declare const _default: (props: SliderProps) => ElementModel;
12
4
  export default _default;
13
5
  //# sourceMappingURL=slider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"slider.d.ts","sourceRoot":"","sources":["../../../source/composite/events/slider.ts"],"names":[],"mappings":"gCA4BuB;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;;;;;;;AAJD,wBASK"}
1
+ {"version":3,"file":"slider.d.ts","sourceRoot":"","sources":["../../../source/composite/events/slider.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AAC5C,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,cAAc,CAAC;gCA4B1B,WAAW,KAAG,YAAY;AAAjD,wBAKK"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=featured.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"featured.test.d.ts","sourceRoot":"","sources":["../../../../source/composite/news/__tests__/featured.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=grid.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"grid.test.d.ts","sourceRoot":"","sources":["../../../../source/composite/news/__tests__/grid.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=list.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list.test.d.ts","sourceRoot":"","sources":["../../../../source/composite/news/__tests__/list.test.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"display.d.ts","sourceRoot":"","sources":["../../../../source/composite/news/common/display.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,cAAc,EACd,wBAAwB,EACxB,YAAY,EACb,MAAM,WAAW,CAAC;AAEnB,UAAU,gBAAiB,SAAQ,YAAY;IAC7C,OAAO,EAAE;QAAE,OAAO,EAAE,WAAW,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;CACrD;AAED,eAAO,MAAM,wBAAwB,kCAAkC,CAAC;AAExE,eAAO,MAAM,eAAe,4BAGzB;IACD,UAAU,EAAE,UAAU,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;CAChB,kBAKA,CAAC;AAEF,eAAO,MAAM,SAAS,oGASnB,cAAc,SA6BhB,CAAC;AAEF,eAAO,MAAM,UAAU,UAAiB,gBAAgB,KAAG,OAAO,CAAC,IAAI,CA+BtE,CAAC;AAEF,eAAO,MAAM,WAAW,UAAW,wBAAwB,SAoC1D,CAAC"}
1
+ {"version":3,"file":"display.d.ts","sourceRoot":"","sources":["../../../../source/composite/news/common/display.ts"],"names":[],"mappings":"AAKA,OAAO,EACL,cAAc,EACd,wBAAwB,EACxB,YAAY,EACb,MAAM,WAAW,CAAC;AAEnB,UAAU,gBAAiB,SAAQ,YAAY;IAC7C,OAAO,EAAE;QAAE,OAAO,EAAE,WAAW,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;CACrD;AAED,eAAO,MAAM,wBAAwB,kCAAkC,CAAC;AAExE,eAAO,MAAM,eAAe,4BAGzB;IACD,UAAU,EAAE,UAAU,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;CAChB,kBAKA,CAAC;AAEF,eAAO,MAAM,SAAS,oGASnB,cAAc,SAkChB,CAAC;AAEF,eAAO,MAAM,UAAU,UAAiB,gBAAgB,KAAG,OAAO,CAAC,IAAI,CA+BtE,CAAC;AAEF,eAAO,MAAM,WAAW,UAAW,wBAAwB,SAuC1D,CAAC"}
@@ -1,11 +1,5 @@
1
- import { FeaturedProps } from './_types';
2
- declare const _default: (props: FeaturedProps) => {
3
- element: HTMLDivElement;
4
- styles: string;
5
- events: {
6
- callback: (shadow: ShadowRoot) => void;
7
- setPosition: (position: number) => void;
8
- };
9
- };
1
+ import { type FeaturedProps } from './_types';
2
+ import { type ElementModel } from '../../_types';
3
+ declare const _default: (props: FeaturedProps) => ElementModel;
10
4
  export default _default;
11
5
  //# sourceMappingURL=featured.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"featured.d.ts","sourceRoot":"","sources":["../../../source/composite/news/featured.ts"],"names":[],"mappings":"AAOA,OAAO,EAA4B,aAAa,EAAe,MAAM,UAAU,CAAC;gCAEzD,aAAa;;;;2BAsCN,UAAU;gCAGL,MAAM;;;AAzCzC,wBAiMO"}
1
+ {"version":3,"file":"featured.d.ts","sourceRoot":"","sources":["../../../source/composite/news/featured.ts"],"names":[],"mappings":"AAOA,OAAO,EAEL,KAAK,aAAa,EAEnB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,cAAc,CAAC;gCAE1B,aAAa,KAAG,YAAY;AAAnD,wBAiMO"}
@@ -1,10 +1,5 @@
1
- import { BlockProps } from './_types';
2
- declare const _default: (props: BlockProps) => {
3
- element: HTMLDivElement;
4
- styles: string;
5
- events: {
6
- callback: (shadow: ShadowRoot) => void;
7
- };
8
- };
1
+ import { type BlockProps } from './_types';
2
+ import { type ElementModel } from '../../_types';
3
+ declare const _default: (props: BlockProps) => ElementModel;
9
4
  export default _default;
10
5
  //# sourceMappingURL=grid.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"grid.d.ts","sourceRoot":"","sources":["../../../source/composite/news/grid.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,UAAU,EAAe,MAAM,UAAU,CAAC;gCAE5B,UAAU;;;;2BAgCH,UAAU;;;AAhCxC,wBAiGO"}
1
+ {"version":3,"file":"grid.d.ts","sourceRoot":"","sources":["../../../source/composite/news/grid.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,UAAU,EAAoB,MAAM,UAAU,CAAC;AAC7D,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,cAAc,CAAC;gCAE1B,UAAU,KAAG,YAAY;AAAhD,wBAiGO"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/composite/news/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAC;AACzC,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../source/composite/news/index.ts"],"names":[],"mappings":"AAqBA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AAqBjD,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAC;AAoBzC,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAC"}
@@ -1,10 +1,5 @@
1
- import { ListProps } from './_types';
2
- declare const _default: (props: ListProps) => {
3
- element: HTMLDivElement;
4
- styles: string;
5
- events: {
6
- callback: (shadow: ShadowRoot) => void;
7
- };
8
- };
1
+ import { type ListProps } from './_types';
2
+ import { type ElementModel } from '../../_types';
3
+ declare const _default: (props: ListProps) => ElementModel;
9
4
  export default _default;
10
5
  //# sourceMappingURL=list.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../source/composite/news/list.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,SAAS,EAAe,MAAM,UAAU,CAAC;gCAE3B,SAAS;;;;2BA+BF,UAAU;;;AA/BxC,wBA8EO"}
1
+ {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../source/composite/news/list.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,SAAS,EAAoB,MAAM,UAAU,CAAC;AAC5D,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,cAAc,CAAC;gCAE1B,SAAS,KAAG,YAAY;AAA/C,wBA8EO"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=asset.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"asset.test.d.ts","sourceRoot":"","sources":["../../../source/elements/__tests__/asset.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=layout.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"layout.test.d.ts","sourceRoot":"","sources":["../../../source/elements/__tests__/layout.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=text.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"text.test.d.ts","sourceRoot":"","sources":["../../../source/elements/__tests__/text.test.ts"],"names":[],"mappings":""}
@@ -5,6 +5,6 @@ type ImageType = {
5
5
  export declare const standard: ({ images, url, }: {
6
6
  images: ImageType;
7
7
  url?: string;
8
- }) => HTMLAnchorElement | HTMLImageElement;
8
+ }) => HTMLImageElement | HTMLAnchorElement;
9
9
  export {};
10
10
  //# sourceMappingURL=asset.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"asset.d.ts","sourceRoot":"","sources":["../../source/elements/asset.ts"],"names":[],"mappings":"AAAA,KAAK,SAAS,GAAG;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;CACjB,EAAE,CAAC;AAEJ,eAAO,MAAM,QAAQ,qBAGlB;IACD,MAAM,EAAE,SAAS,CAAC;IAClB,GAAG,CAAC,EAAE,MAAM,CAAC;CACd,yCAqBA,CAAC"}
1
+ {"version":3,"file":"asset.d.ts","sourceRoot":"","sources":["../../source/elements/asset.ts"],"names":[],"mappings":"AAAA,KAAK,SAAS,GAAG;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;CACjB,EAAE,CAAC;AAEJ,eAAO,MAAM,QAAQ,qBAGlB;IACD,MAAM,EAAE,SAAS,CAAC;IAClB,GAAG,CAAC,EAAE,MAAM,CAAC;CACd,KAAG,gBAAgB,GAAG,iBAqBtB,CAAC"}
@@ -1,21 +1,18 @@
1
1
  export declare const stacked: () => {
2
2
  element: HTMLElement;
3
- className: string;
4
3
  styles: string;
5
4
  };
6
- export declare const grid: ({ count }: {
5
+ export declare const grid: ({ count, }: {
7
6
  count?: number;
8
7
  isTypeGap?: boolean;
9
8
  }) => {
10
9
  element: HTMLElement;
11
- className: string;
12
10
  styles: string;
13
11
  };
14
- export declare const gridGap: ({ count }: {
12
+ export declare const gridGap: ({ count, }: {
15
13
  count?: number;
16
14
  }) => {
17
15
  element: HTMLElement;
18
- className: string;
19
16
  styles: string;
20
17
  };
21
18
  export declare const gridOffsetGap: ({ count, isLayoutReversed, overwriteStickyPosition, }: {
@@ -24,7 +21,6 @@ export declare const gridOffsetGap: ({ count, isLayoutReversed, overwriteStickyP
24
21
  overwriteStickyPosition?: number;
25
22
  }) => {
26
23
  element: HTMLElement;
27
- className: string;
28
24
  styles: string;
29
25
  };
30
26
  //# sourceMappingURL=layout.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../source/elements/layout.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO;;;;CAehB,CAAC;AAEL,eAAO,MAAM,IAAI,cAAmB;IAAE,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,EAAE,OAAO,CAAA;CAAE;;;;CAiBvE,CAAC;AAEL,eAAO,MAAM,OAAO,cAAmB;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE;;;;CAerD,CAAC;AAEL,eAAO,MAAM,aAAa,0DAIvB;IACD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,uBAAuB,CAAC,EAAE,MAAM,CAAC;CAClC;;;;CAgCG,CAAC"}
1
+ {"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../source/elements/layout.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,QAAO;IAAE,OAAO,EAAE,WAAW,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAe7D,CAAC;AAEL,eAAO,MAAM,IAAI,eAEd;IACD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,KAAG;IAAE,OAAO,EAAE,WAAW,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAiBtC,CAAC;AAEL,eAAO,MAAM,OAAO,eAEjB;IACD,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,KAAG;IAAE,OAAO,EAAE,WAAW,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAetC,CAAC;AAEL,eAAO,MAAM,aAAa,0DAIvB;IACD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,uBAAuB,CAAC,EAAE,MAAM,CAAC;CAClC,KAAG;IAAE,OAAO,EAAE,WAAW,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAgCtC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../source/elements/text.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,aAAc;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,0BAUjD,CAAC;AAEF,eAAO,MAAM,QAAQ,kBAAmB;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,gCAepE,CAAC;AAEF,eAAO,MAAM,IAAI,6BAGd;IACD,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,MAAM,CAAC;CACvB,2BASA,CAAC"}
1
+ {"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../source/elements/text.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,aAAc;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,KAAG,cAAc,GAAG,IAUrE,CAAC;AAEF,eAAO,MAAM,QAAQ,kBAAmB;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,KAAG,oBAAoB,GAAG,IAe9F,CAAC;AAEF,eAAO,MAAM,IAAI,6BAGd;IACD,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,MAAM,CAAC;CACvB,KAAG,eAAe,GAAG,IASrB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../source/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,sBAAsB,CAAC;AACjD,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAC7C,OAAO,KAAK,IAAI,MAAM,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../source/index.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,QAAQ,MAAM,sBAAsB,CAAC;AAWjD,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAW7C,OAAO,KAAK,IAAI,MAAM,kBAAkB,CAAC"}