@raystack/apsara 0.46.0 → 0.47.0
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/dist/_virtual/index.cjs +2 -2
- package/dist/_virtual/index.js +2 -2
- package/dist/_virtual/index2.cjs +2 -2
- package/dist/_virtual/index2.js +2 -2
- package/dist/{v1/node_modules/.pnpm/@radix-ui_react-arrow@1.1.6_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0 → node_modules/.pnpm/@radix-ui_react-arrow@1.1.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0}/node_modules/@radix-ui/react-arrow/dist/index.cjs +1 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-arrow@1.1.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-arrow/dist/index.cjs.map +1 -0
- package/dist/{v1/node_modules/.pnpm/@radix-ui_react-arrow@1.1.6_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0 → node_modules/.pnpm/@radix-ui_react-arrow@1.1.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0}/node_modules/@radix-ui/react-arrow/dist/index.js +1 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-arrow@1.1.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-arrow/dist/index.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-avatar@1.1.10_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-avatar/dist/index.cjs +146 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-avatar@1.1.10_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-avatar/dist/index.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-avatar@1.1.10_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-avatar/dist/index.js +119 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-avatar@1.1.10_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-avatar/dist/index.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-checkbox@1.3.2_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-checkbox/dist/index.cjs +302 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-checkbox@1.3.2_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-checkbox/dist/index.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-checkbox@1.3.2_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-checkbox/dist/index.js +271 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-checkbox@1.3.2_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-checkbox/dist/index.js.map +1 -0
- package/dist/{v1/node_modules/.pnpm/@radix-ui_react-collapsible@1.1.2_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18._hjslo7xm5vmo3b4sx344jkbtcq → node_modules/.pnpm/@radix-ui_react-collapsible@1.1.11_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18_qdnr5tshbuses2czt45n43so7q}/node_modules/@radix-ui/react-collapsible/dist/index.cjs +12 -11
- package/dist/node_modules/.pnpm/@radix-ui_react-collapsible@1.1.11_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18_qdnr5tshbuses2czt45n43so7q/node_modules/@radix-ui/react-collapsible/dist/index.cjs.map +1 -0
- package/dist/{v1/node_modules/.pnpm/@radix-ui_react-collapsible@1.1.2_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18._hjslo7xm5vmo3b4sx344jkbtcq → node_modules/.pnpm/@radix-ui_react-collapsible@1.1.11_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18_qdnr5tshbuses2czt45n43so7q}/node_modules/@radix-ui/react-collapsible/dist/index.js +12 -11
- package/dist/node_modules/.pnpm/@radix-ui_react-collapsible@1.1.11_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18_qdnr5tshbuses2czt45n43so7q/node_modules/@radix-ui/react-collapsible/dist/index.js.map +1 -0
- package/dist/{v1/node_modules/.pnpm/@radix-ui_react-collection@1.1.6_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3_q6wngd5sud2jo5l3sykxhor6am → node_modules/.pnpm/@radix-ui_react-collection@1.1.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3_nwj7zizkpbafahafjkthv37flu}/node_modules/@radix-ui/react-collection/dist/index.cjs +1 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-collection@1.1.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3_nwj7zizkpbafahafjkthv37flu/node_modules/@radix-ui/react-collection/dist/index.cjs.map +1 -0
- package/dist/{v1/node_modules/.pnpm/@radix-ui_react-collection@1.1.6_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3_q6wngd5sud2jo5l3sykxhor6am → node_modules/.pnpm/@radix-ui_react-collection@1.1.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3_nwj7zizkpbafahafjkthv37flu}/node_modules/@radix-ui/react-collection/dist/index.js +1 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-collection@1.1.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3_nwj7zizkpbafahafjkthv37flu/node_modules/@radix-ui/react-collection/dist/index.js.map +1 -0
- package/dist/{v1/node_modules/.pnpm/@radix-ui_react-dialog@1.1.13_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0 → node_modules/.pnpm/@radix-ui_react-dialog@1.1.14_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0}/node_modules/@radix-ui/react-dialog/dist/index.cjs +5 -5
- package/dist/node_modules/.pnpm/@radix-ui_react-dialog@1.1.14_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-dialog/dist/index.cjs.map +1 -0
- package/dist/{v1/node_modules/.pnpm/@radix-ui_react-dialog@1.1.13_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0 → node_modules/.pnpm/@radix-ui_react-dialog@1.1.14_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0}/node_modules/@radix-ui/react-dialog/dist/index.js +5 -5
- package/dist/node_modules/.pnpm/@radix-ui_react-dialog@1.1.14_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-dialog/dist/index.js.map +1 -0
- package/dist/{v1/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.9_@types_react-dom@18.0.11_@types_react@18.2.12_react-d_ilsndsoquvfqqu77cpabepuiey → node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.10_@types_react-dom@18.0.11_@types_react@18.2.12_react-_wsbb4kvfytxyd3vtmz5wcd5qbq}/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs +1 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.10_@types_react-dom@18.0.11_@types_react@18.2.12_react-_wsbb4kvfytxyd3vtmz5wcd5qbq/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs.map +1 -0
- package/dist/{v1/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.9_@types_react-dom@18.0.11_@types_react@18.2.12_react-d_ilsndsoquvfqqu77cpabepuiey → node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.10_@types_react-dom@18.0.11_@types_react@18.2.12_react-_wsbb4kvfytxyd3vtmz5wcd5qbq}/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +1 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.10_@types_react-dom@18.0.11_@types_react@18.2.12_react-_wsbb4kvfytxyd3vtmz5wcd5qbq/node_modules/@radix-ui/react-dismissable-layer/dist/index.js.map +1 -0
- package/dist/{v1/node_modules/.pnpm/@radix-ui_react-focus-scope@1.1.6_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18._c7oi24chybuz7qblxpf5qpk3ou → node_modules/.pnpm/@radix-ui_react-focus-scope@1.1.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18._4nxwjymnvqkxvbthkfdbwxtqxm}/node_modules/@radix-ui/react-focus-scope/dist/index.cjs +1 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-focus-scope@1.1.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18._4nxwjymnvqkxvbthkfdbwxtqxm/node_modules/@radix-ui/react-focus-scope/dist/index.cjs.map +1 -0
- package/dist/{v1/node_modules/.pnpm/@radix-ui_react-focus-scope@1.1.6_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18._c7oi24chybuz7qblxpf5qpk3ou → node_modules/.pnpm/@radix-ui_react-focus-scope@1.1.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18._4nxwjymnvqkxvbthkfdbwxtqxm}/node_modules/@radix-ui/react-focus-scope/dist/index.js +1 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-focus-scope@1.1.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18._4nxwjymnvqkxvbthkfdbwxtqxm/node_modules/@radix-ui/react-focus-scope/dist/index.js.map +1 -0
- package/dist/{v1/node_modules/.pnpm/@radix-ui_react-popover@1.1.13_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0 → node_modules/.pnpm/@radix-ui_react-popover@1.1.14_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0}/node_modules/@radix-ui/react-popover/dist/index.cjs +6 -6
- package/dist/node_modules/.pnpm/@radix-ui_react-popover@1.1.14_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-popover/dist/index.cjs.map +1 -0
- package/dist/{v1/node_modules/.pnpm/@radix-ui_react-popover@1.1.13_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0 → node_modules/.pnpm/@radix-ui_react-popover@1.1.14_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0}/node_modules/@radix-ui/react-popover/dist/index.js +6 -6
- package/dist/node_modules/.pnpm/@radix-ui_react-popover@1.1.14_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-popover/dist/index.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-popper@1.1.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-popper/dist/index.cjs +0 -50
- package/dist/node_modules/.pnpm/@radix-ui_react-popper@1.1.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-popper/dist/index.cjs.map +1 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-popper@1.1.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-popper/dist/index.js +1 -49
- package/dist/node_modules/.pnpm/@radix-ui_react-popper@1.1.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-popper/dist/index.js.map +1 -1
- package/dist/{v1/node_modules/.pnpm/@radix-ui_react-popper@1.2.6_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0 → node_modules/.pnpm/@radix-ui_react-popper@1.2.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0}/node_modules/@radix-ui/react-popper/dist/index.cjs +2 -2
- package/dist/node_modules/.pnpm/@radix-ui_react-popper@1.2.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-popper/dist/index.cjs.map +1 -0
- package/dist/{v1/node_modules/.pnpm/@radix-ui_react-popper@1.2.6_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0 → node_modules/.pnpm/@radix-ui_react-popper@1.2.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0}/node_modules/@radix-ui/react-popper/dist/index.js +2 -2
- package/dist/node_modules/.pnpm/@radix-ui_react-popper@1.2.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-popper/dist/index.js.map +1 -0
- package/dist/{v1/node_modules/.pnpm/@radix-ui_react-portal@1.1.8_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0 → node_modules/.pnpm/@radix-ui_react-portal@1.1.9_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0}/node_modules/@radix-ui/react-portal/dist/index.cjs +1 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.1.9_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-portal/dist/index.cjs.map +1 -0
- package/dist/{v1/node_modules/.pnpm/@radix-ui_react-portal@1.1.8_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0 → node_modules/.pnpm/@radix-ui_react-portal@1.1.9_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0}/node_modules/@radix-ui/react-portal/dist/index.js +1 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.1.9_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-portal/dist/index.js.map +1 -0
- package/dist/{v1/node_modules/.pnpm/@radix-ui_react-primitive@2.1.2_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3._jbktko7p4hqgjs4w6jmwpneecm → node_modules/.pnpm/@radix-ui_react-primitive@2.1.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3._wizft3keermhycaiqreghf4gsi}/node_modules/@radix-ui/react-primitive/dist/index.cjs +1 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.1.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3._wizft3keermhycaiqreghf4gsi/node_modules/@radix-ui/react-primitive/dist/index.cjs.map +1 -0
- package/dist/{v1/node_modules/.pnpm/@radix-ui_react-primitive@2.1.2_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3._jbktko7p4hqgjs4w6jmwpneecm → node_modules/.pnpm/@radix-ui_react-primitive@2.1.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3._wizft3keermhycaiqreghf4gsi}/node_modules/@radix-ui/react-primitive/dist/index.js +1 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.1.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3._wizft3keermhycaiqreghf4gsi/node_modules/@radix-ui/react-primitive/dist/index.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-radio-group@1.3.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18._ah6s3fggnc5n77htogbremlp7m/node_modules/@radix-ui/react-radio-group/dist/index.cjs +310 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-radio-group@1.3.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18._ah6s3fggnc5n77htogbremlp7m/node_modules/@radix-ui/react-radio-group/dist/index.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-radio-group@1.3.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18._ah6s3fggnc5n77htogbremlp7m/node_modules/@radix-ui/react-radio-group/dist/index.js +283 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-radio-group@1.3.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18._ah6s3fggnc5n77htogbremlp7m/node_modules/@radix-ui/react-radio-group/dist/index.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-roving-focus@1.1.10_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@1_knwljqvfp3orwhfznz5u76rvbm/node_modules/@radix-ui/react-roving-focus/dist/index.cjs +249 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-roving-focus@1.1.10_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@1_knwljqvfp3orwhfznz5u76rvbm/node_modules/@radix-ui/react-roving-focus/dist/index.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-roving-focus@1.1.10_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@1_knwljqvfp3orwhfznz5u76rvbm/node_modules/@radix-ui/react-roving-focus/dist/index.js +224 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-roving-focus@1.1.10_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@1_knwljqvfp3orwhfznz5u76rvbm/node_modules/@radix-ui/react-roving-focus/dist/index.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-select@2.2.4_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-select/dist/index.cjs +0 -2
- package/dist/node_modules/.pnpm/@radix-ui_react-select@2.2.4_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-select/dist/index.cjs.map +1 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-select@2.2.4_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-select/dist/index.js +1 -2
- package/dist/node_modules/.pnpm/@radix-ui_react-select@2.2.4_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-select/dist/index.js.map +1 -1
- package/dist/{v1/node_modules/.pnpm/@radix-ui_react-select@2.2.4_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0 → node_modules/.pnpm/@radix-ui_react-select@2.2.5_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0}/node_modules/@radix-ui/react-select/dist/index.cjs +8 -8
- package/dist/node_modules/.pnpm/@radix-ui_react-select@2.2.5_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-select/dist/index.cjs.map +1 -0
- package/dist/{v1/node_modules/.pnpm/@radix-ui_react-select@2.2.4_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0 → node_modules/.pnpm/@radix-ui_react-select@2.2.5_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0}/node_modules/@radix-ui/react-select/dist/index.js +8 -8
- package/dist/node_modules/.pnpm/@radix-ui_react-select@2.2.5_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-select/dist/index.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-separator@1.1.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3._ya2pynfmf6g57u7zxnuegxiowa/node_modules/@radix-ui/react-separator/dist/index.cjs +53 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-separator@1.1.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3._ya2pynfmf6g57u7zxnuegxiowa/node_modules/@radix-ui/react-separator/dist/index.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-separator@1.1.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3._ya2pynfmf6g57u7zxnuegxiowa/node_modules/@radix-ui/react-separator/dist/index.js +31 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-separator@1.1.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3._ya2pynfmf6g57u7zxnuegxiowa/node_modules/@radix-ui/react-separator/dist/index.js.map +1 -0
- package/dist/node_modules/.pnpm/{@radix-ui_react-slider@1.2.2_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0 → @radix-ui_react-slider@1.3.5_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0}/node_modules/@radix-ui/react-slider/dist/index.cjs +41 -28
- package/dist/node_modules/.pnpm/@radix-ui_react-slider@1.3.5_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-slider/dist/index.cjs.map +1 -0
- package/dist/{v1/node_modules/.pnpm/@radix-ui_react-slider@1.2.2_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0 → node_modules/.pnpm/@radix-ui_react-slider@1.3.5_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0}/node_modules/@radix-ui/react-slider/dist/index.js +41 -28
- package/dist/node_modules/.pnpm/@radix-ui_react-slider@1.3.5_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-slider/dist/index.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.0.2_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-slot/dist/index.cjs +0 -2
- package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.0.2_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-slot/dist/index.cjs.map +1 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.0.2_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-slot/dist/index.js +1 -2
- package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.0.2_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-slot/dist/index.js.map +1 -1
- package/dist/{v1/node_modules/.pnpm/@radix-ui_react-slot@1.2.2_@types_react@18.2.12_react@18.2.0 → node_modules/.pnpm/@radix-ui_react-slot@1.2.3_@types_react@18.2.12_react@18.2.0}/node_modules/@radix-ui/react-slot/dist/index.cjs +16 -3
- package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.2.3_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-slot/dist/index.cjs.map +1 -0
- package/dist/{v1/node_modules/.pnpm/@radix-ui_react-slot@1.2.2_@types_react@18.2.12_react@18.2.0 → node_modules/.pnpm/@radix-ui_react-slot@1.2.3_@types_react@18.2.12_react@18.2.0}/node_modules/@radix-ui/react-slot/dist/index.js +15 -5
- package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.2.3_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-slot/dist/index.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-switch@1.2.5_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-switch/dist/index.cjs +178 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-switch@1.2.5_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-switch/dist/index.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-switch@1.2.5_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-switch/dist/index.js +153 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-switch@1.2.5_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-switch/dist/index.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-tabs@1.1.12_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-tabs/dist/index.cjs +217 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-tabs@1.1.12_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-tabs/dist/index.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-tabs@1.1.12_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-tabs/dist/index.js +188 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-tabs@1.1.12_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-tabs/dist/index.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-tooltip@1.0.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-tooltip/dist/index.cjs +0 -15
- package/dist/node_modules/.pnpm/@radix-ui_react-tooltip@1.0.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-tooltip/dist/index.cjs.map +1 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-tooltip@1.0.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-tooltip/dist/index.js +2 -15
- package/dist/node_modules/.pnpm/@radix-ui_react-tooltip@1.0.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-tooltip/dist/index.js.map +1 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-tooltip@1.2.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-tooltip/dist/index.cjs +525 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-tooltip@1.2.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-tooltip/dist/index.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-tooltip@1.2.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-tooltip/dist/index.js +492 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-tooltip@1.2.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-tooltip/dist/index.js.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-is-hydrated@0.1.0_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-is-hydrated/dist/index.cjs +19 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-is-hydrated@0.1.0_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-is-hydrated/dist/index.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-is-hydrated@0.1.0_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-is-hydrated/dist/index.js +17 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-is-hydrated@0.1.0_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-is-hydrated/dist/index.js.map +1 -0
- package/dist/{v1/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.2.2_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom_hwzetq3ijqqlv2qaggz5bewn6u → node_modules/.pnpm/@radix-ui_react-visually-hidden@1.2.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom_zu6dcatbmcnothrcwm2kfbeas4}/node_modules/@radix-ui/react-visually-hidden/dist/index.cjs +3 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.2.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom_zu6dcatbmcnothrcwm2kfbeas4/node_modules/@radix-ui/react-visually-hidden/dist/index.cjs.map +1 -0
- package/dist/{v1/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.2.2_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom_hwzetq3ijqqlv2qaggz5bewn6u → node_modules/.pnpm/@radix-ui_react-visually-hidden@1.2.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom_zu6dcatbmcnothrcwm2kfbeas4}/node_modules/@radix-ui/react-visually-hidden/dist/index.js +3 -2
- package/dist/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.2.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom_zu6dcatbmcnothrcwm2kfbeas4/node_modules/@radix-ui/react-visually-hidden/dist/index.js.map +1 -0
- package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.cjs +1 -1
- package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/.pnpm/use-sync-external-store@1.5.0_react@18.2.0/node_modules/use-sync-external-store/shim/index.cjs +2 -1
- package/dist/node_modules/.pnpm/use-sync-external-store@1.5.0_react@18.2.0/node_modules/use-sync-external-store/shim/index.cjs.map +1 -1
- package/dist/node_modules/.pnpm/use-sync-external-store@1.5.0_react@18.2.0/node_modules/use-sync-external-store/shim/index.js +2 -2
- package/dist/style.css +1 -1
- package/dist/v1/components/amount/amount.cjs +101 -0
- package/dist/v1/components/amount/amount.cjs.map +1 -0
- package/dist/v1/components/amount/amount.d.ts +97 -0
- package/dist/v1/components/amount/amount.d.ts.map +1 -0
- package/dist/v1/components/amount/amount.js +99 -0
- package/dist/v1/components/amount/amount.js.map +1 -0
- package/dist/v1/components/amount/index.d.ts +2 -0
- package/dist/v1/components/amount/index.d.ts.map +1 -0
- package/dist/v1/components/avatar/avatar.cjs +1 -1
- package/dist/v1/components/avatar/avatar.cjs.map +1 -1
- package/dist/v1/components/avatar/avatar.d.ts +1 -1
- package/dist/v1/components/avatar/avatar.d.ts.map +1 -1
- package/dist/v1/components/avatar/avatar.js +3 -3
- package/dist/v1/components/avatar/avatar.js.map +1 -1
- package/dist/v1/components/button/button.cjs +99 -25
- package/dist/v1/components/button/button.cjs.map +1 -1
- package/dist/v1/components/button/button.d.ts +2 -2
- package/dist/v1/components/button/button.d.ts.map +1 -1
- package/dist/v1/components/button/button.js +99 -25
- package/dist/v1/components/button/button.js.map +1 -1
- package/dist/v1/components/button/button.module.css.cjs +1 -1
- package/dist/v1/components/button/button.module.css.js +1 -1
- package/dist/v1/components/checkbox/checkbox.cjs +9 -9
- package/dist/v1/components/checkbox/checkbox.cjs.map +1 -1
- package/dist/v1/components/checkbox/checkbox.d.ts +3 -3
- package/dist/v1/components/checkbox/checkbox.d.ts.map +1 -1
- package/dist/v1/components/checkbox/checkbox.js +9 -9
- package/dist/v1/components/checkbox/checkbox.js.map +1 -1
- package/dist/v1/components/command/command.cjs +4 -4
- package/dist/v1/components/command/command.cjs.map +1 -1
- package/dist/v1/components/command/command.js +4 -4
- package/dist/v1/components/command/command.js.map +1 -1
- package/dist/v1/components/data-table/components/content.cjs +20 -19
- package/dist/v1/components/data-table/components/content.cjs.map +1 -1
- package/dist/v1/components/data-table/components/content.d.ts +2 -2
- package/dist/v1/components/data-table/components/content.d.ts.map +1 -1
- package/dist/v1/components/data-table/components/content.js +20 -19
- package/dist/v1/components/data-table/components/content.js.map +1 -1
- package/dist/v1/components/dialog/dialog.cjs +9 -9
- package/dist/v1/components/dialog/dialog.cjs.map +1 -1
- package/dist/v1/components/dialog/dialog.d.ts +6 -6
- package/dist/v1/components/dialog/dialog.d.ts.map +1 -1
- package/dist/v1/components/dialog/dialog.js +9 -9
- package/dist/v1/components/dialog/dialog.js.map +1 -1
- package/dist/v1/components/dropdown-menu/dropdown-menu-content.cjs +2 -2
- package/dist/v1/components/dropdown-menu/dropdown-menu-content.cjs.map +1 -1
- package/dist/v1/components/dropdown-menu/dropdown-menu-content.js +2 -2
- package/dist/v1/components/dropdown-menu/dropdown-menu-content.js.map +1 -1
- package/dist/v1/components/dropdown-menu/dropdown-menu-item.cjs +6 -6
- package/dist/v1/components/dropdown-menu/dropdown-menu-item.cjs.map +1 -1
- package/dist/v1/components/dropdown-menu/dropdown-menu-item.d.ts +4 -4
- package/dist/v1/components/dropdown-menu/dropdown-menu-item.d.ts.map +1 -1
- package/dist/v1/components/dropdown-menu/dropdown-menu-item.js +6 -6
- package/dist/v1/components/dropdown-menu/dropdown-menu-item.js.map +1 -1
- package/dist/v1/components/dropdown-menu/dropdown-menu-misc.cjs +6 -6
- package/dist/v1/components/dropdown-menu/dropdown-menu-misc.cjs.map +1 -1
- package/dist/v1/components/dropdown-menu/dropdown-menu-misc.d.ts +3 -3
- package/dist/v1/components/dropdown-menu/dropdown-menu-misc.d.ts.map +1 -1
- package/dist/v1/components/dropdown-menu/dropdown-menu-misc.js +6 -6
- package/dist/v1/components/dropdown-menu/dropdown-menu-misc.js.map +1 -1
- package/dist/v1/components/dropdown-menu/dropdown-menu-trigger.cjs +5 -5
- package/dist/v1/components/dropdown-menu/dropdown-menu-trigger.cjs.map +1 -1
- package/dist/v1/components/dropdown-menu/dropdown-menu-trigger.d.ts +3 -3
- package/dist/v1/components/dropdown-menu/dropdown-menu-trigger.d.ts.map +1 -1
- package/dist/v1/components/dropdown-menu/dropdown-menu-trigger.js +5 -5
- package/dist/v1/components/dropdown-menu/dropdown-menu-trigger.js.map +1 -1
- package/dist/v1/components/flex/flex.cjs +48 -37
- package/dist/v1/components/flex/flex.cjs.map +1 -1
- package/dist/v1/components/flex/flex.d.ts +3 -2
- package/dist/v1/components/flex/flex.d.ts.map +1 -1
- package/dist/v1/components/flex/flex.js +48 -37
- package/dist/v1/components/flex/flex.js.map +1 -1
- package/dist/v1/components/flex/flex.module.css.cjs +1 -1
- package/dist/v1/components/flex/flex.module.css.js +1 -1
- package/dist/v1/components/grid/grid-item.cjs +4 -4
- package/dist/v1/components/grid/grid-item.cjs.map +1 -1
- package/dist/v1/components/grid/grid-item.d.ts +2 -2
- package/dist/v1/components/grid/grid-item.d.ts.map +1 -1
- package/dist/v1/components/grid/grid-item.js +4 -4
- package/dist/v1/components/grid/grid-item.js.map +1 -1
- package/dist/v1/components/grid/grid.cjs +13 -13
- package/dist/v1/components/grid/grid.cjs.map +1 -1
- package/dist/v1/components/grid/grid.d.ts +2 -2
- package/dist/v1/components/grid/grid.d.ts.map +1 -1
- package/dist/v1/components/grid/grid.js +13 -13
- package/dist/v1/components/grid/grid.js.map +1 -1
- package/dist/v1/components/image/image.d.ts +1 -1
- package/dist/v1/components/popover/popover.cjs +3 -3
- package/dist/v1/components/popover/popover.cjs.map +1 -1
- package/dist/v1/components/popover/popover.d.ts +2 -2
- package/dist/v1/components/popover/popover.d.ts.map +1 -1
- package/dist/v1/components/popover/popover.js +3 -3
- package/dist/v1/components/popover/popover.js.map +1 -1
- package/dist/v1/components/radio/radio.cjs +2 -2
- package/dist/v1/components/radio/radio.cjs.map +1 -1
- package/dist/v1/components/radio/radio.d.ts +3 -3
- package/dist/v1/components/radio/radio.d.ts.map +1 -1
- package/dist/v1/components/radio/radio.js +6 -6
- package/dist/v1/components/radio/radio.js.map +1 -1
- package/dist/v1/components/select/select-content.cjs +3 -3
- package/dist/v1/components/select/select-content.cjs.map +1 -1
- package/dist/v1/components/select/select-content.d.ts +1 -1
- package/dist/v1/components/select/select-content.d.ts.map +1 -1
- package/dist/v1/components/select/select-content.js +3 -3
- package/dist/v1/components/select/select-content.js.map +1 -1
- package/dist/v1/components/select/select-item.cjs +1 -1
- package/dist/v1/components/select/select-item.cjs.map +1 -1
- package/dist/v1/components/select/select-item.d.ts +1 -1
- package/dist/v1/components/select/select-item.d.ts.map +1 -1
- package/dist/v1/components/select/select-item.js +1 -1
- package/dist/v1/components/select/select-item.js.map +1 -1
- package/dist/v1/components/select/select-misc.cjs +2 -2
- package/dist/v1/components/select/select-misc.cjs.map +1 -1
- package/dist/v1/components/select/select-misc.d.ts +1 -1
- package/dist/v1/components/select/select-misc.d.ts.map +1 -1
- package/dist/v1/components/select/select-misc.js +2 -2
- package/dist/v1/components/select/select-misc.js.map +1 -1
- package/dist/v1/components/select/select-multiple-value.cjs +1 -1
- package/dist/v1/components/select/select-multiple-value.cjs.map +1 -1
- package/dist/v1/components/select/select-multiple-value.d.ts +1 -1
- package/dist/v1/components/select/select-multiple-value.d.ts.map +1 -1
- package/dist/v1/components/select/select-multiple-value.js +1 -1
- package/dist/v1/components/select/select-multiple-value.js.map +1 -1
- package/dist/v1/components/select/select-root.cjs +1 -1
- package/dist/v1/components/select/select-root.cjs.map +1 -1
- package/dist/v1/components/select/select-root.d.ts +1 -1
- package/dist/v1/components/select/select-root.d.ts.map +1 -1
- package/dist/v1/components/select/select-root.js +1 -1
- package/dist/v1/components/select/select-root.js.map +1 -1
- package/dist/v1/components/select/select-trigger.cjs +3 -3
- package/dist/v1/components/select/select-trigger.cjs.map +1 -1
- package/dist/v1/components/select/select-trigger.d.ts +1 -1
- package/dist/v1/components/select/select-trigger.d.ts.map +1 -1
- package/dist/v1/components/select/select-trigger.js +3 -3
- package/dist/v1/components/select/select-trigger.js.map +1 -1
- package/dist/v1/components/select/select-value.cjs +1 -1
- package/dist/v1/components/select/select-value.cjs.map +1 -1
- package/dist/v1/components/select/select-value.d.ts +1 -1
- package/dist/v1/components/select/select-value.d.ts.map +1 -1
- package/dist/v1/components/select/select-value.js +1 -1
- package/dist/v1/components/select/select-value.js.map +1 -1
- package/dist/v1/components/select/select.cjs +5 -5
- package/dist/v1/components/select/select.cjs.map +1 -1
- package/dist/v1/components/select/select.d.ts +1 -1
- package/dist/v1/components/select/select.d.ts.map +1 -1
- package/dist/v1/components/select/select.js +5 -5
- package/dist/v1/components/select/select.js.map +1 -1
- package/dist/v1/components/separator/separator.cjs +13 -13
- package/dist/v1/components/separator/separator.cjs.map +1 -1
- package/dist/v1/components/separator/separator.d.ts +1 -1
- package/dist/v1/components/separator/separator.js +13 -13
- package/dist/v1/components/separator/separator.js.map +1 -1
- package/dist/v1/components/sheet/sheet.cjs +13 -13
- package/dist/v1/components/sheet/sheet.cjs.map +1 -1
- package/dist/v1/components/sheet/sheet.d.ts +3 -3
- package/dist/v1/components/sheet/sheet.d.ts.map +1 -1
- package/dist/v1/components/sheet/sheet.js +13 -13
- package/dist/v1/components/sheet/sheet.js.map +1 -1
- package/dist/v1/components/sidebar/sidebar.cjs +3 -3
- package/dist/v1/components/sidebar/sidebar.cjs.map +1 -1
- package/dist/v1/components/sidebar/sidebar.d.ts +2 -1
- package/dist/v1/components/sidebar/sidebar.d.ts.map +1 -1
- package/dist/v1/components/sidebar/sidebar.js +3 -3
- package/dist/v1/components/sidebar/sidebar.js.map +1 -1
- package/dist/v1/components/slider/slider.cjs +11 -7
- package/dist/v1/components/slider/slider.cjs.map +1 -1
- package/dist/v1/components/slider/slider.d.ts +2 -2
- package/dist/v1/components/slider/slider.d.ts.map +1 -1
- package/dist/v1/components/slider/slider.js +11 -7
- package/dist/v1/components/slider/slider.js.map +1 -1
- package/dist/v1/components/switch/switch.cjs +2 -2
- package/dist/v1/components/switch/switch.cjs.map +1 -1
- package/dist/v1/components/switch/switch.d.ts +2 -2
- package/dist/v1/components/switch/switch.d.ts.map +1 -1
- package/dist/v1/components/switch/switch.js +4 -4
- package/dist/v1/components/switch/switch.js.map +1 -1
- package/dist/v1/components/tabs/tabs.cjs +6 -6
- package/dist/v1/components/tabs/tabs.cjs.map +1 -1
- package/dist/v1/components/tabs/tabs.d.ts +3 -3
- package/dist/v1/components/tabs/tabs.d.ts.map +1 -1
- package/dist/v1/components/tabs/tabs.js +10 -10
- package/dist/v1/components/tabs/tabs.js.map +1 -1
- package/dist/v1/components/text/text.cjs +64 -64
- package/dist/v1/components/text/text.cjs.map +1 -1
- package/dist/v1/components/text/text.d.ts +14 -14
- package/dist/v1/components/text/text.d.ts.map +1 -1
- package/dist/v1/components/text/text.js +64 -64
- package/dist/v1/components/text/text.js.map +1 -1
- package/dist/v1/components/tooltip/tooltip.cjs +1 -1
- package/dist/v1/components/tooltip/tooltip.cjs.map +1 -1
- package/dist/v1/components/tooltip/tooltip.d.ts +1 -1
- package/dist/v1/components/tooltip/tooltip.d.ts.map +1 -1
- package/dist/v1/components/tooltip/tooltip.js +4 -4
- package/dist/v1/components/tooltip/tooltip.js.map +1 -1
- package/dist/v1/components/tooltip/utils.cjs.map +1 -1
- package/dist/v1/components/tooltip/utils.d.ts +2 -2
- package/dist/v1/components/tooltip/utils.d.ts.map +1 -1
- package/dist/v1/components/tooltip/utils.js.map +1 -1
- package/dist/v1/index.cjs +2 -0
- package/dist/v1/index.cjs.map +1 -1
- package/dist/v1/index.d.ts +49 -48
- package/dist/v1/index.d.ts.map +1 -1
- package/dist/v1/index.js +1 -0
- package/dist/v1/index.js.map +1 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-arrow@1.1.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-arrow/dist/index.cjs +48 -0
- package/dist/v1/node_modules/.pnpm/{@radix-ui_react-arrow@1.1.6_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0 → @radix-ui_react-arrow@1.1.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0}/node_modules/@radix-ui/react-arrow/dist/index.cjs.map +1 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-arrow@1.1.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-arrow/dist/index.js +26 -0
- package/dist/v1/node_modules/.pnpm/{@radix-ui_react-arrow@1.1.6_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0 → @radix-ui_react-arrow@1.1.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0}/node_modules/@radix-ui/react-arrow/dist/index.js.map +1 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-avatar@1.1.10_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-avatar/dist/index.cjs +146 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-avatar@1.1.10_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-avatar/dist/index.cjs.map +1 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-avatar@1.1.10_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-avatar/dist/index.js +119 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-avatar@1.1.10_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-avatar/dist/index.js.map +1 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-checkbox@1.3.2_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-checkbox/dist/index.cjs +302 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-checkbox@1.3.2_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-checkbox/dist/index.cjs.map +1 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-checkbox@1.3.2_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-checkbox/dist/index.js +271 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-checkbox@1.3.2_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-checkbox/dist/index.js.map +1 -0
- package/dist/{node_modules/.pnpm/@radix-ui_react-collapsible@1.1.2_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18._hjslo7xm5vmo3b4sx344jkbtcq → v1/node_modules/.pnpm/@radix-ui_react-collapsible@1.1.11_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18_qdnr5tshbuses2czt45n43so7q}/node_modules/@radix-ui/react-collapsible/dist/index.cjs +12 -11
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-collapsible@1.1.11_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18_qdnr5tshbuses2czt45n43so7q/node_modules/@radix-ui/react-collapsible/dist/index.cjs.map +1 -0
- package/dist/{node_modules/.pnpm/@radix-ui_react-collapsible@1.1.2_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18._hjslo7xm5vmo3b4sx344jkbtcq → v1/node_modules/.pnpm/@radix-ui_react-collapsible@1.1.11_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18_qdnr5tshbuses2czt45n43so7q}/node_modules/@radix-ui/react-collapsible/dist/index.js +12 -11
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-collapsible@1.1.11_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18_qdnr5tshbuses2czt45n43so7q/node_modules/@radix-ui/react-collapsible/dist/index.js.map +1 -0
- package/dist/{node_modules/.pnpm/@radix-ui_react-collection@1.1.1_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3_p5cyk3qagre3kxk5k7eizjmofy → v1/node_modules/.pnpm/@radix-ui_react-collection@1.1.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3_nwj7zizkpbafahafjkthv37flu}/node_modules/@radix-ui/react-collection/dist/index.cjs +7 -5
- package/dist/v1/node_modules/.pnpm/{@radix-ui_react-collection@1.1.6_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3_q6wngd5sud2jo5l3sykxhor6am → @radix-ui_react-collection@1.1.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3_nwj7zizkpbafahafjkthv37flu}/node_modules/@radix-ui/react-collection/dist/index.cjs.map +1 -1
- package/dist/{node_modules/.pnpm/@radix-ui_react-collection@1.1.1_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3_p5cyk3qagre3kxk5k7eizjmofy → v1/node_modules/.pnpm/@radix-ui_react-collection@1.1.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3_nwj7zizkpbafahafjkthv37flu}/node_modules/@radix-ui/react-collection/dist/index.js +7 -5
- package/dist/v1/node_modules/.pnpm/{@radix-ui_react-collection@1.1.6_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3_q6wngd5sud2jo5l3sykxhor6am → @radix-ui_react-collection@1.1.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3_nwj7zizkpbafahafjkthv37flu}/node_modules/@radix-ui/react-collection/dist/index.js.map +1 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-dialog@1.1.14_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-dialog/dist/index.cjs +360 -0
- package/dist/v1/node_modules/.pnpm/{@radix-ui_react-dialog@1.1.13_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0 → @radix-ui_react-dialog@1.1.14_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0}/node_modules/@radix-ui/react-dialog/dist/index.cjs.map +1 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-dialog@1.1.14_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-dialog/dist/index.js +322 -0
- package/dist/v1/node_modules/.pnpm/{@radix-ui_react-dialog@1.1.13_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0 → @radix-ui_react-dialog@1.1.14_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0}/node_modules/@radix-ui/react-dialog/dist/index.js.map +1 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.10_@types_react-dom@18.0.11_@types_react@18.2.12_react-_wsbb4kvfytxyd3vtmz5wcd5qbq/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs +234 -0
- package/dist/v1/node_modules/.pnpm/{@radix-ui_react-dismissable-layer@1.1.9_@types_react-dom@18.0.11_@types_react@18.2.12_react-d_ilsndsoquvfqqu77cpabepuiey → @radix-ui_react-dismissable-layer@1.1.10_@types_react-dom@18.0.11_@types_react@18.2.12_react-_wsbb4kvfytxyd3vtmz5wcd5qbq}/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs.map +1 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.10_@types_react-dom@18.0.11_@types_react@18.2.12_react-_wsbb4kvfytxyd3vtmz5wcd5qbq/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +212 -0
- package/dist/v1/node_modules/.pnpm/{@radix-ui_react-dismissable-layer@1.1.9_@types_react-dom@18.0.11_@types_react@18.2.12_react-d_ilsndsoquvfqqu77cpabepuiey → @radix-ui_react-dismissable-layer@1.1.10_@types_react-dom@18.0.11_@types_react@18.2.12_react-_wsbb4kvfytxyd3vtmz5wcd5qbq}/node_modules/@radix-ui/react-dismissable-layer/dist/index.js.map +1 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-focus-scope@1.1.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18._4nxwjymnvqkxvbthkfdbwxtqxm/node_modules/@radix-ui/react-focus-scope/dist/index.cjs +229 -0
- package/dist/v1/node_modules/.pnpm/{@radix-ui_react-focus-scope@1.1.6_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18._c7oi24chybuz7qblxpf5qpk3ou → @radix-ui_react-focus-scope@1.1.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18._4nxwjymnvqkxvbthkfdbwxtqxm}/node_modules/@radix-ui/react-focus-scope/dist/index.cjs.map +1 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-focus-scope@1.1.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18._4nxwjymnvqkxvbthkfdbwxtqxm/node_modules/@radix-ui/react-focus-scope/dist/index.js +208 -0
- package/dist/v1/node_modules/.pnpm/{@radix-ui_react-focus-scope@1.1.6_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18._c7oi24chybuz7qblxpf5qpk3ou → @radix-ui_react-focus-scope@1.1.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18._4nxwjymnvqkxvbthkfdbwxtqxm}/node_modules/@radix-ui/react-focus-scope/dist/index.js.map +1 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-popover@1.1.14_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-popover/dist/index.cjs +333 -0
- package/dist/v1/node_modules/.pnpm/{@radix-ui_react-popover@1.1.13_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0 → @radix-ui_react-popover@1.1.14_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0}/node_modules/@radix-ui/react-popover/dist/index.cjs.map +1 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-popover@1.1.14_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-popover/dist/index.js +300 -0
- package/dist/v1/node_modules/.pnpm/{@radix-ui_react-popover@1.1.13_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0 → @radix-ui_react-popover@1.1.14_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0}/node_modules/@radix-ui/react-popover/dist/index.js.map +1 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-popper@1.2.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-popper/dist/index.cjs +308 -0
- package/dist/v1/node_modules/.pnpm/{@radix-ui_react-popper@1.2.6_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0 → @radix-ui_react-popper@1.2.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0}/node_modules/@radix-ui/react-popper/dist/index.cjs.map +1 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-popper@1.2.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-popper/dist/index.js +279 -0
- package/dist/v1/node_modules/.pnpm/{@radix-ui_react-popper@1.2.6_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0 → @radix-ui_react-popper@1.2.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0}/node_modules/@radix-ui/react-popper/dist/index.js.map +1 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-portal@1.1.9_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-portal/dist/index.cjs +39 -0
- package/dist/v1/node_modules/.pnpm/{@radix-ui_react-portal@1.1.8_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0 → @radix-ui_react-portal@1.1.9_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0}/node_modules/@radix-ui/react-portal/dist/index.cjs.map +1 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-portal@1.1.9_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-portal/dist/index.js +18 -0
- package/dist/v1/node_modules/.pnpm/{@radix-ui_react-portal@1.1.8_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0 → @radix-ui_react-portal@1.1.9_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0}/node_modules/@radix-ui/react-portal/dist/index.js.map +1 -1
- package/dist/{node_modules/.pnpm/@radix-ui_react-primitive@2.0.1_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3._cb7zdxt66xzfsoptgosobmamue → v1/node_modules/.pnpm/@radix-ui_react-primitive@2.1.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3._wizft3keermhycaiqreghf4gsi}/node_modules/@radix-ui/react-primitive/dist/index.cjs +11 -4
- package/dist/v1/node_modules/.pnpm/{@radix-ui_react-primitive@2.1.2_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3._jbktko7p4hqgjs4w6jmwpneecm → @radix-ui_react-primitive@2.1.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3._wizft3keermhycaiqreghf4gsi}/node_modules/@radix-ui/react-primitive/dist/index.cjs.map +1 -1
- package/dist/v1/node_modules/.pnpm/{@radix-ui_react-primitive@2.0.1_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3._cb7zdxt66xzfsoptgosobmamue → @radix-ui_react-primitive@2.1.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3._wizft3keermhycaiqreghf4gsi}/node_modules/@radix-ui/react-primitive/dist/index.js +9 -4
- package/dist/v1/node_modules/.pnpm/{@radix-ui_react-primitive@2.1.2_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3._jbktko7p4hqgjs4w6jmwpneecm → @radix-ui_react-primitive@2.1.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3._wizft3keermhycaiqreghf4gsi}/node_modules/@radix-ui/react-primitive/dist/index.js.map +1 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-radio-group@1.3.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18._ah6s3fggnc5n77htogbremlp7m/node_modules/@radix-ui/react-radio-group/dist/index.cjs +310 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-radio-group@1.3.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18._ah6s3fggnc5n77htogbremlp7m/node_modules/@radix-ui/react-radio-group/dist/index.cjs.map +1 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-radio-group@1.3.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18._ah6s3fggnc5n77htogbremlp7m/node_modules/@radix-ui/react-radio-group/dist/index.js +283 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-radio-group@1.3.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18._ah6s3fggnc5n77htogbremlp7m/node_modules/@radix-ui/react-radio-group/dist/index.js.map +1 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-roving-focus@1.1.10_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@1_knwljqvfp3orwhfznz5u76rvbm/node_modules/@radix-ui/react-roving-focus/dist/index.cjs +249 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-roving-focus@1.1.10_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@1_knwljqvfp3orwhfznz5u76rvbm/node_modules/@radix-ui/react-roving-focus/dist/index.cjs.map +1 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-roving-focus@1.1.10_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@1_knwljqvfp3orwhfznz5u76rvbm/node_modules/@radix-ui/react-roving-focus/dist/index.js +224 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-roving-focus@1.1.10_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@1_knwljqvfp3orwhfznz5u76rvbm/node_modules/@radix-ui/react-roving-focus/dist/index.js.map +1 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-select@2.2.5_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-select/dist/index.cjs +1204 -0
- package/dist/v1/node_modules/.pnpm/{@radix-ui_react-select@2.2.4_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0 → @radix-ui_react-select@2.2.5_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0}/node_modules/@radix-ui/react-select/dist/index.cjs.map +1 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-select@2.2.5_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-select/dist/index.js +1154 -0
- package/dist/v1/node_modules/.pnpm/{@radix-ui_react-select@2.2.4_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0 → @radix-ui_react-select@2.2.5_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0}/node_modules/@radix-ui/react-select/dist/index.js.map +1 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-separator@1.1.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3._ya2pynfmf6g57u7zxnuegxiowa/node_modules/@radix-ui/react-separator/dist/index.cjs +53 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-separator@1.1.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3._ya2pynfmf6g57u7zxnuegxiowa/node_modules/@radix-ui/react-separator/dist/index.cjs.map +1 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-separator@1.1.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3._ya2pynfmf6g57u7zxnuegxiowa/node_modules/@radix-ui/react-separator/dist/index.js +31 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-separator@1.1.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3._ya2pynfmf6g57u7zxnuegxiowa/node_modules/@radix-ui/react-separator/dist/index.js.map +1 -0
- package/dist/v1/node_modules/.pnpm/{@radix-ui_react-slider@1.2.2_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0 → @radix-ui_react-slider@1.3.5_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0}/node_modules/@radix-ui/react-slider/dist/index.cjs +41 -28
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-slider@1.3.5_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-slider/dist/index.cjs.map +1 -0
- package/dist/{node_modules/.pnpm/@radix-ui_react-slider@1.2.2_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0 → v1/node_modules/.pnpm/@radix-ui_react-slider@1.3.5_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0}/node_modules/@radix-ui/react-slider/dist/index.js +41 -28
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-slider@1.3.5_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-slider/dist/index.js.map +1 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-slot@1.2.3_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-slot/dist/index.cjs +124 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-slot@1.2.3_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-slot/dist/index.cjs.map +1 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-slot@1.2.3_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-slot/dist/index.js +100 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-slot@1.2.3_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-slot/dist/index.js.map +1 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-switch@1.2.5_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-switch/dist/index.cjs +178 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-switch@1.2.5_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-switch/dist/index.cjs.map +1 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-switch@1.2.5_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-switch/dist/index.js +153 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-switch@1.2.5_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-switch/dist/index.js.map +1 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-tabs@1.1.12_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-tabs/dist/index.cjs +217 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-tabs@1.1.12_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-tabs/dist/index.cjs.map +1 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-tabs@1.1.12_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-tabs/dist/index.js +188 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-tabs@1.1.12_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-tabs/dist/index.js.map +1 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-tooltip@1.2.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-tooltip/dist/index.cjs +525 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-tooltip@1.2.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-tooltip/dist/index.cjs.map +1 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-tooltip@1.2.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-tooltip/dist/index.js +492 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-tooltip@1.2.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-tooltip/dist/index.js.map +1 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-is-hydrated@0.1.0_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-is-hydrated/dist/index.cjs +19 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-is-hydrated@0.1.0_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-is-hydrated/dist/index.cjs.map +1 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-is-hydrated@0.1.0_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-is-hydrated/dist/index.js +17 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-is-hydrated@0.1.0_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-is-hydrated/dist/index.js.map +1 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.2.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom_zu6dcatbmcnothrcwm2kfbeas4/node_modules/@radix-ui/react-visually-hidden/dist/index.cjs +59 -0
- package/dist/v1/node_modules/.pnpm/{@radix-ui_react-visually-hidden@1.2.2_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom_hwzetq3ijqqlv2qaggz5bewn6u → @radix-ui_react-visually-hidden@1.2.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom_zu6dcatbmcnothrcwm2kfbeas4}/node_modules/@radix-ui/react-visually-hidden/dist/index.cjs.map +1 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.2.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom_zu6dcatbmcnothrcwm2kfbeas4/node_modules/@radix-ui/react-visually-hidden/dist/index.js +36 -0
- package/dist/v1/node_modules/.pnpm/{@radix-ui_react-visually-hidden@1.2.2_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom_hwzetq3ijqqlv2qaggz5bewn6u → @radix-ui_react-visually-hidden@1.2.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom_zu6dcatbmcnothrcwm2kfbeas4}/node_modules/@radix-ui/react-visually-hidden/dist/index.js.map +1 -1
- package/dist/v1/node_modules/.pnpm/use-sync-external-store@1.5.0_react@18.2.0/node_modules/use-sync-external-store/shim/index.cjs +1 -0
- package/dist/v1/node_modules/.pnpm/use-sync-external-store@1.5.0_react@18.2.0/node_modules/use-sync-external-store/shim/index.cjs.map +1 -1
- package/dist/v1/node_modules/.pnpm/use-sync-external-store@1.5.0_react@18.2.0/node_modules/use-sync-external-store/shim/index.js +1 -1
- package/dist/v1/style.css +1 -1
- package/package.json +14 -2
- package/dist/node_modules/.pnpm/@radix-ui_primitive@1.1.1/node_modules/@radix-ui/primitive/dist/index.cjs +0 -14
- package/dist/node_modules/.pnpm/@radix-ui_primitive@1.1.1/node_modules/@radix-ui/primitive/dist/index.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@radix-ui_primitive@1.1.1/node_modules/@radix-ui/primitive/dist/index.js +0 -12
- package/dist/node_modules/.pnpm/@radix-ui_primitive@1.1.1/node_modules/@radix-ui/primitive/dist/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-arrow@1.0.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-arrow/dist/index.cjs +0 -23
- package/dist/node_modules/.pnpm/@radix-ui_react-arrow@1.0.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-arrow/dist/index.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-arrow@1.0.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-arrow/dist/index.js +0 -20
- package/dist/node_modules/.pnpm/@radix-ui_react-arrow@1.0.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-arrow/dist/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-collapsible@1.1.2_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18._hjslo7xm5vmo3b4sx344jkbtcq/node_modules/@radix-ui/react-collapsible/dist/index.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-collapsible@1.1.2_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18._hjslo7xm5vmo3b4sx344jkbtcq/node_modules/@radix-ui/react-collapsible/dist/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-collection@1.1.1_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3_p5cyk3qagre3kxk5k7eizjmofy/node_modules/@radix-ui/react-collection/dist/index.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-collection@1.1.1_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3_p5cyk3qagre3kxk5k7eizjmofy/node_modules/@radix-ui/react-collection/dist/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-compose-refs/dist/index.cjs +0 -62
- package/dist/node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-compose-refs/dist/index.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-compose-refs/dist/index.js +0 -40
- package/dist/node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-compose-refs/dist/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-context@1.1.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-context/dist/index.cjs +0 -85
- package/dist/node_modules/.pnpm/@radix-ui_react-context@1.1.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-context/dist/index.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-context@1.1.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-context/dist/index.js +0 -64
- package/dist/node_modules/.pnpm/@radix-ui_react-context@1.1.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-context/dist/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-id@1.1.0_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-id/dist/index.cjs +0 -37
- package/dist/node_modules/.pnpm/@radix-ui_react-id@1.1.0_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-id/dist/index.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-id@1.1.0_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-id/dist/index.js +0 -16
- package/dist/node_modules/.pnpm/@radix-ui_react-id@1.1.0_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-id/dist/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-presence@1.1.2_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-presence/dist/index.cjs +0 -152
- package/dist/node_modules/.pnpm/@radix-ui_react-presence@1.1.2_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-presence/dist/index.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-presence@1.1.2_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-presence/dist/index.js +0 -131
- package/dist/node_modules/.pnpm/@radix-ui_react-presence@1.1.2_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-presence/dist/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.0.1_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3._cb7zdxt66xzfsoptgosobmamue/node_modules/@radix-ui/react-primitive/dist/index.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.0.1_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3._cb7zdxt66xzfsoptgosobmamue/node_modules/@radix-ui/react-primitive/dist/index.js +0 -39
- package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.0.1_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3._cb7zdxt66xzfsoptgosobmamue/node_modules/@radix-ui/react-primitive/dist/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-slider@1.2.2_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-slider/dist/index.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-slider@1.2.2_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-slider/dist/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.1.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-slot/dist/index.cjs +0 -104
- package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.1.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-slot/dist/index.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.1.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-slot/dist/index.js +0 -82
- package/dist/node_modules/.pnpm/@radix-ui_react-slot@1.1.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-slot/dist/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.1.0_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs +0 -68
- package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.1.0_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.1.0_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +0 -47
- package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.1.0_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-controllable-state/dist/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-use-previous@1.1.0_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-previous/dist/index.cjs +0 -37
- package/dist/node_modules/.pnpm/@radix-ui_react-use-previous@1.1.0_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-previous/dist/index.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-use-previous@1.1.0_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-previous/dist/index.js +0 -16
- package/dist/node_modules/.pnpm/@radix-ui_react-use-previous@1.1.0_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-previous/dist/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-use-size@1.1.0_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-size/dist/index.cjs +0 -62
- package/dist/node_modules/.pnpm/@radix-ui_react-use-size@1.1.0_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-size/dist/index.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-use-size@1.1.0_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-size/dist/index.js +0 -41
- package/dist/node_modules/.pnpm/@radix-ui_react-use-size@1.1.0_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-size/dist/index.js.map +0 -1
- package/dist/v1/node_modules/.pnpm/@babel_runtime@7.24.8/node_modules/@babel/runtime/helpers/esm/extends.cjs +0 -16
- package/dist/v1/node_modules/.pnpm/@babel_runtime@7.24.8/node_modules/@babel/runtime/helpers/esm/extends.cjs.map +0 -1
- package/dist/v1/node_modules/.pnpm/@babel_runtime@7.24.8/node_modules/@babel/runtime/helpers/esm/extends.js +0 -12
- package/dist/v1/node_modules/.pnpm/@babel_runtime@7.24.8/node_modules/@babel/runtime/helpers/esm/extends.js.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_number@1.1.0/node_modules/@radix-ui/number/dist/index.cjs +0 -9
- package/dist/v1/node_modules/.pnpm/@radix-ui_number@1.1.0/node_modules/@radix-ui/number/dist/index.cjs.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_number@1.1.0/node_modules/@radix-ui/number/dist/index.js +0 -7
- package/dist/v1/node_modules/.pnpm/@radix-ui_number@1.1.0/node_modules/@radix-ui/number/dist/index.js.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_primitive@1.0.1/node_modules/@radix-ui/primitive/dist/index.cjs +0 -11
- package/dist/v1/node_modules/.pnpm/@radix-ui_primitive@1.0.1/node_modules/@radix-ui/primitive/dist/index.cjs.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_primitive@1.0.1/node_modules/@radix-ui/primitive/dist/index.js +0 -9
- package/dist/v1/node_modules/.pnpm/@radix-ui_primitive@1.0.1/node_modules/@radix-ui/primitive/dist/index.js.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_primitive@1.1.1/node_modules/@radix-ui/primitive/dist/index.cjs +0 -14
- package/dist/v1/node_modules/.pnpm/@radix-ui_primitive@1.1.1/node_modules/@radix-ui/primitive/dist/index.cjs.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_primitive@1.1.1/node_modules/@radix-ui/primitive/dist/index.js +0 -12
- package/dist/v1/node_modules/.pnpm/@radix-ui_primitive@1.1.1/node_modules/@radix-ui/primitive/dist/index.js.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-arrow@1.0.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-arrow/dist/index.cjs +0 -23
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-arrow@1.0.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-arrow/dist/index.cjs.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-arrow@1.0.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-arrow/dist/index.js +0 -20
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-arrow@1.0.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-arrow/dist/index.js.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-avatar@1.0.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-avatar/dist/index.cjs +0 -106
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-avatar@1.0.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-avatar/dist/index.cjs.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-avatar@1.0.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-avatar/dist/index.js +0 -98
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-avatar@1.0.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-avatar/dist/index.js.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-checkbox@1.0.4_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-checkbox/dist/index.cjs +0 -161
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-checkbox@1.0.4_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-checkbox/dist/index.cjs.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-checkbox@1.0.4_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-checkbox/dist/index.js +0 -155
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-checkbox@1.0.4_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-checkbox/dist/index.js.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-collapsible@1.1.2_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18._hjslo7xm5vmo3b4sx344jkbtcq/node_modules/@radix-ui/react-collapsible/dist/index.cjs.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-collapsible@1.1.2_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18._hjslo7xm5vmo3b4sx344jkbtcq/node_modules/@radix-ui/react-collapsible/dist/index.js.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-collection@1.0.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3_za2vz4j22salh62ymrccbh2k4m/node_modules/@radix-ui/react-collection/dist/index.cjs +0 -96
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-collection@1.0.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3_za2vz4j22salh62ymrccbh2k4m/node_modules/@radix-ui/react-collection/dist/index.cjs.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-collection@1.0.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3_za2vz4j22salh62ymrccbh2k4m/node_modules/@radix-ui/react-collection/dist/index.js +0 -94
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-collection@1.0.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3_za2vz4j22salh62ymrccbh2k4m/node_modules/@radix-ui/react-collection/dist/index.js.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-collection@1.1.1_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3_p5cyk3qagre3kxk5k7eizjmofy/node_modules/@radix-ui/react-collection/dist/index.cjs +0 -71
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-collection@1.1.1_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3_p5cyk3qagre3kxk5k7eizjmofy/node_modules/@radix-ui/react-collection/dist/index.cjs.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-collection@1.1.1_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3_p5cyk3qagre3kxk5k7eizjmofy/node_modules/@radix-ui/react-collection/dist/index.js +0 -69
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-collection@1.1.1_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3_p5cyk3qagre3kxk5k7eizjmofy/node_modules/@radix-ui/react-collection/dist/index.js.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-compose-refs@1.0.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-compose-refs/dist/index.cjs +0 -30
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-compose-refs@1.0.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-compose-refs/dist/index.cjs.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-compose-refs@1.0.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-compose-refs/dist/index.js +0 -27
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-compose-refs@1.0.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-compose-refs/dist/index.js.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-compose-refs/dist/index.cjs +0 -62
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-compose-refs/dist/index.cjs.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-compose-refs/dist/index.js +0 -40
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-compose-refs/dist/index.js.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-context@1.0.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-context/dist/index.cjs +0 -103
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-context@1.0.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-context/dist/index.cjs.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-context@1.0.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-context/dist/index.js +0 -101
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-context@1.0.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-context/dist/index.js.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-context@1.1.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-context/dist/index.cjs +0 -85
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-context@1.1.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-context/dist/index.cjs.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-context@1.1.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-context/dist/index.js +0 -64
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-context@1.1.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-context/dist/index.js.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-direction@1.0.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-direction/dist/index.cjs +0 -12
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-direction@1.0.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-direction/dist/index.cjs.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-direction@1.0.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-direction/dist/index.js +0 -10
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-direction@1.0.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-direction/dist/index.js.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-direction@1.1.0_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-direction/dist/index.cjs +0 -33
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-direction@1.1.0_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-direction/dist/index.cjs.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-direction@1.1.0_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-direction/dist/index.js +0 -12
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-direction@1.1.0_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-direction/dist/index.js.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.0.5_@types_react-dom@18.0.11_@types_react@18.2.12_react-d_3pjeqhxhdzufx3hblw2x57h7xy/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs +0 -242
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.0.5_@types_react-dom@18.0.11_@types_react@18.2.12_react-d_3pjeqhxhdzufx3hblw2x57h7xy/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.0.5_@types_react-dom@18.0.11_@types_react@18.2.12_react-d_3pjeqhxhdzufx3hblw2x57h7xy/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +0 -240
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.0.5_@types_react-dom@18.0.11_@types_react@18.2.12_react-d_3pjeqhxhdzufx3hblw2x57h7xy/node_modules/@radix-ui/react-dismissable-layer/dist/index.js.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-id@1.0.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-id/dist/index.cjs +0 -40
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-id@1.0.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-id/dist/index.cjs.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-id@1.0.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-id/dist/index.js +0 -19
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-id@1.0.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-id/dist/index.js.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-id@1.1.0_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-id/dist/index.cjs +0 -37
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-id@1.1.0_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-id/dist/index.cjs.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-id@1.1.0_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-id/dist/index.js +0 -16
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-id@1.1.0_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-id/dist/index.js.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-popper@1.1.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-popper/dist/index.cjs +0 -299
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-popper@1.1.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-popper/dist/index.cjs.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-popper@1.1.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-popper/dist/index.js +0 -289
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-popper@1.1.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-popper/dist/index.js.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-portal@1.0.4_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-portal/dist/index.cjs +0 -17
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-portal@1.0.4_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-portal/dist/index.cjs.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-portal@1.0.4_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-portal/dist/index.js +0 -15
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-portal@1.0.4_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-portal/dist/index.js.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-presence@1.0.1_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-presence/dist/index.cjs +0 -133
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-presence@1.0.1_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-presence/dist/index.cjs.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-presence@1.0.1_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-presence/dist/index.js +0 -131
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-presence@1.0.1_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-presence/dist/index.js.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-presence@1.1.2_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-presence/dist/index.cjs +0 -152
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-presence@1.1.2_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-presence/dist/index.cjs.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-presence@1.1.2_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-presence/dist/index.js +0 -131
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-presence@1.1.2_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-presence/dist/index.js.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-primitive@1.0.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3._44pjkdrkjq3hxuh62jsxoggm4e/node_modules/@radix-ui/react-primitive/dist/index.cjs +0 -91
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-primitive@1.0.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3._44pjkdrkjq3hxuh62jsxoggm4e/node_modules/@radix-ui/react-primitive/dist/index.cjs.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-primitive@1.0.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3._44pjkdrkjq3hxuh62jsxoggm4e/node_modules/@radix-ui/react-primitive/dist/index.js +0 -88
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-primitive@1.0.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3._44pjkdrkjq3hxuh62jsxoggm4e/node_modules/@radix-ui/react-primitive/dist/index.js.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-primitive@2.0.1_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3._cb7zdxt66xzfsoptgosobmamue/node_modules/@radix-ui/react-primitive/dist/index.cjs +0 -60
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-primitive@2.0.1_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3._cb7zdxt66xzfsoptgosobmamue/node_modules/@radix-ui/react-primitive/dist/index.cjs.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-primitive@2.0.1_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3._cb7zdxt66xzfsoptgosobmamue/node_modules/@radix-ui/react-primitive/dist/index.js.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-radio-group@1.1.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18._cfce25imgs2fusayjymjkynvpu/node_modules/@radix-ui/react-radio-group/dist/index.cjs +0 -245
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-radio-group@1.1.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18._cfce25imgs2fusayjymjkynvpu/node_modules/@radix-ui/react-radio-group/dist/index.cjs.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-radio-group@1.1.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18._cfce25imgs2fusayjymjkynvpu/node_modules/@radix-ui/react-radio-group/dist/index.js +0 -237
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-radio-group@1.1.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18._cfce25imgs2fusayjymjkynvpu/node_modules/@radix-ui/react-radio-group/dist/index.js.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-roving-focus@1.0.4_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18_753i7szl5dwsjermawvfyhbcfq/node_modules/@radix-ui/react-roving-focus/dist/index.cjs +0 -243
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-roving-focus@1.0.4_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18_753i7szl5dwsjermawvfyhbcfq/node_modules/@radix-ui/react-roving-focus/dist/index.cjs.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-roving-focus@1.0.4_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18_753i7szl5dwsjermawvfyhbcfq/node_modules/@radix-ui/react-roving-focus/dist/index.js +0 -237
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-roving-focus@1.0.4_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18_753i7szl5dwsjermawvfyhbcfq/node_modules/@radix-ui/react-roving-focus/dist/index.js.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-separator@1.0.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3._na4co26slzimf5qojej32hgyjm/node_modules/@radix-ui/react-separator/dist/index.cjs +0 -51
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-separator@1.0.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3._na4co26slzimf5qojej32hgyjm/node_modules/@radix-ui/react-separator/dist/index.cjs.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-separator@1.0.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3._na4co26slzimf5qojej32hgyjm/node_modules/@radix-ui/react-separator/dist/index.js +0 -48
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-separator@1.0.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3._na4co26slzimf5qojej32hgyjm/node_modules/@radix-ui/react-separator/dist/index.js.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-slider@1.2.2_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-slider/dist/index.cjs.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-slider@1.2.2_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-slider/dist/index.js.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-slot@1.0.2_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-slot/dist/index.cjs +0 -87
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-slot@1.0.2_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-slot/dist/index.cjs.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-slot@1.0.2_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-slot/dist/index.js +0 -83
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-slot@1.0.2_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-slot/dist/index.js.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-slot@1.1.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-slot/dist/index.cjs +0 -104
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-slot@1.1.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-slot/dist/index.cjs.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-slot@1.1.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-slot/dist/index.js +0 -82
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-slot@1.1.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-slot/dist/index.js.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-slot@1.2.2_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-slot/dist/index.cjs.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-slot@1.2.2_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-slot/dist/index.js.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-switch@1.0.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-switch/dist/index.cjs +0 -132
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-switch@1.0.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-switch/dist/index.cjs.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-switch@1.0.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-switch/dist/index.js +0 -126
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-switch@1.0.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-switch/dist/index.js.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-tabs@1.0.4_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-tabs/dist/index.cjs +0 -167
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-tabs@1.0.4_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-tabs/dist/index.cjs.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-tabs@1.0.4_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-tabs/dist/index.js +0 -157
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-tabs@1.0.4_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-tabs/dist/index.js.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-tooltip@1.0.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-tooltip/dist/index.cjs +0 -555
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-tooltip@1.0.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-tooltip/dist/index.cjs.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-tooltip@1.0.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-tooltip/dist/index.js +0 -541
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-tooltip@1.0.7_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-tooltip/dist/index.js.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.0.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs +0 -21
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.0.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.0.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +0 -19
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.0.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-callback-ref/dist/index.js.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.1.0_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs +0 -34
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.1.0_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.1.0_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +0 -13
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.1.0_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-callback-ref/dist/index.js.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.0.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs +0 -50
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.0.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.0.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +0 -48
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.0.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-controllable-state/dist/index.js.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.1.0_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs +0 -68
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.1.0_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.1.0_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +0 -47
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.1.0_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-controllable-state/dist/index.js.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-escape-keydown@1.0.3_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-escape-keydown/dist/index.cjs +0 -24
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-escape-keydown@1.0.3_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-escape-keydown/dist/index.cjs.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-escape-keydown@1.0.3_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +0 -22
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-escape-keydown@1.0.3_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.0.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs +0 -14
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.0.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.0.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +0 -12
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.0.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-layout-effect/dist/index.js.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.0_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs +0 -29
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.0_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.0_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +0 -8
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.0_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-layout-effect/dist/index.js.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-previous@1.0.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-previous/dist/index.cjs +0 -24
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-previous@1.0.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-previous/dist/index.cjs.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-previous@1.0.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-previous/dist/index.js +0 -22
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-previous@1.0.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-previous/dist/index.js.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-previous@1.1.0_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-previous/dist/index.cjs +0 -37
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-previous@1.1.0_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-previous/dist/index.cjs.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-previous@1.1.0_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-previous/dist/index.js +0 -16
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-previous@1.1.0_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-previous/dist/index.js.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-size@1.0.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-size/dist/index.cjs +0 -54
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-size@1.0.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-size/dist/index.cjs.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-size@1.0.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-size/dist/index.js +0 -52
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-size@1.0.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-size/dist/index.js.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-size@1.1.0_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-size/dist/index.cjs +0 -62
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-size@1.1.0_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-size/dist/index.cjs.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-size@1.1.0_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-size/dist/index.js +0 -41
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-size@1.1.0_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-size/dist/index.js.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.0.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom_rdh5pg35mh2tsfsrysufhft5tm/node_modules/@radix-ui/react-visually-hidden/dist/index.cjs +0 -30
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.0.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom_rdh5pg35mh2tsfsrysufhft5tm/node_modules/@radix-ui/react-visually-hidden/dist/index.cjs.map +0 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.0.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom_rdh5pg35mh2tsfsrysufhft5tm/node_modules/@radix-ui/react-visually-hidden/dist/index.js +0 -27
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.0.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom_rdh5pg35mh2tsfsrysufhft5tm/node_modules/@radix-ui/react-visually-hidden/dist/index.js.map +0 -1
- package/dist/v1/node_modules/.pnpm/react-loading-skeleton@3.4.0_react@18.2.0/node_modules/react-loading-skeleton/dist/index.cjs +0 -99
- package/dist/v1/node_modules/.pnpm/react-loading-skeleton@3.4.0_react@18.2.0/node_modules/react-loading-skeleton/dist/index.cjs.map +0 -1
- package/dist/v1/node_modules/.pnpm/react-loading-skeleton@3.4.0_react@18.2.0/node_modules/react-loading-skeleton/dist/index.js +0 -95
- package/dist/v1/node_modules/.pnpm/react-loading-skeleton@3.4.0_react@18.2.0/node_modules/react-loading-skeleton/dist/index.js.map +0 -1
|
@@ -0,0 +1,271 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { useComposedRefs } from '../../../../../@radix-ui_react-compose-refs@1.1.2_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-compose-refs/dist/index.js';
|
|
3
|
+
import { createContextScope } from '../../../../../@radix-ui_react-context@1.1.2_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-context/dist/index.js';
|
|
4
|
+
import { composeEventHandlers } from '../../../../../@radix-ui_primitive@1.1.2/node_modules/@radix-ui/primitive/dist/index.js';
|
|
5
|
+
import { useControllableState } from '../../../../../@radix-ui_react-use-controllable-state@1.2.2_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-controllable-state/dist/index.js';
|
|
6
|
+
import { usePrevious } from '../../../../../@radix-ui_react-use-previous@1.1.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-previous/dist/index.js';
|
|
7
|
+
import { useSize } from '../../../../../@radix-ui_react-use-size@1.1.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-size/dist/index.js';
|
|
8
|
+
import { Presence } from '../../../../../@radix-ui_react-presence@1.1.4_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-presence/dist/index.js';
|
|
9
|
+
import { Primitive } from '../../../../../@radix-ui_react-primitive@2.1.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3._wizft3keermhycaiqreghf4gsi/node_modules/@radix-ui/react-primitive/dist/index.js';
|
|
10
|
+
import { j as jsxRuntimeExports } from '../../../../../react@18.2.0/node_modules/react/jsx-runtime.js';
|
|
11
|
+
|
|
12
|
+
var CHECKBOX_NAME = "Checkbox";
|
|
13
|
+
var [createCheckboxContext, createCheckboxScope] = createContextScope(CHECKBOX_NAME);
|
|
14
|
+
var [CheckboxProviderImpl, useCheckboxContext] = createCheckboxContext(CHECKBOX_NAME);
|
|
15
|
+
function CheckboxProvider(props) {
|
|
16
|
+
const {
|
|
17
|
+
__scopeCheckbox,
|
|
18
|
+
checked: checkedProp,
|
|
19
|
+
children,
|
|
20
|
+
defaultChecked,
|
|
21
|
+
disabled,
|
|
22
|
+
form,
|
|
23
|
+
name,
|
|
24
|
+
onCheckedChange,
|
|
25
|
+
required,
|
|
26
|
+
value = "on",
|
|
27
|
+
// @ts-expect-error
|
|
28
|
+
internal_do_not_use_render
|
|
29
|
+
} = props;
|
|
30
|
+
const [checked, setChecked] = useControllableState({
|
|
31
|
+
prop: checkedProp,
|
|
32
|
+
defaultProp: defaultChecked ?? false,
|
|
33
|
+
onChange: onCheckedChange,
|
|
34
|
+
caller: CHECKBOX_NAME
|
|
35
|
+
});
|
|
36
|
+
const [control, setControl] = React.useState(null);
|
|
37
|
+
const [bubbleInput, setBubbleInput] = React.useState(null);
|
|
38
|
+
const hasConsumerStoppedPropagationRef = React.useRef(false);
|
|
39
|
+
const isFormControl = control ? !!form || !!control.closest("form") : (
|
|
40
|
+
// We set this to true by default so that events bubble to forms without JS (SSR)
|
|
41
|
+
true
|
|
42
|
+
);
|
|
43
|
+
const context = {
|
|
44
|
+
checked,
|
|
45
|
+
disabled,
|
|
46
|
+
setChecked,
|
|
47
|
+
control,
|
|
48
|
+
setControl,
|
|
49
|
+
name,
|
|
50
|
+
form,
|
|
51
|
+
value,
|
|
52
|
+
hasConsumerStoppedPropagationRef,
|
|
53
|
+
required,
|
|
54
|
+
defaultChecked: isIndeterminate(defaultChecked) ? false : defaultChecked,
|
|
55
|
+
isFormControl,
|
|
56
|
+
bubbleInput,
|
|
57
|
+
setBubbleInput
|
|
58
|
+
};
|
|
59
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
60
|
+
CheckboxProviderImpl,
|
|
61
|
+
{
|
|
62
|
+
scope: __scopeCheckbox,
|
|
63
|
+
...context,
|
|
64
|
+
children: isFunction(internal_do_not_use_render) ? internal_do_not_use_render(context) : children
|
|
65
|
+
}
|
|
66
|
+
);
|
|
67
|
+
}
|
|
68
|
+
var TRIGGER_NAME = "CheckboxTrigger";
|
|
69
|
+
var CheckboxTrigger = React.forwardRef(
|
|
70
|
+
({ __scopeCheckbox, onKeyDown, onClick, ...checkboxProps }, forwardedRef) => {
|
|
71
|
+
const {
|
|
72
|
+
control,
|
|
73
|
+
value,
|
|
74
|
+
disabled,
|
|
75
|
+
checked,
|
|
76
|
+
required,
|
|
77
|
+
setControl,
|
|
78
|
+
setChecked,
|
|
79
|
+
hasConsumerStoppedPropagationRef,
|
|
80
|
+
isFormControl,
|
|
81
|
+
bubbleInput
|
|
82
|
+
} = useCheckboxContext(TRIGGER_NAME, __scopeCheckbox);
|
|
83
|
+
const composedRefs = useComposedRefs(forwardedRef, setControl);
|
|
84
|
+
const initialCheckedStateRef = React.useRef(checked);
|
|
85
|
+
React.useEffect(() => {
|
|
86
|
+
const form = control?.form;
|
|
87
|
+
if (form) {
|
|
88
|
+
const reset = () => setChecked(initialCheckedStateRef.current);
|
|
89
|
+
form.addEventListener("reset", reset);
|
|
90
|
+
return () => form.removeEventListener("reset", reset);
|
|
91
|
+
}
|
|
92
|
+
}, [control, setChecked]);
|
|
93
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
94
|
+
Primitive.button,
|
|
95
|
+
{
|
|
96
|
+
type: "button",
|
|
97
|
+
role: "checkbox",
|
|
98
|
+
"aria-checked": isIndeterminate(checked) ? "mixed" : checked,
|
|
99
|
+
"aria-required": required,
|
|
100
|
+
"data-state": getState(checked),
|
|
101
|
+
"data-disabled": disabled ? "" : void 0,
|
|
102
|
+
disabled,
|
|
103
|
+
value,
|
|
104
|
+
...checkboxProps,
|
|
105
|
+
ref: composedRefs,
|
|
106
|
+
onKeyDown: composeEventHandlers(onKeyDown, (event) => {
|
|
107
|
+
if (event.key === "Enter") event.preventDefault();
|
|
108
|
+
}),
|
|
109
|
+
onClick: composeEventHandlers(onClick, (event) => {
|
|
110
|
+
setChecked((prevChecked) => isIndeterminate(prevChecked) ? true : !prevChecked);
|
|
111
|
+
if (bubbleInput && isFormControl) {
|
|
112
|
+
hasConsumerStoppedPropagationRef.current = event.isPropagationStopped();
|
|
113
|
+
if (!hasConsumerStoppedPropagationRef.current) event.stopPropagation();
|
|
114
|
+
}
|
|
115
|
+
})
|
|
116
|
+
}
|
|
117
|
+
);
|
|
118
|
+
}
|
|
119
|
+
);
|
|
120
|
+
CheckboxTrigger.displayName = TRIGGER_NAME;
|
|
121
|
+
var Checkbox = React.forwardRef(
|
|
122
|
+
(props, forwardedRef) => {
|
|
123
|
+
const {
|
|
124
|
+
__scopeCheckbox,
|
|
125
|
+
name,
|
|
126
|
+
checked,
|
|
127
|
+
defaultChecked,
|
|
128
|
+
required,
|
|
129
|
+
disabled,
|
|
130
|
+
value,
|
|
131
|
+
onCheckedChange,
|
|
132
|
+
form,
|
|
133
|
+
...checkboxProps
|
|
134
|
+
} = props;
|
|
135
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
136
|
+
CheckboxProvider,
|
|
137
|
+
{
|
|
138
|
+
__scopeCheckbox,
|
|
139
|
+
checked,
|
|
140
|
+
defaultChecked,
|
|
141
|
+
disabled,
|
|
142
|
+
required,
|
|
143
|
+
onCheckedChange,
|
|
144
|
+
name,
|
|
145
|
+
form,
|
|
146
|
+
value,
|
|
147
|
+
internal_do_not_use_render: ({ isFormControl }) => /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
148
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
149
|
+
CheckboxTrigger,
|
|
150
|
+
{
|
|
151
|
+
...checkboxProps,
|
|
152
|
+
ref: forwardedRef,
|
|
153
|
+
__scopeCheckbox
|
|
154
|
+
}
|
|
155
|
+
),
|
|
156
|
+
isFormControl && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
157
|
+
CheckboxBubbleInput,
|
|
158
|
+
{
|
|
159
|
+
__scopeCheckbox
|
|
160
|
+
}
|
|
161
|
+
)
|
|
162
|
+
] })
|
|
163
|
+
}
|
|
164
|
+
);
|
|
165
|
+
}
|
|
166
|
+
);
|
|
167
|
+
Checkbox.displayName = CHECKBOX_NAME;
|
|
168
|
+
var INDICATOR_NAME = "CheckboxIndicator";
|
|
169
|
+
var CheckboxIndicator = React.forwardRef(
|
|
170
|
+
(props, forwardedRef) => {
|
|
171
|
+
const { __scopeCheckbox, forceMount, ...indicatorProps } = props;
|
|
172
|
+
const context = useCheckboxContext(INDICATOR_NAME, __scopeCheckbox);
|
|
173
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
174
|
+
Presence,
|
|
175
|
+
{
|
|
176
|
+
present: forceMount || isIndeterminate(context.checked) || context.checked === true,
|
|
177
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
178
|
+
Primitive.span,
|
|
179
|
+
{
|
|
180
|
+
"data-state": getState(context.checked),
|
|
181
|
+
"data-disabled": context.disabled ? "" : void 0,
|
|
182
|
+
...indicatorProps,
|
|
183
|
+
ref: forwardedRef,
|
|
184
|
+
style: { pointerEvents: "none", ...props.style }
|
|
185
|
+
}
|
|
186
|
+
)
|
|
187
|
+
}
|
|
188
|
+
);
|
|
189
|
+
}
|
|
190
|
+
);
|
|
191
|
+
CheckboxIndicator.displayName = INDICATOR_NAME;
|
|
192
|
+
var BUBBLE_INPUT_NAME = "CheckboxBubbleInput";
|
|
193
|
+
var CheckboxBubbleInput = React.forwardRef(
|
|
194
|
+
({ __scopeCheckbox, ...props }, forwardedRef) => {
|
|
195
|
+
const {
|
|
196
|
+
control,
|
|
197
|
+
hasConsumerStoppedPropagationRef,
|
|
198
|
+
checked,
|
|
199
|
+
defaultChecked,
|
|
200
|
+
required,
|
|
201
|
+
disabled,
|
|
202
|
+
name,
|
|
203
|
+
value,
|
|
204
|
+
form,
|
|
205
|
+
bubbleInput,
|
|
206
|
+
setBubbleInput
|
|
207
|
+
} = useCheckboxContext(BUBBLE_INPUT_NAME, __scopeCheckbox);
|
|
208
|
+
const composedRefs = useComposedRefs(forwardedRef, setBubbleInput);
|
|
209
|
+
const prevChecked = usePrevious(checked);
|
|
210
|
+
const controlSize = useSize(control);
|
|
211
|
+
React.useEffect(() => {
|
|
212
|
+
const input = bubbleInput;
|
|
213
|
+
if (!input) return;
|
|
214
|
+
const inputProto = window.HTMLInputElement.prototype;
|
|
215
|
+
const descriptor = Object.getOwnPropertyDescriptor(
|
|
216
|
+
inputProto,
|
|
217
|
+
"checked"
|
|
218
|
+
);
|
|
219
|
+
const setChecked = descriptor.set;
|
|
220
|
+
const bubbles = !hasConsumerStoppedPropagationRef.current;
|
|
221
|
+
if (prevChecked !== checked && setChecked) {
|
|
222
|
+
const event = new Event("click", { bubbles });
|
|
223
|
+
input.indeterminate = isIndeterminate(checked);
|
|
224
|
+
setChecked.call(input, isIndeterminate(checked) ? false : checked);
|
|
225
|
+
input.dispatchEvent(event);
|
|
226
|
+
}
|
|
227
|
+
}, [bubbleInput, prevChecked, checked, hasConsumerStoppedPropagationRef]);
|
|
228
|
+
const defaultCheckedRef = React.useRef(isIndeterminate(checked) ? false : checked);
|
|
229
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
230
|
+
Primitive.input,
|
|
231
|
+
{
|
|
232
|
+
type: "checkbox",
|
|
233
|
+
"aria-hidden": true,
|
|
234
|
+
defaultChecked: defaultChecked ?? defaultCheckedRef.current,
|
|
235
|
+
required,
|
|
236
|
+
disabled,
|
|
237
|
+
name,
|
|
238
|
+
value,
|
|
239
|
+
form,
|
|
240
|
+
...props,
|
|
241
|
+
tabIndex: -1,
|
|
242
|
+
ref: composedRefs,
|
|
243
|
+
style: {
|
|
244
|
+
...props.style,
|
|
245
|
+
...controlSize,
|
|
246
|
+
position: "absolute",
|
|
247
|
+
pointerEvents: "none",
|
|
248
|
+
opacity: 0,
|
|
249
|
+
margin: 0,
|
|
250
|
+
// We transform because the input is absolutely positioned but we have
|
|
251
|
+
// rendered it **after** the button. This pulls it back to sit on top
|
|
252
|
+
// of the button.
|
|
253
|
+
transform: "translateX(-100%)"
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
);
|
|
257
|
+
}
|
|
258
|
+
);
|
|
259
|
+
CheckboxBubbleInput.displayName = BUBBLE_INPUT_NAME;
|
|
260
|
+
function isFunction(value) {
|
|
261
|
+
return typeof value === "function";
|
|
262
|
+
}
|
|
263
|
+
function isIndeterminate(checked) {
|
|
264
|
+
return checked === "indeterminate";
|
|
265
|
+
}
|
|
266
|
+
function getState(checked) {
|
|
267
|
+
return isIndeterminate(checked) ? "indeterminate" : checked ? "checked" : "unchecked";
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
export { Checkbox, CheckboxIndicator, CheckboxIndicator as Indicator, Checkbox as Root, createCheckboxScope, CheckboxBubbleInput as unstable_BubbleInput, CheckboxBubbleInput as unstable_CheckboxBubbleInput, CheckboxProvider as unstable_CheckboxProvider, CheckboxTrigger as unstable_CheckboxTrigger, CheckboxProvider as unstable_Provider, CheckboxTrigger as unstable_Trigger };
|
|
271
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../../../../../../node_modules/.pnpm/@radix-ui+react-checkbox@1.3.2_@types+react-dom@18.0.11_@types+react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-checkbox/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/checkbox.tsx\nimport * as React from \"react\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { usePrevious } from \"@radix-ui/react-use-previous\";\nimport { useSize } from \"@radix-ui/react-use-size\";\nimport { Presence } from \"@radix-ui/react-presence\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { Fragment, jsx, jsxs } from \"react/jsx-runtime\";\nvar CHECKBOX_NAME = \"Checkbox\";\nvar [createCheckboxContext, createCheckboxScope] = createContextScope(CHECKBOX_NAME);\nvar [CheckboxProviderImpl, useCheckboxContext] = createCheckboxContext(CHECKBOX_NAME);\nfunction CheckboxProvider(props) {\n const {\n __scopeCheckbox,\n checked: checkedProp,\n children,\n defaultChecked,\n disabled,\n form,\n name,\n onCheckedChange,\n required,\n value = \"on\",\n // @ts-expect-error\n internal_do_not_use_render\n } = props;\n const [checked, setChecked] = useControllableState({\n prop: checkedProp,\n defaultProp: defaultChecked ?? false,\n onChange: onCheckedChange,\n caller: CHECKBOX_NAME\n });\n const [control, setControl] = React.useState(null);\n const [bubbleInput, setBubbleInput] = React.useState(null);\n const hasConsumerStoppedPropagationRef = React.useRef(false);\n const isFormControl = control ? !!form || !!control.closest(\"form\") : (\n // We set this to true by default so that events bubble to forms without JS (SSR)\n true\n );\n const context = {\n checked,\n disabled,\n setChecked,\n control,\n setControl,\n name,\n form,\n value,\n hasConsumerStoppedPropagationRef,\n required,\n defaultChecked: isIndeterminate(defaultChecked) ? false : defaultChecked,\n isFormControl,\n bubbleInput,\n setBubbleInput\n };\n return /* @__PURE__ */ jsx(\n CheckboxProviderImpl,\n {\n scope: __scopeCheckbox,\n ...context,\n children: isFunction(internal_do_not_use_render) ? internal_do_not_use_render(context) : children\n }\n );\n}\nvar TRIGGER_NAME = \"CheckboxTrigger\";\nvar CheckboxTrigger = React.forwardRef(\n ({ __scopeCheckbox, onKeyDown, onClick, ...checkboxProps }, forwardedRef) => {\n const {\n control,\n value,\n disabled,\n checked,\n required,\n setControl,\n setChecked,\n hasConsumerStoppedPropagationRef,\n isFormControl,\n bubbleInput\n } = useCheckboxContext(TRIGGER_NAME, __scopeCheckbox);\n const composedRefs = useComposedRefs(forwardedRef, setControl);\n const initialCheckedStateRef = React.useRef(checked);\n React.useEffect(() => {\n const form = control?.form;\n if (form) {\n const reset = () => setChecked(initialCheckedStateRef.current);\n form.addEventListener(\"reset\", reset);\n return () => form.removeEventListener(\"reset\", reset);\n }\n }, [control, setChecked]);\n return /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n role: \"checkbox\",\n \"aria-checked\": isIndeterminate(checked) ? \"mixed\" : checked,\n \"aria-required\": required,\n \"data-state\": getState(checked),\n \"data-disabled\": disabled ? \"\" : void 0,\n disabled,\n value,\n ...checkboxProps,\n ref: composedRefs,\n onKeyDown: composeEventHandlers(onKeyDown, (event) => {\n if (event.key === \"Enter\") event.preventDefault();\n }),\n onClick: composeEventHandlers(onClick, (event) => {\n setChecked((prevChecked) => isIndeterminate(prevChecked) ? true : !prevChecked);\n if (bubbleInput && isFormControl) {\n hasConsumerStoppedPropagationRef.current = event.isPropagationStopped();\n if (!hasConsumerStoppedPropagationRef.current) event.stopPropagation();\n }\n })\n }\n );\n }\n);\nCheckboxTrigger.displayName = TRIGGER_NAME;\nvar Checkbox = React.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopeCheckbox,\n name,\n checked,\n defaultChecked,\n required,\n disabled,\n value,\n onCheckedChange,\n form,\n ...checkboxProps\n } = props;\n return /* @__PURE__ */ jsx(\n CheckboxProvider,\n {\n __scopeCheckbox,\n checked,\n defaultChecked,\n disabled,\n required,\n onCheckedChange,\n name,\n form,\n value,\n internal_do_not_use_render: ({ isFormControl }) => /* @__PURE__ */ jsxs(Fragment, { children: [\n /* @__PURE__ */ jsx(\n CheckboxTrigger,\n {\n ...checkboxProps,\n ref: forwardedRef,\n __scopeCheckbox\n }\n ),\n isFormControl && /* @__PURE__ */ jsx(\n CheckboxBubbleInput,\n {\n __scopeCheckbox\n }\n )\n ] })\n }\n );\n }\n);\nCheckbox.displayName = CHECKBOX_NAME;\nvar INDICATOR_NAME = \"CheckboxIndicator\";\nvar CheckboxIndicator = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeCheckbox, forceMount, ...indicatorProps } = props;\n const context = useCheckboxContext(INDICATOR_NAME, __scopeCheckbox);\n return /* @__PURE__ */ jsx(\n Presence,\n {\n present: forceMount || isIndeterminate(context.checked) || context.checked === true,\n children: /* @__PURE__ */ jsx(\n Primitive.span,\n {\n \"data-state\": getState(context.checked),\n \"data-disabled\": context.disabled ? \"\" : void 0,\n ...indicatorProps,\n ref: forwardedRef,\n style: { pointerEvents: \"none\", ...props.style }\n }\n )\n }\n );\n }\n);\nCheckboxIndicator.displayName = INDICATOR_NAME;\nvar BUBBLE_INPUT_NAME = \"CheckboxBubbleInput\";\nvar CheckboxBubbleInput = React.forwardRef(\n ({ __scopeCheckbox, ...props }, forwardedRef) => {\n const {\n control,\n hasConsumerStoppedPropagationRef,\n checked,\n defaultChecked,\n required,\n disabled,\n name,\n value,\n form,\n bubbleInput,\n setBubbleInput\n } = useCheckboxContext(BUBBLE_INPUT_NAME, __scopeCheckbox);\n const composedRefs = useComposedRefs(forwardedRef, setBubbleInput);\n const prevChecked = usePrevious(checked);\n const controlSize = useSize(control);\n React.useEffect(() => {\n const input = bubbleInput;\n if (!input) return;\n const inputProto = window.HTMLInputElement.prototype;\n const descriptor = Object.getOwnPropertyDescriptor(\n inputProto,\n \"checked\"\n );\n const setChecked = descriptor.set;\n const bubbles = !hasConsumerStoppedPropagationRef.current;\n if (prevChecked !== checked && setChecked) {\n const event = new Event(\"click\", { bubbles });\n input.indeterminate = isIndeterminate(checked);\n setChecked.call(input, isIndeterminate(checked) ? false : checked);\n input.dispatchEvent(event);\n }\n }, [bubbleInput, prevChecked, checked, hasConsumerStoppedPropagationRef]);\n const defaultCheckedRef = React.useRef(isIndeterminate(checked) ? false : checked);\n return /* @__PURE__ */ jsx(\n Primitive.input,\n {\n type: \"checkbox\",\n \"aria-hidden\": true,\n defaultChecked: defaultChecked ?? defaultCheckedRef.current,\n required,\n disabled,\n name,\n value,\n form,\n ...props,\n tabIndex: -1,\n ref: composedRefs,\n style: {\n ...props.style,\n ...controlSize,\n position: \"absolute\",\n pointerEvents: \"none\",\n opacity: 0,\n margin: 0,\n // We transform because the input is absolutely positioned but we have\n // rendered it **after** the button. This pulls it back to sit on top\n // of the button.\n transform: \"translateX(-100%)\"\n }\n }\n );\n }\n);\nCheckboxBubbleInput.displayName = BUBBLE_INPUT_NAME;\nfunction isFunction(value) {\n return typeof value === \"function\";\n}\nfunction isIndeterminate(checked) {\n return checked === \"indeterminate\";\n}\nfunction getState(checked) {\n return isIndeterminate(checked) ? \"indeterminate\" : checked ? \"checked\" : \"unchecked\";\n}\nexport {\n Checkbox,\n CheckboxIndicator,\n CheckboxIndicator as Indicator,\n Checkbox as Root,\n createCheckboxScope,\n CheckboxBubbleInput as unstable_BubbleInput,\n CheckboxBubbleInput as unstable_CheckboxBubbleInput,\n CheckboxProvider as unstable_CheckboxProvider,\n CheckboxTrigger as unstable_CheckboxTrigger,\n CheckboxProvider as unstable_Provider,\n CheckboxTrigger as unstable_Trigger\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["jsx","jsxs","Fragment"],"mappings":";;;;;;;;;;;AAaA,IAAI,aAAa,GAAG,UAAU,CAAC;AAC5B,IAAC,CAAC,qBAAqB,EAAE,mBAAmB,CAAC,GAAG,kBAAkB,CAAC,aAAa,EAAE;AACrF,IAAI,CAAC,oBAAoB,EAAE,kBAAkB,CAAC,GAAG,qBAAqB,CAAC,aAAa,CAAC,CAAC;AACtF,SAAS,gBAAgB,CAAC,KAAK,EAAE;AACjC,EAAE,MAAM;AACR,IAAI,eAAe;AACnB,IAAI,OAAO,EAAE,WAAW;AACxB,IAAI,QAAQ;AACZ,IAAI,cAAc;AAClB,IAAI,QAAQ;AACZ,IAAI,IAAI;AACR,IAAI,IAAI;AACR,IAAI,eAAe;AACnB,IAAI,QAAQ;AACZ,IAAI,KAAK,GAAG,IAAI;AAChB;AACA,IAAI,0BAA0B;AAC9B,GAAG,GAAG,KAAK,CAAC;AACZ,EAAE,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,oBAAoB,CAAC;AACrD,IAAI,IAAI,EAAE,WAAW;AACrB,IAAI,WAAW,EAAE,cAAc,IAAI,KAAK;AACxC,IAAI,QAAQ,EAAE,eAAe;AAC7B,IAAI,MAAM,EAAE,aAAa;AACzB,GAAG,CAAC,CAAC;AACL,EAAE,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;AACrD,EAAE,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;AAC7D,EAAE,MAAM,gCAAgC,GAAG,KAAK,CAAC,MAAM,CA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e,CAAC,OAAO,EAAE;AAClC,EAAE,OAAO,OAAO,KAAK,eAAe,CAAC;AACrC,CAAC;AACD,SAAS,QAAQ,CAAC,OAAO,EAAE;AAC3B,EAAE,OAAO,eAAe,CAAC,OAAO,CAAC,GAAG,eAAe,GAAG,OAAO,GAAG,SAAS,GAAG,WAAW,CAAC;AACxF;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
|
-
var index$4 = require('../../../../../@radix-ui_primitive@1.1.
|
|
5
|
-
var index = require('../../../../../@radix-ui_react-context@1.1.
|
|
6
|
-
var index$1 = require('../../../../../@radix-ui_react-use-controllable-state@1.
|
|
7
|
-
var index$7 = require('../../../../../@radix-ui_react-use-layout-effect@1.1.
|
|
8
|
-
var index$6 = require('../../../../../@radix-ui_react-compose-refs@1.1.
|
|
9
|
-
var index$3 = require('../../../../../@radix-ui_react-primitive@2.
|
|
10
|
-
var index$5 = require('../../../../../@radix-ui_react-presence@1.1.
|
|
11
|
-
var index$2 = require('../../../../../@radix-ui_react-id@1.1.
|
|
4
|
+
var index$4 = require('../../../../../@radix-ui_primitive@1.1.2/node_modules/@radix-ui/primitive/dist/index.cjs');
|
|
5
|
+
var index = require('../../../../../@radix-ui_react-context@1.1.2_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-context/dist/index.cjs');
|
|
6
|
+
var index$1 = require('../../../../../@radix-ui_react-use-controllable-state@1.2.2_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs');
|
|
7
|
+
var index$7 = require('../../../../../@radix-ui_react-use-layout-effect@1.1.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs');
|
|
8
|
+
var index$6 = require('../../../../../@radix-ui_react-compose-refs@1.1.2_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-compose-refs/dist/index.cjs');
|
|
9
|
+
var index$3 = require('../../../../../@radix-ui_react-primitive@2.1.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3._wizft3keermhycaiqreghf4gsi/node_modules/@radix-ui/react-primitive/dist/index.cjs');
|
|
10
|
+
var index$5 = require('../../../../../@radix-ui_react-presence@1.1.4_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-presence/dist/index.cjs');
|
|
11
|
+
var index$2 = require('../../../../../@radix-ui_react-id@1.1.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-id/dist/index.cjs');
|
|
12
12
|
var jsxRuntime = require('../../../../../react@18.2.0/node_modules/react/jsx-runtime.cjs');
|
|
13
13
|
|
|
14
14
|
function _interopNamespaceDefault(e) {
|
|
@@ -43,10 +43,11 @@ var Collapsible = React__namespace.forwardRef(
|
|
|
43
43
|
onOpenChange,
|
|
44
44
|
...collapsibleProps
|
|
45
45
|
} = props;
|
|
46
|
-
const [open
|
|
46
|
+
const [open, setOpen] = index$1.useControllableState({
|
|
47
47
|
prop: openProp,
|
|
48
|
-
defaultProp: defaultOpen,
|
|
49
|
-
onChange: onOpenChange
|
|
48
|
+
defaultProp: defaultOpen ?? false,
|
|
49
|
+
onChange: onOpenChange,
|
|
50
|
+
caller: COLLAPSIBLE_NAME
|
|
50
51
|
});
|
|
51
52
|
return /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
|
|
52
53
|
CollapsibleProvider,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../../../../../../../../../node_modules/.pnpm/@radix-ui+react-collapsible@1.1.11_@types+react-dom@18.0.11_@types+react@18.2.12_react-dom@18_qdnr5tshbuses2czt45n43so7q/node_modules/@radix-ui/react-collapsible/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/collapsible.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { Presence } from \"@radix-ui/react-presence\";\nimport { useId } from \"@radix-ui/react-id\";\nimport { jsx } from \"react/jsx-runtime\";\nvar COLLAPSIBLE_NAME = \"Collapsible\";\nvar [createCollapsibleContext, createCollapsibleScope] = createContextScope(COLLAPSIBLE_NAME);\nvar [CollapsibleProvider, useCollapsibleContext] = createCollapsibleContext(COLLAPSIBLE_NAME);\nvar Collapsible = React.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopeCollapsible,\n open: openProp,\n defaultOpen,\n disabled,\n onOpenChange,\n ...collapsibleProps\n } = props;\n const [open, setOpen] = useControllableState({\n prop: openProp,\n defaultProp: defaultOpen ?? false,\n onChange: onOpenChange,\n caller: COLLAPSIBLE_NAME\n });\n return /* @__PURE__ */ jsx(\n CollapsibleProvider,\n {\n scope: __scopeCollapsible,\n disabled,\n contentId: useId(),\n open,\n onOpenToggle: React.useCallback(() => setOpen((prevOpen) => !prevOpen), [setOpen]),\n children: /* @__PURE__ */ jsx(\n Primitive.div,\n {\n \"data-state\": getState(open),\n \"data-disabled\": disabled ? \"\" : void 0,\n ...collapsibleProps,\n ref: forwardedRef\n }\n )\n }\n );\n }\n);\nCollapsible.displayName = COLLAPSIBLE_NAME;\nvar TRIGGER_NAME = \"CollapsibleTrigger\";\nvar CollapsibleTrigger = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeCollapsible, ...triggerProps } = props;\n const context = useCollapsibleContext(TRIGGER_NAME, __scopeCollapsible);\n return /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n \"aria-controls\": context.contentId,\n \"aria-expanded\": context.open || false,\n \"data-state\": getState(context.open),\n \"data-disabled\": context.disabled ? \"\" : void 0,\n disabled: context.disabled,\n ...triggerProps,\n ref: forwardedRef,\n onClick: composeEventHandlers(props.onClick, context.onOpenToggle)\n }\n );\n }\n);\nCollapsibleTrigger.displayName = TRIGGER_NAME;\nvar CONTENT_NAME = \"CollapsibleContent\";\nvar CollapsibleContent = React.forwardRef(\n (props, forwardedRef) => {\n const { forceMount, ...contentProps } = props;\n const context = useCollapsibleContext(CONTENT_NAME, props.__scopeCollapsible);\n return /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: ({ present }) => /* @__PURE__ */ jsx(CollapsibleContentImpl, { ...contentProps, ref: forwardedRef, present }) });\n }\n);\nCollapsibleContent.displayName = CONTENT_NAME;\nvar CollapsibleContentImpl = React.forwardRef((props, forwardedRef) => {\n const { __scopeCollapsible, present, children, ...contentProps } = props;\n const context = useCollapsibleContext(CONTENT_NAME, __scopeCollapsible);\n const [isPresent, setIsPresent] = React.useState(present);\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n const heightRef = React.useRef(0);\n const height = heightRef.current;\n const widthRef = React.useRef(0);\n const width = widthRef.current;\n const isOpen = context.open || isPresent;\n const isMountAnimationPreventedRef = React.useRef(isOpen);\n const originalStylesRef = React.useRef(void 0);\n React.useEffect(() => {\n const rAF = requestAnimationFrame(() => isMountAnimationPreventedRef.current = false);\n return () => cancelAnimationFrame(rAF);\n }, []);\n useLayoutEffect(() => {\n const node = ref.current;\n if (node) {\n originalStylesRef.current = originalStylesRef.current || {\n transitionDuration: node.style.transitionDuration,\n animationName: node.style.animationName\n };\n node.style.transitionDuration = \"0s\";\n node.style.animationName = \"none\";\n const rect = node.getBoundingClientRect();\n heightRef.current = rect.height;\n widthRef.current = rect.width;\n if (!isMountAnimationPreventedRef.current) {\n node.style.transitionDuration = originalStylesRef.current.transitionDuration;\n node.style.animationName = originalStylesRef.current.animationName;\n }\n setIsPresent(present);\n }\n }, [context.open, present]);\n return /* @__PURE__ */ jsx(\n Primitive.div,\n {\n \"data-state\": getState(context.open),\n \"data-disabled\": context.disabled ? \"\" : void 0,\n id: context.contentId,\n hidden: !isOpen,\n ...contentProps,\n ref: composedRefs,\n style: {\n [`--radix-collapsible-content-height`]: height ? `${height}px` : void 0,\n [`--radix-collapsible-content-width`]: width ? `${width}px` : void 0,\n ...props.style\n },\n children: isOpen && children\n }\n );\n});\nfunction getState(open) {\n return open ? \"open\" : \"closed\";\n}\nvar Root = Collapsible;\nvar Trigger = CollapsibleTrigger;\nvar Content = CollapsibleContent;\nexport {\n Collapsible,\n CollapsibleContent,\n CollapsibleTrigger,\n Content,\n Root,\n Trigger,\n createCollapsibleScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["createContextScope","React","useControllableState","jsx","useId","Primitive","composeEventHandlers","Presence","useComposedRefs","useLayoutEffect"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAaA,IAAI,gBAAgB,GAAG,aAAa,CAAC;AAClC,IAAC,CAAC,wBAAwB,EAAE,sBAAsB,CAAC,GAAGA,wBAAkB,CAAC,gBAAgB,EAAE;AAC9F,IAAI,CAAC,mBAAmB,EAAE,qBAAqB,CAAC,GAAG,wBAAwB,CAAC,gBAAgB,CAAC,CAAC;AAC3F,IAAC,WAAW,GAAGC,gBAAK,CAAC,UAAU;AAClC,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK;AAC3B,IAAI,MAAM;AACV,MAAM,kBAAkB;AACxB,MAAM,IAAI,EAAE,QAAQ;AACpB,MAAM,WAAW;AACjB,MAAM,QAAQ;AACd,MAAM,YAAY;AAClB,MAAM,GAAG,gBAAgB;AACzB,KAAK,GAAG,KAAK,CAAC;AACd,IAAI,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAGC,4BAAoB,CAAC;AACjD,MAAM,IAAI,EAAE,QAAQ;AACpB,MAAM,WAAW,EAAE,WAAW,IAAI,KAAK;AACvC,MAAM,QAAQ,EAAE,YAAY;AAC5B,MAAM,MAAM,EAAE,gBAAgB;AAC9B,KAAK,CAAC,C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AAC;AAC/E,QAAQ,CAAC,CAAC,iCAAiC,CAAC,GAAG,KAAK,GAAG,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC;AAC5E,QAAQ,GAAG,KAAK,CAAC,KAAK;AACtB,OAAO;AACP,MAAM,QAAQ,EAAE,MAAM,IAAI,QAAQ;AAClC,KAAK;AACL,GAAG,CAAC;AACJ,CAAC,CAAC,CAAC;AACH,SAAS,QAAQ,CAAC,IAAI,EAAE;AACxB,EAAE,OAAO,IAAI,GAAG,MAAM,GAAG,QAAQ,CAAC;AAClC,CAAC;AACE,IAAC,IAAI,GAAG;;;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { composeEventHandlers } from '../../../../../@radix-ui_primitive@1.1.
|
|
3
|
-
import { createContextScope } from '../../../../../@radix-ui_react-context@1.1.
|
|
4
|
-
import { useControllableState } from '../../../../../@radix-ui_react-use-controllable-state@1.
|
|
5
|
-
import { useLayoutEffect as useLayoutEffect2 } from '../../../../../@radix-ui_react-use-layout-effect@1.1.
|
|
6
|
-
import { useComposedRefs } from '../../../../../@radix-ui_react-compose-refs@1.1.
|
|
7
|
-
import { Primitive } from '../../../../../@radix-ui_react-primitive@2.
|
|
8
|
-
import { Presence } from '../../../../../@radix-ui_react-presence@1.1.
|
|
9
|
-
import { useId } from '../../../../../@radix-ui_react-id@1.1.
|
|
2
|
+
import { composeEventHandlers } from '../../../../../@radix-ui_primitive@1.1.2/node_modules/@radix-ui/primitive/dist/index.js';
|
|
3
|
+
import { createContextScope } from '../../../../../@radix-ui_react-context@1.1.2_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-context/dist/index.js';
|
|
4
|
+
import { useControllableState } from '../../../../../@radix-ui_react-use-controllable-state@1.2.2_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-controllable-state/dist/index.js';
|
|
5
|
+
import { useLayoutEffect as useLayoutEffect2 } from '../../../../../@radix-ui_react-use-layout-effect@1.1.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-use-layout-effect/dist/index.js';
|
|
6
|
+
import { useComposedRefs } from '../../../../../@radix-ui_react-compose-refs@1.1.2_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-compose-refs/dist/index.js';
|
|
7
|
+
import { Primitive } from '../../../../../@radix-ui_react-primitive@2.1.3_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3._wizft3keermhycaiqreghf4gsi/node_modules/@radix-ui/react-primitive/dist/index.js';
|
|
8
|
+
import { Presence } from '../../../../../@radix-ui_react-presence@1.1.4_@types_react-dom@18.0.11_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-presence/dist/index.js';
|
|
9
|
+
import { useId } from '../../../../../@radix-ui_react-id@1.1.1_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-id/dist/index.js';
|
|
10
10
|
import { j as jsxRuntimeExports } from '../../../../../react@18.2.0/node_modules/react/jsx-runtime.js';
|
|
11
11
|
|
|
12
12
|
var COLLAPSIBLE_NAME = "Collapsible";
|
|
@@ -22,10 +22,11 @@ var Collapsible = React.forwardRef(
|
|
|
22
22
|
onOpenChange,
|
|
23
23
|
...collapsibleProps
|
|
24
24
|
} = props;
|
|
25
|
-
const [open
|
|
25
|
+
const [open, setOpen] = useControllableState({
|
|
26
26
|
prop: openProp,
|
|
27
|
-
defaultProp: defaultOpen,
|
|
28
|
-
onChange: onOpenChange
|
|
27
|
+
defaultProp: defaultOpen ?? false,
|
|
28
|
+
onChange: onOpenChange,
|
|
29
|
+
caller: COLLAPSIBLE_NAME
|
|
29
30
|
});
|
|
30
31
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
31
32
|
CollapsibleProvider,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../../../../../../node_modules/.pnpm/@radix-ui+react-collapsible@1.1.11_@types+react-dom@18.0.11_@types+react@18.2.12_react-dom@18_qdnr5tshbuses2czt45n43so7q/node_modules/@radix-ui/react-collapsible/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/collapsible.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { Presence } from \"@radix-ui/react-presence\";\nimport { useId } from \"@radix-ui/react-id\";\nimport { jsx } from \"react/jsx-runtime\";\nvar COLLAPSIBLE_NAME = \"Collapsible\";\nvar [createCollapsibleContext, createCollapsibleScope] = createContextScope(COLLAPSIBLE_NAME);\nvar [CollapsibleProvider, useCollapsibleContext] = createCollapsibleContext(COLLAPSIBLE_NAME);\nvar Collapsible = React.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopeCollapsible,\n open: openProp,\n defaultOpen,\n disabled,\n onOpenChange,\n ...collapsibleProps\n } = props;\n const [open, setOpen] = useControllableState({\n prop: openProp,\n defaultProp: defaultOpen ?? false,\n onChange: onOpenChange,\n caller: COLLAPSIBLE_NAME\n });\n return /* @__PURE__ */ jsx(\n CollapsibleProvider,\n {\n scope: __scopeCollapsible,\n disabled,\n contentId: useId(),\n open,\n onOpenToggle: React.useCallback(() => setOpen((prevOpen) => !prevOpen), [setOpen]),\n children: /* @__PURE__ */ jsx(\n Primitive.div,\n {\n \"data-state\": getState(open),\n \"data-disabled\": disabled ? \"\" : void 0,\n ...collapsibleProps,\n ref: forwardedRef\n }\n )\n }\n );\n }\n);\nCollapsible.displayName = COLLAPSIBLE_NAME;\nvar TRIGGER_NAME = \"CollapsibleTrigger\";\nvar CollapsibleTrigger = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeCollapsible, ...triggerProps } = props;\n const context = useCollapsibleContext(TRIGGER_NAME, __scopeCollapsible);\n return /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n \"aria-controls\": context.contentId,\n \"aria-expanded\": context.open || false,\n \"data-state\": getState(context.open),\n \"data-disabled\": context.disabled ? \"\" : void 0,\n disabled: context.disabled,\n ...triggerProps,\n ref: forwardedRef,\n onClick: composeEventHandlers(props.onClick, context.onOpenToggle)\n }\n );\n }\n);\nCollapsibleTrigger.displayName = TRIGGER_NAME;\nvar CONTENT_NAME = \"CollapsibleContent\";\nvar CollapsibleContent = React.forwardRef(\n (props, forwardedRef) => {\n const { forceMount, ...contentProps } = props;\n const context = useCollapsibleContext(CONTENT_NAME, props.__scopeCollapsible);\n return /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: ({ present }) => /* @__PURE__ */ jsx(CollapsibleContentImpl, { ...contentProps, ref: forwardedRef, present }) });\n }\n);\nCollapsibleContent.displayName = CONTENT_NAME;\nvar CollapsibleContentImpl = React.forwardRef((props, forwardedRef) => {\n const { __scopeCollapsible, present, children, ...contentProps } = props;\n const context = useCollapsibleContext(CONTENT_NAME, __scopeCollapsible);\n const [isPresent, setIsPresent] = React.useState(present);\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n const heightRef = React.useRef(0);\n const height = heightRef.current;\n const widthRef = React.useRef(0);\n const width = widthRef.current;\n const isOpen = context.open || isPresent;\n const isMountAnimationPreventedRef = React.useRef(isOpen);\n const originalStylesRef = React.useRef(void 0);\n React.useEffect(() => {\n const rAF = requestAnimationFrame(() => isMountAnimationPreventedRef.current = false);\n return () => cancelAnimationFrame(rAF);\n }, []);\n useLayoutEffect(() => {\n const node = ref.current;\n if (node) {\n originalStylesRef.current = originalStylesRef.current || {\n transitionDuration: node.style.transitionDuration,\n animationName: node.style.animationName\n };\n node.style.transitionDuration = \"0s\";\n node.style.animationName = \"none\";\n const rect = node.getBoundingClientRect();\n heightRef.current = rect.height;\n widthRef.current = rect.width;\n if (!isMountAnimationPreventedRef.current) {\n node.style.transitionDuration = originalStylesRef.current.transitionDuration;\n node.style.animationName = originalStylesRef.current.animationName;\n }\n setIsPresent(present);\n }\n }, [context.open, present]);\n return /* @__PURE__ */ jsx(\n Primitive.div,\n {\n \"data-state\": getState(context.open),\n \"data-disabled\": context.disabled ? \"\" : void 0,\n id: context.contentId,\n hidden: !isOpen,\n ...contentProps,\n ref: composedRefs,\n style: {\n [`--radix-collapsible-content-height`]: height ? `${height}px` : void 0,\n [`--radix-collapsible-content-width`]: width ? `${width}px` : void 0,\n ...props.style\n },\n children: isOpen && children\n }\n );\n});\nfunction getState(open) {\n return open ? \"open\" : \"closed\";\n}\nvar Root = Collapsible;\nvar Trigger = CollapsibleTrigger;\nvar Content = CollapsibleContent;\nexport {\n Collapsible,\n CollapsibleContent,\n CollapsibleTrigger,\n Content,\n Root,\n Trigger,\n createCollapsibleScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["jsx","useLayoutEffect"],"mappings":";;;;;;;;;;;AAaA,IAAI,gBAAgB,GAAG,aAAa,CAAC;AAClC,IAAC,CAAC,wBAAwB,EAAE,sBAAsB,CAAC,GAAG,kBAAkB,CAAC,gBAAgB,EAAE;AAC9F,IAAI,CAAC,mBAAmB,EAAE,qBAAqB,CAAC,GAAG,wBAAwB,CAAC,gBAAgB,CAAC,CAAC;AAC3F,IAAC,WAAW,GAAG,KAAK,CAAC,UAAU;AAClC,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK;AAC3B,IAAI,MAAM;AACV,MAAM,kBAAkB;AACxB,MAAM,IAAI,EAAE,QAAQ;AACpB,MAAM,WAAW;AACjB,MAAM,QAAQ;AACd,MAAM,YAAY;AAClB,MAAM,GAAG,gBAAgB;AACzB,KAAK,GAAG,KAAK,CAAC;AACd,IAAI,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,oBAAoB,CAAC;AACjD,MAAM,IAAI,EAAE,QAAQ;AACpB,M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AkC,CAAC,GAAG,MAAM,GAAG,CAAC,EAAE,MAAM,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC;AAC/E,QAAQ,CAAC,CAAC,iCAAiC,CAAC,GAAG,KAAK,GAAG,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC;AAC5E,QAAQ,GAAG,KAAK,CAAC,KAAK;AACtB,OAAO;AACP,MAAM,QAAQ,EAAE,MAAM,IAAI,QAAQ;AAClC,KAAK;AACL,GAAG,CAAC;AACJ,CAAC,CAAC,CAAC;AACH,SAAS,QAAQ,CAAC,IAAI,EAAE;AACxB,EAAE,OAAO,IAAI,GAAG,MAAM,GAAG,QAAQ,CAAC;AAClC,CAAC;AACE,IAAC,IAAI,GAAG;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
|
-
var index = require('../../../../../@radix-ui_react-context@1.1.
|
|
5
|
-
var index$1 = require('../../../../../@radix-ui_react-compose-refs@1.1.
|
|
6
|
-
var index$2 = require('../../../../../@radix-ui_react-slot@1.
|
|
4
|
+
var index = require('../../../../../@radix-ui_react-context@1.1.2_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-context/dist/index.cjs');
|
|
5
|
+
var index$1 = require('../../../../../@radix-ui_react-compose-refs@1.1.2_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-compose-refs/dist/index.cjs');
|
|
6
|
+
var index$2 = require('../../../../../@radix-ui_react-slot@1.2.3_@types_react@18.2.12_react@18.2.0/node_modules/@radix-ui/react-slot/dist/index.cjs');
|
|
7
7
|
var jsxRuntime = require('../../../../../react@18.2.0/node_modules/react/jsx-runtime.cjs');
|
|
8
8
|
|
|
9
9
|
function createCollection(name) {
|
|
@@ -21,17 +21,19 @@ function createCollection(name) {
|
|
|
21
21
|
};
|
|
22
22
|
CollectionProvider.displayName = PROVIDER_NAME;
|
|
23
23
|
const COLLECTION_SLOT_NAME = name + "CollectionSlot";
|
|
24
|
+
const CollectionSlotImpl = index$2.createSlot(COLLECTION_SLOT_NAME);
|
|
24
25
|
const CollectionSlot = React.forwardRef(
|
|
25
26
|
(props, forwardedRef) => {
|
|
26
27
|
const { scope, children } = props;
|
|
27
28
|
const context = useCollectionContext(COLLECTION_SLOT_NAME, scope);
|
|
28
29
|
const composedRefs = index$1.useComposedRefs(forwardedRef, context.collectionRef);
|
|
29
|
-
return /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
|
|
30
|
+
return /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(CollectionSlotImpl, { ref: composedRefs, children });
|
|
30
31
|
}
|
|
31
32
|
);
|
|
32
33
|
CollectionSlot.displayName = COLLECTION_SLOT_NAME;
|
|
33
34
|
const ITEM_SLOT_NAME = name + "CollectionItemSlot";
|
|
34
35
|
const ITEM_DATA_ATTR = "data-radix-collection-item";
|
|
36
|
+
const CollectionItemSlotImpl = index$2.createSlot(ITEM_SLOT_NAME);
|
|
35
37
|
const CollectionItemSlot = React.forwardRef(
|
|
36
38
|
(props, forwardedRef) => {
|
|
37
39
|
const { scope, children, ...itemData } = props;
|
|
@@ -42,7 +44,7 @@ function createCollection(name) {
|
|
|
42
44
|
context.itemMap.set(ref, { ref, ...itemData });
|
|
43
45
|
return () => void context.itemMap.delete(ref);
|
|
44
46
|
});
|
|
45
|
-
return /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
|
|
47
|
+
return /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(CollectionItemSlotImpl, { ...{ [ITEM_DATA_ATTR]: "" }, ref: composedRefs, children });
|
|
46
48
|
}
|
|
47
49
|
);
|
|
48
50
|
CollectionItemSlot.displayName = ITEM_SLOT_NAME;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../../../../../../../../../../../node_modules/.pnpm/@radix-ui+react-collection@1.1.6_@types+react-dom@18.0.11_@types+react@18.2.12_react-dom@18.3_q6wngd5sud2jo5l3sykxhor6am/node_modules/@radix-ui/react-collection/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/collection-legacy.tsx\nimport React from \"react\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createSlot } from \"@radix-ui/react-slot\";\nimport { jsx } from \"react/jsx-runtime\";\nfunction createCollection(name) {\n const PROVIDER_NAME = name + \"CollectionProvider\";\n const [createCollectionContext, createCollectionScope] = createContextScope(PROVIDER_NAME);\n const [CollectionProviderImpl, useCollectionContext] = createCollectionContext(\n PROVIDER_NAME,\n { collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }\n );\n const CollectionProvider = (props) => {\n const { scope, children } = props;\n const ref = React.useRef(null);\n const itemMap = React.useRef(/* @__PURE__ */ new Map()).current;\n return /* @__PURE__ */ jsx(CollectionProviderImpl, { scope, itemMap, collectionRef: ref, children });\n };\n CollectionProvider.displayName = PROVIDER_NAME;\n const COLLECTION_SLOT_NAME = name + \"CollectionSlot\";\n const CollectionSlotImpl = createSlot(COLLECTION_SLOT_NAME);\n const CollectionSlot = React.forwardRef(\n (props, forwardedRef) => {\n const { scope, children } = props;\n const context = useCollectionContext(COLLECTION_SLOT_NAME, scope);\n const composedRefs = useComposedRefs(forwardedRef, context.collectionRef);\n return /* @__PURE__ */ jsx(CollectionSlotImpl, { ref: composedRefs, children });\n }\n );\n CollectionSlot.displayName = COLLECTION_SLOT_NAME;\n const ITEM_SLOT_NAME = name + \"CollectionItemSlot\";\n const ITEM_DATA_ATTR = \"data-radix-collection-item\";\n const CollectionItemSlotImpl = createSlot(ITEM_SLOT_NAME);\n const CollectionItemSlot = React.forwardRef(\n (props, forwardedRef) => {\n const { scope, children, ...itemData } = props;\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n const context = useCollectionContext(ITEM_SLOT_NAME, scope);\n React.useEffect(() => {\n context.itemMap.set(ref, { ref, ...itemData });\n return () => void context.itemMap.delete(ref);\n });\n return /* @__PURE__ */ jsx(CollectionItemSlotImpl, { ...{ [ITEM_DATA_ATTR]: \"\" }, ref: composedRefs, children });\n }\n );\n CollectionItemSlot.displayName = ITEM_SLOT_NAME;\n function useCollection(scope) {\n const context = useCollectionContext(name + \"CollectionConsumer\", scope);\n const getItems = React.useCallback(() => {\n const collectionNode = context.collectionRef.current;\n if (!collectionNode) return [];\n const orderedNodes = Array.from(collectionNode.querySelectorAll(`[${ITEM_DATA_ATTR}]`));\n const items = Array.from(context.itemMap.values());\n const orderedItems = items.sort(\n (a, b) => orderedNodes.indexOf(a.ref.current) - orderedNodes.indexOf(b.ref.current)\n );\n return orderedItems;\n }, [context.collectionRef, context.itemMap]);\n return getItems;\n }\n return [\n { Provider: CollectionProvider, Slot: CollectionSlot, ItemSlot: CollectionItemSlot },\n useCollection,\n createCollectionScope\n ];\n}\n\n// src/collection.tsx\nimport React2 from \"react\";\nimport { createContextScope as createContextScope2 } from \"@radix-ui/react-context\";\nimport { useComposedRefs as useComposedRefs2 } from \"@radix-ui/react-compose-refs\";\nimport { createSlot as createSlot2 } from \"@radix-ui/react-slot\";\n\n// src/ordered-dictionary.ts\nvar __instanciated = /* @__PURE__ */ new WeakMap();\nvar OrderedDict = class _OrderedDict extends Map {\n #keys;\n constructor(entries) {\n super(entries);\n this.#keys = [...super.keys()];\n __instanciated.set(this, true);\n }\n set(key, value) {\n if (__instanciated.get(this)) {\n if (this.has(key)) {\n this.#keys[this.#keys.indexOf(key)] = key;\n } else {\n this.#keys.push(key);\n }\n }\n super.set(key, value);\n return this;\n }\n insert(index, key, value) {\n const has = this.has(key);\n const length = this.#keys.length;\n const relativeIndex = toSafeInteger(index);\n let actualIndex = relativeIndex >= 0 ? relativeIndex : length + relativeIndex;\n const safeIndex = actualIndex < 0 || actualIndex >= length ? -1 : actualIndex;\n if (safeIndex === this.size || has && safeIndex === this.size - 1 || safeIndex === -1) {\n this.set(key, value);\n return this;\n }\n const size = this.size + (has ? 0 : 1);\n if (relativeIndex < 0) {\n actualIndex++;\n }\n const keys = [...this.#keys];\n let nextValue;\n let shouldSkip = false;\n for (let i = actualIndex; i < size; i++) {\n if (actualIndex === i) {\n let nextKey = keys[i];\n if (keys[i] === key) {\n nextKey = keys[i + 1];\n }\n if (has) {\n this.delete(key);\n }\n nextValue = this.get(nextKey);\n this.set(key, value);\n } else {\n if (!shouldSkip && keys[i - 1] === key) {\n shouldSkip = true;\n }\n const currentKey = keys[shouldSkip ? i : i - 1];\n const currentValue = nextValue;\n nextValue = this.get(currentKey);\n this.delete(currentKey);\n this.set(currentKey, currentValue);\n }\n }\n return this;\n }\n with(index, key, value) {\n const copy = new _OrderedDict(this);\n copy.insert(index, key, value);\n return copy;\n }\n before(key) {\n const index = this.#keys.indexOf(key) - 1;\n if (index < 0) {\n return void 0;\n }\n return this.entryAt(index);\n }\n /**\n * Sets a new key-value pair at the position before the given key.\n */\n setBefore(key, newKey, value) {\n const index = this.#keys.indexOf(key);\n if (index === -1) {\n return this;\n }\n return this.insert(index, newKey, value);\n }\n after(key) {\n let index = this.#keys.indexOf(key);\n index = index === -1 || index === this.size - 1 ? -1 : index + 1;\n if (index === -1) {\n return void 0;\n }\n return this.entryAt(index);\n }\n /**\n * Sets a new key-value pair at the position after the given key.\n */\n setAfter(key, newKey, value) {\n const index = this.#keys.indexOf(key);\n if (index === -1) {\n return this;\n }\n return this.insert(index + 1, newKey, value);\n }\n first() {\n return this.entryAt(0);\n }\n last() {\n return this.entryAt(-1);\n }\n clear() {\n this.#keys = [];\n return super.clear();\n }\n delete(key) {\n const deleted = super.delete(key);\n if (deleted) {\n this.#keys.splice(this.#keys.indexOf(key), 1);\n }\n return deleted;\n }\n deleteAt(index) {\n const key = this.keyAt(index);\n if (key !== void 0) {\n return this.delete(key);\n }\n return false;\n }\n at(index) {\n const key = at(this.#keys, index);\n if (key !== void 0) {\n return this.get(key);\n }\n }\n entryAt(index) {\n const key = at(this.#keys, index);\n if (key !== void 0) {\n return [key, this.get(key)];\n }\n }\n indexOf(key) {\n return this.#keys.indexOf(key);\n }\n keyAt(index) {\n return at(this.#keys, index);\n }\n from(key, offset) {\n const index = this.indexOf(key);\n if (index === -1) {\n return void 0;\n }\n let dest = index + offset;\n if (dest < 0) dest = 0;\n if (dest >= this.size) dest = this.size - 1;\n return this.at(dest);\n }\n keyFrom(key, offset) {\n const index = this.indexOf(key);\n if (index === -1) {\n return void 0;\n }\n let dest = index + offset;\n if (dest < 0) dest = 0;\n if (dest >= this.size) dest = this.size - 1;\n return this.keyAt(dest);\n }\n find(predicate, thisArg) {\n let index = 0;\n for (const entry of this) {\n if (Reflect.apply(predicate, thisArg, [entry, index, this])) {\n return entry;\n }\n index++;\n }\n return void 0;\n }\n findIndex(predicate, thisArg) {\n let index = 0;\n for (const entry of this) {\n if (Reflect.apply(predicate, thisArg, [entry, index, this])) {\n return index;\n }\n index++;\n }\n return -1;\n }\n filter(predicate, thisArg) {\n const entries = [];\n let index = 0;\n for (const entry of this) {\n if (Reflect.apply(predicate, thisArg, [entry, index, this])) {\n entries.push(entry);\n }\n index++;\n }\n return new _OrderedDict(entries);\n }\n map(callbackfn, thisArg) {\n const entries = [];\n let index = 0;\n for (const entry of this) {\n entries.push([entry[0], Reflect.apply(callbackfn, thisArg, [entry, index, this])]);\n index++;\n }\n return new _OrderedDict(entries);\n }\n reduce(...args) {\n const [callbackfn, initialValue] = args;\n let index = 0;\n let accumulator = initialValue ?? this.at(0);\n for (const entry of this) {\n if (index === 0 && args.length === 1) {\n accumulator = entry;\n } else {\n accumulator = Reflect.apply(callbackfn, this, [accumulator, entry, index, this]);\n }\n index++;\n }\n return accumulator;\n }\n reduceRight(...args) {\n const [callbackfn, initialValue] = args;\n let accumulator = initialValue ?? this.at(-1);\n for (let index = this.size - 1; index >= 0; index--) {\n const entry = this.at(index);\n if (index === this.size - 1 && args.length === 1) {\n accumulator = entry;\n } else {\n accumulator = Reflect.apply(callbackfn, this, [accumulator, entry, index, this]);\n }\n }\n return accumulator;\n }\n toSorted(compareFn) {\n const entries = [...this.entries()].sort(compareFn);\n return new _OrderedDict(entries);\n }\n toReversed() {\n const reversed = new _OrderedDict();\n for (let index = this.size - 1; index >= 0; index--) {\n const key = this.keyAt(index);\n const element = this.get(key);\n reversed.set(key, element);\n }\n return reversed;\n }\n toSpliced(...args) {\n const entries = [...this.entries()];\n entries.splice(...args);\n return new _OrderedDict(entries);\n }\n slice(start, end) {\n const result = new _OrderedDict();\n let stop = this.size - 1;\n if (start === void 0) {\n return result;\n }\n if (start < 0) {\n start = start + this.size;\n }\n if (end !== void 0 && end > 0) {\n stop = end - 1;\n }\n for (let index = start; index <= stop; index++) {\n const key = this.keyAt(index);\n const element = this.get(key);\n result.set(key, element);\n }\n return result;\n }\n every(predicate, thisArg) {\n let index = 0;\n for (const entry of this) {\n if (!Reflect.apply(predicate, thisArg, [entry, index, this])) {\n return false;\n }\n index++;\n }\n return true;\n }\n some(predicate, thisArg) {\n let index = 0;\n for (const entry of this) {\n if (Reflect.apply(predicate, thisArg, [entry, index, this])) {\n return true;\n }\n index++;\n }\n return false;\n }\n};\nfunction at(array, index) {\n if (\"at\" in Array.prototype) {\n return Array.prototype.at.call(array, index);\n }\n const actualIndex = toSafeIndex(array, index);\n return actualIndex === -1 ? void 0 : array[actualIndex];\n}\nfunction toSafeIndex(array, index) {\n const length = array.length;\n const relativeIndex = toSafeInteger(index);\n const actualIndex = relativeIndex >= 0 ? relativeIndex : length + relativeIndex;\n return actualIndex < 0 || actualIndex >= length ? -1 : actualIndex;\n}\nfunction toSafeInteger(number) {\n return number !== number || number === 0 ? 0 : Math.trunc(number);\n}\n\n// src/collection.tsx\nimport { jsx as jsx2 } from \"react/jsx-runtime\";\nfunction createCollection2(name) {\n const PROVIDER_NAME = name + \"CollectionProvider\";\n const [createCollectionContext, createCollectionScope] = createContextScope2(PROVIDER_NAME);\n const [CollectionContextProvider, useCollectionContext] = createCollectionContext(\n PROVIDER_NAME,\n {\n collectionElement: null,\n collectionRef: { current: null },\n collectionRefObject: { current: null },\n itemMap: new OrderedDict(),\n setItemMap: () => void 0\n }\n );\n const CollectionProvider = ({ state, ...props }) => {\n return state ? /* @__PURE__ */ jsx2(CollectionProviderImpl, { ...props, state }) : /* @__PURE__ */ jsx2(CollectionInit, { ...props });\n };\n CollectionProvider.displayName = PROVIDER_NAME;\n const CollectionInit = (props) => {\n const state = useInitCollection();\n return /* @__PURE__ */ jsx2(CollectionProviderImpl, { ...props, state });\n };\n CollectionInit.displayName = PROVIDER_NAME + \"Init\";\n const CollectionProviderImpl = (props) => {\n const { scope, children, state } = props;\n const ref = React2.useRef(null);\n const [collectionElement, setCollectionElement] = React2.useState(\n null\n );\n const composeRefs = useComposedRefs2(ref, setCollectionElement);\n const [itemMap, setItemMap] = state;\n React2.useEffect(() => {\n if (!collectionElement) return;\n const observer = getChildListObserver(() => {\n });\n observer.observe(collectionElement, {\n childList: true,\n subtree: true\n });\n return () => {\n observer.disconnect();\n };\n }, [collectionElement]);\n return /* @__PURE__ */ jsx2(\n CollectionContextProvider,\n {\n scope,\n itemMap,\n setItemMap,\n collectionRef: composeRefs,\n collectionRefObject: ref,\n collectionElement,\n children\n }\n );\n };\n CollectionProviderImpl.displayName = PROVIDER_NAME + \"Impl\";\n const COLLECTION_SLOT_NAME = name + \"CollectionSlot\";\n const CollectionSlotImpl = createSlot2(COLLECTION_SLOT_NAME);\n const CollectionSlot = React2.forwardRef(\n (props, forwardedRef) => {\n const { scope, children } = props;\n const context = useCollectionContext(COLLECTION_SLOT_NAME, scope);\n const composedRefs = useComposedRefs2(forwardedRef, context.collectionRef);\n return /* @__PURE__ */ jsx2(CollectionSlotImpl, { ref: composedRefs, children });\n }\n );\n CollectionSlot.displayName = COLLECTION_SLOT_NAME;\n const ITEM_SLOT_NAME = name + \"CollectionItemSlot\";\n const ITEM_DATA_ATTR = \"data-radix-collection-item\";\n const CollectionItemSlotImpl = createSlot2(ITEM_SLOT_NAME);\n const CollectionItemSlot = React2.forwardRef(\n (props, forwardedRef) => {\n const { scope, children, ...itemData } = props;\n const ref = React2.useRef(null);\n const [element, setElement] = React2.useState(null);\n const composedRefs = useComposedRefs2(forwardedRef, ref, setElement);\n const context = useCollectionContext(ITEM_SLOT_NAME, scope);\n const { setItemMap } = context;\n const itemDataRef = React2.useRef(itemData);\n if (!shallowEqual(itemDataRef.current, itemData)) {\n itemDataRef.current = itemData;\n }\n const memoizedItemData = itemDataRef.current;\n React2.useEffect(() => {\n const itemData2 = memoizedItemData;\n setItemMap((map) => {\n if (!element) {\n return map;\n }\n if (!map.has(element)) {\n map.set(element, { ...itemData2, element });\n return map.toSorted(sortByDocumentPosition);\n }\n return map.set(element, { ...itemData2, element }).toSorted(sortByDocumentPosition);\n });\n return () => {\n setItemMap((map) => {\n if (!element || !map.has(element)) {\n return map;\n }\n map.delete(element);\n return new OrderedDict(map);\n });\n };\n }, [element, memoizedItemData, setItemMap]);\n return /* @__PURE__ */ jsx2(CollectionItemSlotImpl, { ...{ [ITEM_DATA_ATTR]: \"\" }, ref: composedRefs, children });\n }\n );\n CollectionItemSlot.displayName = ITEM_SLOT_NAME;\n function useInitCollection() {\n return React2.useState(new OrderedDict());\n }\n function useCollection(scope) {\n const { itemMap } = useCollectionContext(name + \"CollectionConsumer\", scope);\n return itemMap;\n }\n const functions = {\n createCollectionScope,\n useCollection,\n useInitCollection\n };\n return [\n { Provider: CollectionProvider, Slot: CollectionSlot, ItemSlot: CollectionItemSlot },\n functions\n ];\n}\nfunction shallowEqual(a, b) {\n if (a === b) return true;\n if (typeof a !== \"object\" || typeof b !== \"object\") return false;\n if (a == null || b == null) return false;\n const keysA = Object.keys(a);\n const keysB = Object.keys(b);\n if (keysA.length !== keysB.length) return false;\n for (const key of keysA) {\n if (!Object.prototype.hasOwnProperty.call(b, key)) return false;\n if (a[key] !== b[key]) return false;\n }\n return true;\n}\nfunction isElementPreceding(a, b) {\n return !!(b.compareDocumentPosition(a) & Node.DOCUMENT_POSITION_PRECEDING);\n}\nfunction sortByDocumentPosition(a, b) {\n return !a[1].element || !b[1].element ? 0 : isElementPreceding(a[1].element, b[1].element) ? -1 : 1;\n}\nfunction getChildListObserver(callback) {\n const observer = new MutationObserver((mutationsList) => {\n for (const mutation of mutationsList) {\n if (mutation.type === \"childList\") {\n callback();\n return;\n }\n }\n });\n return observer;\n}\nexport {\n createCollection,\n createCollection2 as unstable_createCollection\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["createContextScope","jsx","createSlot","useComposedRefs"],"mappings":";;;;;;;;AAQA,SAAS,gBAAgB,CAAC,IAAI,EAAE;AAChC,EAAE,MAAM,aAAa,GAAG,IAAI,GAAG,oBAAoB,CAAC;AACpD,EAAE,MAAM,CAAC,uBAAuB,EAAE,qBAAqB,CAAC,GAAGA,wBAAkB,CAAC,aAAa,CAAC,CAAC;AAC7F,EAAE,MAAM,CAAC,sBAAsB,EAAE,oBAAoB,CAAC,GAAG,uBAAuB;AAChF,IAAI,aAAa;AACjB,IAAI,EAAE,aAAa,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,OAAO,kBAAkB,IAAI,GAAG,EAAE,EAAE;AAC5E,GAAG,CAAC;AACJ,EAAE,MAAM,kBAAkB,GAAG,CAAC,KAAK,KAAK;AACxC,IAAI,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;AACtC,IAAI,MAAM,GAAG,GAAG,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACnC,IAAI,MAAM,OAAO,GAAG,KAAK,CAAC,MAAM,iBAAiB,IAAI,GAAG,EAAE,CAAC,CAAC,OAAO,CAAC;AACpE,IAAI,uBAAuBC,gCAAG,CAAC,sBAAsB,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,aAAa,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AACzG,GAAG,CAAC;AACJ,EAAE,kBAAkB,CAAC,WAAW,GAAG,aA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GAAG,CAAC,OAAO,CAAC;AAC3F,OAAO,CAAC;AACR,MAAM,OAAO,YAAY,CAAC;AAC1B,KAAK,EAAE,CAAC,OAAO,CAAC,aAAa,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC;AACjD,IAAI,OAAO,QAAQ,CAAC;AACpB,GAAG;AACH,EAAE,OAAO;AACT,IAAI,EAAE,QAAQ,EAAE,kBAAkB,EAAE,IAAI,EAAE,cAAc,EAAE,QAAQ,EAAE,kBAAkB,EAAE;AACxF,IAAI,aAAa;AACjB,IAAI,qBAAqB;AACzB,GAAG,CAAC;AACJ;;;;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../../../../../../../../../../../node_modules/.pnpm/@radix-ui+react-collection@1.1.7_@types+react-dom@18.0.11_@types+react@18.2.12_react-dom@18.3_nwj7zizkpbafahafjkthv37flu/node_modules/@radix-ui/react-collection/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/collection-legacy.tsx\nimport React from \"react\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createSlot } from \"@radix-ui/react-slot\";\nimport { jsx } from \"react/jsx-runtime\";\nfunction createCollection(name) {\n const PROVIDER_NAME = name + \"CollectionProvider\";\n const [createCollectionContext, createCollectionScope] = createContextScope(PROVIDER_NAME);\n const [CollectionProviderImpl, useCollectionContext] = createCollectionContext(\n PROVIDER_NAME,\n { collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }\n );\n const CollectionProvider = (props) => {\n const { scope, children } = props;\n const ref = React.useRef(null);\n const itemMap = React.useRef(/* @__PURE__ */ new Map()).current;\n return /* @__PURE__ */ jsx(CollectionProviderImpl, { scope, itemMap, collectionRef: ref, children });\n };\n CollectionProvider.displayName = PROVIDER_NAME;\n const COLLECTION_SLOT_NAME = name + \"CollectionSlot\";\n const CollectionSlotImpl = createSlot(COLLECTION_SLOT_NAME);\n const CollectionSlot = React.forwardRef(\n (props, forwardedRef) => {\n const { scope, children } = props;\n const context = useCollectionContext(COLLECTION_SLOT_NAME, scope);\n const composedRefs = useComposedRefs(forwardedRef, context.collectionRef);\n return /* @__PURE__ */ jsx(CollectionSlotImpl, { ref: composedRefs, children });\n }\n );\n CollectionSlot.displayName = COLLECTION_SLOT_NAME;\n const ITEM_SLOT_NAME = name + \"CollectionItemSlot\";\n const ITEM_DATA_ATTR = \"data-radix-collection-item\";\n const CollectionItemSlotImpl = createSlot(ITEM_SLOT_NAME);\n const CollectionItemSlot = React.forwardRef(\n (props, forwardedRef) => {\n const { scope, children, ...itemData } = props;\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n const context = useCollectionContext(ITEM_SLOT_NAME, scope);\n React.useEffect(() => {\n context.itemMap.set(ref, { ref, ...itemData });\n return () => void context.itemMap.delete(ref);\n });\n return /* @__PURE__ */ jsx(CollectionItemSlotImpl, { ...{ [ITEM_DATA_ATTR]: \"\" }, ref: composedRefs, children });\n }\n );\n CollectionItemSlot.displayName = ITEM_SLOT_NAME;\n function useCollection(scope) {\n const context = useCollectionContext(name + \"CollectionConsumer\", scope);\n const getItems = React.useCallback(() => {\n const collectionNode = context.collectionRef.current;\n if (!collectionNode) return [];\n const orderedNodes = Array.from(collectionNode.querySelectorAll(`[${ITEM_DATA_ATTR}]`));\n const items = Array.from(context.itemMap.values());\n const orderedItems = items.sort(\n (a, b) => orderedNodes.indexOf(a.ref.current) - orderedNodes.indexOf(b.ref.current)\n );\n return orderedItems;\n }, [context.collectionRef, context.itemMap]);\n return getItems;\n }\n return [\n { Provider: CollectionProvider, Slot: CollectionSlot, ItemSlot: CollectionItemSlot },\n useCollection,\n createCollectionScope\n ];\n}\n\n// src/collection.tsx\nimport React2 from \"react\";\nimport { createContextScope as createContextScope2 } from \"@radix-ui/react-context\";\nimport { useComposedRefs as useComposedRefs2 } from \"@radix-ui/react-compose-refs\";\nimport { createSlot as createSlot2 } from \"@radix-ui/react-slot\";\n\n// src/ordered-dictionary.ts\nvar __instanciated = /* @__PURE__ */ new WeakMap();\nvar OrderedDict = class _OrderedDict extends Map {\n #keys;\n constructor(entries) {\n super(entries);\n this.#keys = [...super.keys()];\n __instanciated.set(this, true);\n }\n set(key, value) {\n if (__instanciated.get(this)) {\n if (this.has(key)) {\n this.#keys[this.#keys.indexOf(key)] = key;\n } else {\n this.#keys.push(key);\n }\n }\n super.set(key, value);\n return this;\n }\n insert(index, key, value) {\n const has = this.has(key);\n const length = this.#keys.length;\n const relativeIndex = toSafeInteger(index);\n let actualIndex = relativeIndex >= 0 ? relativeIndex : length + relativeIndex;\n const safeIndex = actualIndex < 0 || actualIndex >= length ? -1 : actualIndex;\n if (safeIndex === this.size || has && safeIndex === this.size - 1 || safeIndex === -1) {\n this.set(key, value);\n return this;\n }\n const size = this.size + (has ? 0 : 1);\n if (relativeIndex < 0) {\n actualIndex++;\n }\n const keys = [...this.#keys];\n let nextValue;\n let shouldSkip = false;\n for (let i = actualIndex; i < size; i++) {\n if (actualIndex === i) {\n let nextKey = keys[i];\n if (keys[i] === key) {\n nextKey = keys[i + 1];\n }\n if (has) {\n this.delete(key);\n }\n nextValue = this.get(nextKey);\n this.set(key, value);\n } else {\n if (!shouldSkip && keys[i - 1] === key) {\n shouldSkip = true;\n }\n const currentKey = keys[shouldSkip ? i : i - 1];\n const currentValue = nextValue;\n nextValue = this.get(currentKey);\n this.delete(currentKey);\n this.set(currentKey, currentValue);\n }\n }\n return this;\n }\n with(index, key, value) {\n const copy = new _OrderedDict(this);\n copy.insert(index, key, value);\n return copy;\n }\n before(key) {\n const index = this.#keys.indexOf(key) - 1;\n if (index < 0) {\n return void 0;\n }\n return this.entryAt(index);\n }\n /**\n * Sets a new key-value pair at the position before the given key.\n */\n setBefore(key, newKey, value) {\n const index = this.#keys.indexOf(key);\n if (index === -1) {\n return this;\n }\n return this.insert(index, newKey, value);\n }\n after(key) {\n let index = this.#keys.indexOf(key);\n index = index === -1 || index === this.size - 1 ? -1 : index + 1;\n if (index === -1) {\n return void 0;\n }\n return this.entryAt(index);\n }\n /**\n * Sets a new key-value pair at the position after the given key.\n */\n setAfter(key, newKey, value) {\n const index = this.#keys.indexOf(key);\n if (index === -1) {\n return this;\n }\n return this.insert(index + 1, newKey, value);\n }\n first() {\n return this.entryAt(0);\n }\n last() {\n return this.entryAt(-1);\n }\n clear() {\n this.#keys = [];\n return super.clear();\n }\n delete(key) {\n const deleted = super.delete(key);\n if (deleted) {\n this.#keys.splice(this.#keys.indexOf(key), 1);\n }\n return deleted;\n }\n deleteAt(index) {\n const key = this.keyAt(index);\n if (key !== void 0) {\n return this.delete(key);\n }\n return false;\n }\n at(index) {\n const key = at(this.#keys, index);\n if (key !== void 0) {\n return this.get(key);\n }\n }\n entryAt(index) {\n const key = at(this.#keys, index);\n if (key !== void 0) {\n return [key, this.get(key)];\n }\n }\n indexOf(key) {\n return this.#keys.indexOf(key);\n }\n keyAt(index) {\n return at(this.#keys, index);\n }\n from(key, offset) {\n const index = this.indexOf(key);\n if (index === -1) {\n return void 0;\n }\n let dest = index + offset;\n if (dest < 0) dest = 0;\n if (dest >= this.size) dest = this.size - 1;\n return this.at(dest);\n }\n keyFrom(key, offset) {\n const index = this.indexOf(key);\n if (index === -1) {\n return void 0;\n }\n let dest = index + offset;\n if (dest < 0) dest = 0;\n if (dest >= this.size) dest = this.size - 1;\n return this.keyAt(dest);\n }\n find(predicate, thisArg) {\n let index = 0;\n for (const entry of this) {\n if (Reflect.apply(predicate, thisArg, [entry, index, this])) {\n return entry;\n }\n index++;\n }\n return void 0;\n }\n findIndex(predicate, thisArg) {\n let index = 0;\n for (const entry of this) {\n if (Reflect.apply(predicate, thisArg, [entry, index, this])) {\n return index;\n }\n index++;\n }\n return -1;\n }\n filter(predicate, thisArg) {\n const entries = [];\n let index = 0;\n for (const entry of this) {\n if (Reflect.apply(predicate, thisArg, [entry, index, this])) {\n entries.push(entry);\n }\n index++;\n }\n return new _OrderedDict(entries);\n }\n map(callbackfn, thisArg) {\n const entries = [];\n let index = 0;\n for (const entry of this) {\n entries.push([entry[0], Reflect.apply(callbackfn, thisArg, [entry, index, this])]);\n index++;\n }\n return new _OrderedDict(entries);\n }\n reduce(...args) {\n const [callbackfn, initialValue] = args;\n let index = 0;\n let accumulator = initialValue ?? this.at(0);\n for (const entry of this) {\n if (index === 0 && args.length === 1) {\n accumulator = entry;\n } else {\n accumulator = Reflect.apply(callbackfn, this, [accumulator, entry, index, this]);\n }\n index++;\n }\n return accumulator;\n }\n reduceRight(...args) {\n const [callbackfn, initialValue] = args;\n let accumulator = initialValue ?? this.at(-1);\n for (let index = this.size - 1; index >= 0; index--) {\n const entry = this.at(index);\n if (index === this.size - 1 && args.length === 1) {\n accumulator = entry;\n } else {\n accumulator = Reflect.apply(callbackfn, this, [accumulator, entry, index, this]);\n }\n }\n return accumulator;\n }\n toSorted(compareFn) {\n const entries = [...this.entries()].sort(compareFn);\n return new _OrderedDict(entries);\n }\n toReversed() {\n const reversed = new _OrderedDict();\n for (let index = this.size - 1; index >= 0; index--) {\n const key = this.keyAt(index);\n const element = this.get(key);\n reversed.set(key, element);\n }\n return reversed;\n }\n toSpliced(...args) {\n const entries = [...this.entries()];\n entries.splice(...args);\n return new _OrderedDict(entries);\n }\n slice(start, end) {\n const result = new _OrderedDict();\n let stop = this.size - 1;\n if (start === void 0) {\n return result;\n }\n if (start < 0) {\n start = start + this.size;\n }\n if (end !== void 0 && end > 0) {\n stop = end - 1;\n }\n for (let index = start; index <= stop; index++) {\n const key = this.keyAt(index);\n const element = this.get(key);\n result.set(key, element);\n }\n return result;\n }\n every(predicate, thisArg) {\n let index = 0;\n for (const entry of this) {\n if (!Reflect.apply(predicate, thisArg, [entry, index, this])) {\n return false;\n }\n index++;\n }\n return true;\n }\n some(predicate, thisArg) {\n let index = 0;\n for (const entry of this) {\n if (Reflect.apply(predicate, thisArg, [entry, index, this])) {\n return true;\n }\n index++;\n }\n return false;\n }\n};\nfunction at(array, index) {\n if (\"at\" in Array.prototype) {\n return Array.prototype.at.call(array, index);\n }\n const actualIndex = toSafeIndex(array, index);\n return actualIndex === -1 ? void 0 : array[actualIndex];\n}\nfunction toSafeIndex(array, index) {\n const length = array.length;\n const relativeIndex = toSafeInteger(index);\n const actualIndex = relativeIndex >= 0 ? relativeIndex : length + relativeIndex;\n return actualIndex < 0 || actualIndex >= length ? -1 : actualIndex;\n}\nfunction toSafeInteger(number) {\n return number !== number || number === 0 ? 0 : Math.trunc(number);\n}\n\n// src/collection.tsx\nimport { jsx as jsx2 } from \"react/jsx-runtime\";\nfunction createCollection2(name) {\n const PROVIDER_NAME = name + \"CollectionProvider\";\n const [createCollectionContext, createCollectionScope] = createContextScope2(PROVIDER_NAME);\n const [CollectionContextProvider, useCollectionContext] = createCollectionContext(\n PROVIDER_NAME,\n {\n collectionElement: null,\n collectionRef: { current: null },\n collectionRefObject: { current: null },\n itemMap: new OrderedDict(),\n setItemMap: () => void 0\n }\n );\n const CollectionProvider = ({ state, ...props }) => {\n return state ? /* @__PURE__ */ jsx2(CollectionProviderImpl, { ...props, state }) : /* @__PURE__ */ jsx2(CollectionInit, { ...props });\n };\n CollectionProvider.displayName = PROVIDER_NAME;\n const CollectionInit = (props) => {\n const state = useInitCollection();\n return /* @__PURE__ */ jsx2(CollectionProviderImpl, { ...props, state });\n };\n CollectionInit.displayName = PROVIDER_NAME + \"Init\";\n const CollectionProviderImpl = (props) => {\n const { scope, children, state } = props;\n const ref = React2.useRef(null);\n const [collectionElement, setCollectionElement] = React2.useState(\n null\n );\n const composeRefs = useComposedRefs2(ref, setCollectionElement);\n const [itemMap, setItemMap] = state;\n React2.useEffect(() => {\n if (!collectionElement) return;\n const observer = getChildListObserver(() => {\n });\n observer.observe(collectionElement, {\n childList: true,\n subtree: true\n });\n return () => {\n observer.disconnect();\n };\n }, [collectionElement]);\n return /* @__PURE__ */ jsx2(\n CollectionContextProvider,\n {\n scope,\n itemMap,\n setItemMap,\n collectionRef: composeRefs,\n collectionRefObject: ref,\n collectionElement,\n children\n }\n );\n };\n CollectionProviderImpl.displayName = PROVIDER_NAME + \"Impl\";\n const COLLECTION_SLOT_NAME = name + \"CollectionSlot\";\n const CollectionSlotImpl = createSlot2(COLLECTION_SLOT_NAME);\n const CollectionSlot = React2.forwardRef(\n (props, forwardedRef) => {\n const { scope, children } = props;\n const context = useCollectionContext(COLLECTION_SLOT_NAME, scope);\n const composedRefs = useComposedRefs2(forwardedRef, context.collectionRef);\n return /* @__PURE__ */ jsx2(CollectionSlotImpl, { ref: composedRefs, children });\n }\n );\n CollectionSlot.displayName = COLLECTION_SLOT_NAME;\n const ITEM_SLOT_NAME = name + \"CollectionItemSlot\";\n const ITEM_DATA_ATTR = \"data-radix-collection-item\";\n const CollectionItemSlotImpl = createSlot2(ITEM_SLOT_NAME);\n const CollectionItemSlot = React2.forwardRef(\n (props, forwardedRef) => {\n const { scope, children, ...itemData } = props;\n const ref = React2.useRef(null);\n const [element, setElement] = React2.useState(null);\n const composedRefs = useComposedRefs2(forwardedRef, ref, setElement);\n const context = useCollectionContext(ITEM_SLOT_NAME, scope);\n const { setItemMap } = context;\n const itemDataRef = React2.useRef(itemData);\n if (!shallowEqual(itemDataRef.current, itemData)) {\n itemDataRef.current = itemData;\n }\n const memoizedItemData = itemDataRef.current;\n React2.useEffect(() => {\n const itemData2 = memoizedItemData;\n setItemMap((map) => {\n if (!element) {\n return map;\n }\n if (!map.has(element)) {\n map.set(element, { ...itemData2, element });\n return map.toSorted(sortByDocumentPosition);\n }\n return map.set(element, { ...itemData2, element }).toSorted(sortByDocumentPosition);\n });\n return () => {\n setItemMap((map) => {\n if (!element || !map.has(element)) {\n return map;\n }\n map.delete(element);\n return new OrderedDict(map);\n });\n };\n }, [element, memoizedItemData, setItemMap]);\n return /* @__PURE__ */ jsx2(CollectionItemSlotImpl, { ...{ [ITEM_DATA_ATTR]: \"\" }, ref: composedRefs, children });\n }\n );\n CollectionItemSlot.displayName = ITEM_SLOT_NAME;\n function useInitCollection() {\n return React2.useState(new OrderedDict());\n }\n function useCollection(scope) {\n const { itemMap } = useCollectionContext(name + \"CollectionConsumer\", scope);\n return itemMap;\n }\n const functions = {\n createCollectionScope,\n useCollection,\n useInitCollection\n };\n return [\n { Provider: CollectionProvider, Slot: CollectionSlot, ItemSlot: CollectionItemSlot },\n functions\n ];\n}\nfunction shallowEqual(a, b) {\n if (a === b) return true;\n if (typeof a !== \"object\" || typeof b !== \"object\") return false;\n if (a == null || b == null) return false;\n const keysA = Object.keys(a);\n const keysB = Object.keys(b);\n if (keysA.length !== keysB.length) return false;\n for (const key of keysA) {\n if (!Object.prototype.hasOwnProperty.call(b, key)) return false;\n if (a[key] !== b[key]) return false;\n }\n return true;\n}\nfunction isElementPreceding(a, b) {\n return !!(b.compareDocumentPosition(a) & Node.DOCUMENT_POSITION_PRECEDING);\n}\nfunction sortByDocumentPosition(a, b) {\n return !a[1].element || !b[1].element ? 0 : isElementPreceding(a[1].element, b[1].element) ? -1 : 1;\n}\nfunction getChildListObserver(callback) {\n const observer = new MutationObserver((mutationsList) => {\n for (const mutation of mutationsList) {\n if (mutation.type === \"childList\") {\n callback();\n return;\n }\n }\n });\n return observer;\n}\nexport {\n createCollection,\n createCollection2 as unstable_createCollection\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["createContextScope","jsx","createSlot","useComposedRefs"],"mappings":";;;;;;;;AAQA,SAAS,gBAAgB,CAAC,IAAI,EAAE;AAChC,EAAE,MAAM,aAAa,GAAG,IAAI,GAAG,oBAAoB,CAAC;AACpD,EAAE,MAAM,CAAC,uBAAuB,EAAE,qBAAqB,CAAC,GAAGA,wBAAkB,CAAC,aAAa,CAAC,CAAC;AAC7F,EAAE,MAAM,CAAC,sBAAsB,EAAE,oBAAoB,CAAC,GAAG,uBAAuB;AAChF,IAAI,aAAa;AACjB,IAAI,EAAE,aAAa,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,OAAO,kBAAkB,IAAI,GAAG,EAAE,EAAE;AAC5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