lazer-slider 1.1.4 → 1.1.6
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 +132 -153
- package/dist/index.cjs +2 -1197
- package/dist/index.d.cts +1 -28
- package/dist/index.d.ts +1 -28
- package/dist/index.js +2 -1161
- package/dist/lazer-slider.css +5 -9
- package/package.json +5 -4
- package/dist/index.cjs.map +0 -1
- package/dist/index.js.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -169,31 +169,4 @@ interface GenerateThumbsParams {
|
|
|
169
169
|
}
|
|
170
170
|
declare const generateThumbs: ({ thumbsContainer, slides, thumbClass, thumbActiveClass, feedId, thumbImageSelector, thumbSize }: GenerateThumbsParams) => HTMLElement[];
|
|
171
171
|
|
|
172
|
-
|
|
173
|
-
* Injects critical CSS styles into the document head.
|
|
174
|
-
* Safe to call multiple times - will only inject once.
|
|
175
|
-
*
|
|
176
|
-
* @example
|
|
177
|
-
* ```typescript
|
|
178
|
-
* import { injectStyles } from 'lazer-slider'
|
|
179
|
-
*
|
|
180
|
-
* // Manually inject styles (useful for SSR or early loading)
|
|
181
|
-
* injectStyles()
|
|
182
|
-
* ```
|
|
183
|
-
*/
|
|
184
|
-
declare const injectStyles: () => void;
|
|
185
|
-
/**
|
|
186
|
-
* Removes the injected styles from the document.
|
|
187
|
-
* Useful for cleanup in testing or when completely removing the slider.
|
|
188
|
-
*
|
|
189
|
-
* @example
|
|
190
|
-
* ```typescript
|
|
191
|
-
* import { removeStyles } from 'lazer-slider'
|
|
192
|
-
*
|
|
193
|
-
* // Remove injected styles
|
|
194
|
-
* removeStyles()
|
|
195
|
-
* ```
|
|
196
|
-
*/
|
|
197
|
-
declare const removeStyles: () => void;
|
|
198
|
-
|
|
199
|
-
export { type DragState, type EasingFunction, type MarqueeDirection, type ScrollParams, type ScrollStartParams, type Slider, type SliderDirection, type SliderNavDirection, type SliderSettings, type SliderState, createSlider, easeInOutCubic, easeOutCubic, easeOutExpo, easeOutQuad, generateBullets, generateThumbs, injectStyles, linear, removeStyles };
|
|
172
|
+
export { type DragState, type EasingFunction, type MarqueeDirection, type ScrollParams, type ScrollStartParams, type Slider, type SliderDirection, type SliderNavDirection, type SliderSettings, type SliderState, createSlider, easeInOutCubic, easeOutCubic, easeOutExpo, easeOutQuad, generateBullets, generateThumbs, linear };
|
package/dist/index.d.ts
CHANGED
|
@@ -169,31 +169,4 @@ interface GenerateThumbsParams {
|
|
|
169
169
|
}
|
|
170
170
|
declare const generateThumbs: ({ thumbsContainer, slides, thumbClass, thumbActiveClass, feedId, thumbImageSelector, thumbSize }: GenerateThumbsParams) => HTMLElement[];
|
|
171
171
|
|
|
172
|
-
|
|
173
|
-
* Injects critical CSS styles into the document head.
|
|
174
|
-
* Safe to call multiple times - will only inject once.
|
|
175
|
-
*
|
|
176
|
-
* @example
|
|
177
|
-
* ```typescript
|
|
178
|
-
* import { injectStyles } from 'lazer-slider'
|
|
179
|
-
*
|
|
180
|
-
* // Manually inject styles (useful for SSR or early loading)
|
|
181
|
-
* injectStyles()
|
|
182
|
-
* ```
|
|
183
|
-
*/
|
|
184
|
-
declare const injectStyles: () => void;
|
|
185
|
-
/**
|
|
186
|
-
* Removes the injected styles from the document.
|
|
187
|
-
* Useful for cleanup in testing or when completely removing the slider.
|
|
188
|
-
*
|
|
189
|
-
* @example
|
|
190
|
-
* ```typescript
|
|
191
|
-
* import { removeStyles } from 'lazer-slider'
|
|
192
|
-
*
|
|
193
|
-
* // Remove injected styles
|
|
194
|
-
* removeStyles()
|
|
195
|
-
* ```
|
|
196
|
-
*/
|
|
197
|
-
declare const removeStyles: () => void;
|
|
198
|
-
|
|
199
|
-
export { type DragState, type EasingFunction, type MarqueeDirection, type ScrollParams, type ScrollStartParams, type Slider, type SliderDirection, type SliderNavDirection, type SliderSettings, type SliderState, createSlider, easeInOutCubic, easeOutCubic, easeOutExpo, easeOutQuad, generateBullets, generateThumbs, injectStyles, linear, removeStyles };
|
|
172
|
+
export { type DragState, type EasingFunction, type MarqueeDirection, type ScrollParams, type ScrollStartParams, type Slider, type SliderDirection, type SliderNavDirection, type SliderSettings, type SliderState, createSlider, easeInOutCubic, easeOutCubic, easeOutExpo, easeOutQuad, generateBullets, generateThumbs, linear };
|