File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
packages/svelte/src/transition Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' svelte ' : patch
3+ ---
4+
5+ chore: remove internal functions from ` svelte/transition ` exports
Original file line number Diff line number Diff line change @@ -12,14 +12,14 @@ function cubic_out(t) {
1212 * @param {number } t
1313 * @returns {number }
1414 */
15- export function cubic_in_out ( t ) {
15+ function cubic_in_out ( t ) {
1616 return t < 0.5 ? 4.0 * t * t * t : 0.5 * Math . pow ( 2.0 * t - 2.0 , 3.0 ) + 1.0 ;
1717}
1818
1919/** @param {number | string } value
2020 * @returns {[number, string] }
2121 */
22- export function split_css_unit ( value ) {
22+ function split_css_unit ( value ) {
2323 const split = typeof value === 'string' && value . match ( / ^ \s * ( - ? [ \d . ] + ) ( [ ^ \s ] * ) \s * $ / ) ;
2424 return split ? [ parseFloat ( split [ 1 ] ) , split [ 2 ] || 'px' ] : [ /** @type {number } */ ( value ) , 'px' ] ;
2525}
You can’t perform that action at this time.
0 commit comments