File tree Expand file tree Collapse file tree 3 files changed +25
-1
lines changed Expand file tree Collapse file tree 3 files changed +25
-1
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
88
99### Added
1010
11+ - Export helpers
1112- Add Accordion element
1213
1314## [ 0.4.0] - 2024-05-25
Original file line number Diff line number Diff line change 5757 "./hooks/use_outside_click" : {
5858 "types" : " ./dist/hooks/use_outside_click.d.ts" ,
5959 "default" : " ./dist/hooks/use_outside_click.js"
60+ },
61+ "./helpers/array" : {
62+ "types" : " ./dist/helpers/array.d.ts" ,
63+ "default" : " ./dist/helpers/array.js"
64+ },
65+ "./helpers/focus_trap" : {
66+ "types" : " ./dist/helpers/focus_trap.d.ts" ,
67+ "default" : " ./dist/helpers/focus_trap.js"
68+ },
69+ "./helpers/focus" : {
70+ "types" : " ./dist/helpers/focus.d.ts" ,
71+ "default" : " ./dist/helpers/focus.js"
72+ },
73+ "./helpers/scroll_lock" : {
74+ "types" : " ./dist/helpers/scroll_lock.d.ts" ,
75+ "default" : " ./dist/helpers/scroll_lock.js"
6076 }
6177 },
6278 "files" : [
Original file line number Diff line number Diff line change @@ -7,7 +7,14 @@ import { fileURLToPath } from 'node:url';
77import copy from 'rollup-plugin-copy' ;
88
99const production = process . env . NODE_ENV === 'production' ;
10- const exportPaths = [ './src/elements/**/!(*.test).ts' , './src/hooks/**/!(*.test).ts' ] ;
10+ const exportPaths = [
11+ './src/elements/**/!(*.test).ts' ,
12+ './src/hooks/**/!(*.test).ts' ,
13+ './src/helpers/array.ts' ,
14+ './src/helpers/focus_trap.ts' ,
15+ './src/helpers/focus.ts' ,
16+ './src/helpers/scroll_lock.ts' ,
17+ ] ;
1118
1219function pathEntries ( ) {
1320 // Need to export these in package.json
You can’t perform that action at this time.
0 commit comments