@raystack/apsara 0.31.1 → 0.33.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/command/command.cjs +3 -0
- package/dist/command/command.cjs.map +1 -1
- package/dist/command/command.d.ts.map +1 -1
- package/dist/command/command.js +3 -0
- package/dist/command/command.js.map +1 -1
- package/dist/dialog/dialog.cjs +12 -0
- package/dist/dialog/dialog.cjs.map +1 -1
- package/dist/dialog/dialog.d.ts.map +1 -1
- package/dist/dialog/dialog.js +12 -0
- package/dist/dialog/dialog.js.map +1 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-icons@1.3.0_react@18.2.0/node_modules/@radix-ui/react-icons/dist/react-icons.esm.cjs +92 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-icons@1.3.0_react@18.2.0/node_modules/@radix-ui/react-icons/dist/react-icons.esm.cjs.map +1 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-icons@1.3.0_react@18.2.0/node_modules/@radix-ui/react-icons/dist/react-icons.esm.js +89 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-icons@1.3.0_react@18.2.0/node_modules/@radix-ui/react-icons/dist/react-icons.esm.js.map +1 -1
- package/dist/node_modules/.pnpm/@tanstack_react-table@8.9.2_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@tanstack/react-table/build/lib/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@tanstack_react-table@8.9.2_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@tanstack/react-table/build/lib/index.cjs.map +1 -1
- package/dist/node_modules/.pnpm/@tanstack_react-table@8.9.2_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@tanstack/react-table/build/lib/index.js +1 -1
- package/dist/node_modules/.pnpm/@tanstack_table-core@8.9.2/node_modules/@tanstack/table-core/build/lib/index.cjs +20 -0
- package/dist/node_modules/.pnpm/@tanstack_table-core@8.9.2/node_modules/@tanstack/table-core/build/lib/index.cjs.map +1 -1
- package/dist/node_modules/.pnpm/@tanstack_table-core@8.9.2/node_modules/@tanstack/table-core/build/lib/index.js +20 -1
- package/dist/node_modules/.pnpm/@tanstack_table-core@8.9.2/node_modules/@tanstack/table-core/build/lib/index.js.map +1 -1
- package/dist/select/select.cjs +3 -0
- package/dist/select/select.cjs.map +1 -1
- package/dist/select/select.d.ts.map +1 -1
- package/dist/select/select.js +3 -0
- package/dist/select/select.js.map +1 -1
- package/dist/sheet/sheet.cjs +9 -0
- package/dist/sheet/sheet.cjs.map +1 -1
- package/dist/sheet/sheet.d.ts +12 -0
- package/dist/sheet/sheet.d.ts.map +1 -1
- package/dist/sheet/sheet.js +9 -0
- package/dist/sheet/sheet.js.map +1 -1
- package/dist/sidebar/sidebar.cjs +6 -6
- package/dist/sidebar/sidebar.cjs.map +1 -1
- package/dist/sidebar/sidebar.d.ts +4 -4
- package/dist/sidebar/sidebar.js +6 -6
- package/dist/sidebar/sidebar.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/table/table.cjs +24 -0
- package/dist/table/table.cjs.map +1 -1
- package/dist/table/table.d.ts.map +1 -1
- package/dist/table/table.js +24 -0
- package/dist/table/table.js.map +1 -1
- package/dist/toggle-group/togglegroup.cjs +9 -0
- package/dist/toggle-group/togglegroup.cjs.map +1 -1
- package/dist/toggle-group/togglegroup.d.ts.map +1 -1
- package/dist/toggle-group/togglegroup.js +9 -0
- package/dist/toggle-group/togglegroup.js.map +1 -1
- package/dist/v1/_virtual/isSameOrAfter.cjs +6 -0
- package/dist/v1/_virtual/isSameOrAfter.cjs.map +1 -0
- package/dist/v1/_virtual/isSameOrAfter.js +4 -0
- package/dist/v1/_virtual/isSameOrAfter.js.map +1 -0
- package/dist/v1/_virtual/isSameOrBefore.cjs +6 -0
- package/dist/v1/_virtual/isSameOrBefore.cjs.map +1 -0
- package/dist/v1/_virtual/isSameOrBefore.js +4 -0
- package/dist/v1/_virtual/isSameOrBefore.js.map +1 -0
- package/dist/v1/components/calendar/calendar.cjs +1 -1
- package/dist/v1/components/calendar/calendar.cjs.map +1 -1
- package/dist/v1/components/calendar/calendar.js +1 -1
- package/dist/v1/components/calendar/calendar.js.map +1 -1
- package/dist/v1/components/calendar/date-picker.cjs +26 -17
- package/dist/v1/components/calendar/date-picker.cjs.map +1 -1
- package/dist/v1/components/calendar/date-picker.d.ts.map +1 -1
- package/dist/v1/components/calendar/date-picker.js +26 -17
- package/dist/v1/components/calendar/date-picker.js.map +1 -1
- package/dist/v1/components/calendar/range-picker.cjs +2 -2
- package/dist/v1/components/calendar/range-picker.cjs.map +1 -1
- package/dist/v1/components/calendar/range-picker.d.ts +5 -1
- package/dist/v1/components/calendar/range-picker.d.ts.map +1 -1
- package/dist/v1/components/calendar/range-picker.js +2 -2
- package/dist/v1/components/calendar/range-picker.js.map +1 -1
- package/dist/v1/components/chip/chip.cjs +6 -6
- package/dist/v1/components/chip/chip.cjs.map +1 -1
- package/dist/v1/components/chip/chip.d.ts +4 -3
- package/dist/v1/components/chip/chip.d.ts.map +1 -1
- package/dist/v1/components/chip/chip.js +6 -6
- package/dist/v1/components/chip/chip.js.map +1 -1
- package/dist/v1/components/chip/chip.module.css.cjs +1 -1
- package/dist/v1/components/chip/chip.module.css.js +1 -1
- package/dist/v1/components/command/command.cjs +52 -0
- package/dist/v1/components/command/command.cjs.map +1 -0
- package/dist/v1/components/command/command.d.ts +2 -0
- package/dist/v1/components/command/command.d.ts.map +1 -0
- package/dist/v1/components/command/command.js +50 -0
- package/dist/v1/components/command/command.js.map +1 -0
- package/dist/v1/components/command/command.module.css.cjs +8 -0
- package/dist/v1/components/command/command.module.css.cjs.map +1 -0
- package/dist/v1/components/command/command.module.css.js +4 -0
- package/dist/v1/components/command/command.module.css.js.map +1 -0
- package/dist/v1/components/command/index.d.ts +2 -0
- package/dist/v1/components/command/index.d.ts.map +1 -0
- package/dist/v1/components/data-table/components/content.cjs +81 -0
- package/dist/v1/components/data-table/components/content.cjs.map +1 -0
- package/dist/v1/components/data-table/components/content.d.ts +3 -0
- package/dist/v1/components/data-table/components/content.d.ts.map +1 -0
- package/dist/v1/components/data-table/components/content.js +79 -0
- package/dist/v1/components/data-table/components/content.js.map +1 -0
- package/dist/v1/components/data-table/components/display-properties.cjs +14 -0
- package/dist/v1/components/data-table/components/display-properties.cjs.map +1 -0
- package/dist/v1/components/data-table/components/display-properties.d.ts +5 -0
- package/dist/v1/components/data-table/components/display-properties.d.ts.map +1 -0
- package/dist/v1/components/data-table/components/display-properties.js +12 -0
- package/dist/v1/components/data-table/components/display-properties.js.map +1 -0
- package/dist/v1/components/data-table/components/display-settings.cjs +51 -0
- package/dist/v1/components/data-table/components/display-settings.cjs.map +1 -0
- package/dist/v1/components/data-table/components/display-settings.d.ts +2 -0
- package/dist/v1/components/data-table/components/display-settings.d.ts.map +1 -0
- package/dist/v1/components/data-table/components/display-settings.js +49 -0
- package/dist/v1/components/data-table/components/display-settings.js.map +1 -0
- package/dist/v1/components/data-table/components/filters.cjs +44 -0
- package/dist/v1/components/data-table/components/filters.cjs.map +1 -0
- package/dist/v1/components/data-table/components/filters.d.ts +2 -0
- package/dist/v1/components/data-table/components/filters.d.ts.map +1 -0
- package/dist/v1/components/data-table/components/filters.js +42 -0
- package/dist/v1/components/data-table/components/filters.js.map +1 -0
- package/dist/v1/components/data-table/components/grouping.cjs +31 -0
- package/dist/v1/components/data-table/components/grouping.cjs.map +1 -0
- package/dist/v1/components/data-table/components/grouping.d.ts +9 -0
- package/dist/v1/components/data-table/components/grouping.d.ts.map +1 -0
- package/dist/v1/components/data-table/components/grouping.js +29 -0
- package/dist/v1/components/data-table/components/grouping.js.map +1 -0
- package/dist/v1/components/data-table/components/ordering.cjs +24 -0
- package/dist/v1/components/data-table/components/ordering.cjs.map +1 -0
- package/dist/v1/components/data-table/components/ordering.d.ts +8 -0
- package/dist/v1/components/data-table/components/ordering.d.ts.map +1 -0
- package/dist/v1/components/data-table/components/ordering.js +22 -0
- package/dist/v1/components/data-table/components/ordering.js.map +1 -0
- package/dist/v1/components/data-table/components/search.cjs +22 -0
- package/dist/v1/components/data-table/components/search.cjs.map +1 -0
- package/dist/v1/components/data-table/components/search.d.ts +3 -0
- package/dist/v1/components/data-table/components/search.d.ts.map +1 -0
- package/dist/v1/components/data-table/components/search.js +20 -0
- package/dist/v1/components/data-table/components/search.js.map +1 -0
- package/dist/v1/components/data-table/components/toolbar.cjs +15 -0
- package/dist/v1/components/data-table/components/toolbar.cjs.map +1 -0
- package/dist/v1/components/data-table/components/toolbar.d.ts +4 -0
- package/dist/v1/components/data-table/components/toolbar.d.ts.map +1 -0
- package/dist/v1/components/data-table/components/toolbar.js +13 -0
- package/dist/v1/components/data-table/components/toolbar.js.map +1 -0
- package/dist/v1/components/data-table/context.cjs +8 -0
- package/dist/v1/components/data-table/context.cjs.map +1 -0
- package/dist/v1/components/data-table/context.d.ts +3 -0
- package/dist/v1/components/data-table/context.d.ts.map +1 -0
- package/dist/v1/components/data-table/context.js +6 -0
- package/dist/v1/components/data-table/context.js.map +1 -0
- package/dist/v1/components/data-table/data-table.cjs +87 -0
- package/dist/v1/components/data-table/data-table.cjs.map +1 -0
- package/dist/v1/components/data-table/data-table.d.ts +12 -0
- package/dist/v1/components/data-table/data-table.d.ts.map +1 -0
- package/dist/v1/components/data-table/data-table.js +85 -0
- package/dist/v1/components/data-table/data-table.js.map +1 -0
- package/dist/v1/components/data-table/data-table.module.css.cjs +8 -0
- package/dist/v1/components/data-table/data-table.module.css.cjs.map +1 -0
- package/dist/v1/components/data-table/data-table.module.css.js +4 -0
- package/dist/v1/components/data-table/data-table.module.css.js.map +1 -0
- package/dist/v1/components/data-table/data-table.types.cjs +9 -0
- package/dist/v1/components/data-table/data-table.types.cjs.map +1 -0
- package/dist/v1/components/data-table/data-table.types.d.ts +102 -0
- package/dist/v1/components/data-table/data-table.types.d.ts.map +1 -0
- package/dist/v1/components/data-table/data-table.types.js +7 -0
- package/dist/v1/components/data-table/data-table.types.js.map +1 -0
- package/dist/v1/components/data-table/hooks/useDataTable.cjs +15 -0
- package/dist/v1/components/data-table/hooks/useDataTable.cjs.map +1 -0
- package/dist/v1/components/data-table/hooks/useDataTable.d.ts +2 -0
- package/dist/v1/components/data-table/hooks/useDataTable.d.ts.map +1 -0
- package/dist/v1/components/data-table/hooks/useDataTable.js +13 -0
- package/dist/v1/components/data-table/hooks/useDataTable.js.map +1 -0
- package/dist/v1/components/data-table/hooks/useFilters.cjs +78 -0
- package/dist/v1/components/data-table/hooks/useFilters.cjs.map +1 -0
- package/dist/v1/components/data-table/hooks/useFilters.d.ts +9 -0
- package/dist/v1/components/data-table/hooks/useFilters.d.ts.map +1 -0
- package/dist/v1/components/data-table/hooks/useFilters.js +76 -0
- package/dist/v1/components/data-table/hooks/useFilters.js.map +1 -0
- package/dist/v1/components/data-table/index.d.ts +4 -0
- package/dist/v1/components/data-table/index.d.ts.map +1 -0
- package/dist/v1/components/data-table/utils/filter-operations.cjs +83 -0
- package/dist/v1/components/data-table/utils/filter-operations.cjs.map +1 -0
- package/dist/v1/components/data-table/utils/filter-operations.d.ts +11 -0
- package/dist/v1/components/data-table/utils/filter-operations.d.ts.map +1 -0
- package/dist/v1/components/data-table/utils/filter-operations.js +80 -0
- package/dist/v1/components/data-table/utils/filter-operations.js.map +1 -0
- package/dist/v1/components/data-table/utils/index.cjs +156 -0
- package/dist/v1/components/data-table/utils/index.cjs.map +1 -0
- package/dist/v1/components/data-table/utils/index.d.ts +14 -0
- package/dist/v1/components/data-table/utils/index.d.ts.map +1 -0
- package/dist/v1/components/data-table/utils/index.js +147 -0
- package/dist/v1/components/data-table/utils/index.js.map +1 -0
- package/dist/v1/components/dialog/dialog.cjs +33 -0
- package/dist/v1/components/dialog/dialog.cjs.map +1 -0
- package/dist/v1/components/dialog/dialog.d.ts +33 -0
- package/dist/v1/components/dialog/dialog.d.ts.map +1 -0
- package/dist/v1/components/dialog/dialog.js +30 -0
- package/dist/v1/components/dialog/dialog.js.map +1 -0
- package/dist/v1/components/dialog/dialog.module.css.cjs +8 -0
- package/dist/v1/components/dialog/dialog.module.css.cjs.map +1 -0
- package/dist/v1/components/dialog/dialog.module.css.js +4 -0
- package/dist/v1/components/dialog/dialog.module.css.js.map +1 -0
- package/dist/v1/components/dialog/index.d.ts +2 -0
- package/dist/v1/components/dialog/index.d.ts.map +1 -0
- package/dist/v1/components/filter-chip/filter-chip.cjs +28 -19
- package/dist/v1/components/filter-chip/filter-chip.cjs.map +1 -1
- package/dist/v1/components/filter-chip/filter-chip.d.ts +3 -7
- package/dist/v1/components/filter-chip/filter-chip.d.ts.map +1 -1
- package/dist/v1/components/filter-chip/filter-chip.js +28 -19
- package/dist/v1/components/filter-chip/filter-chip.js.map +1 -1
- package/dist/v1/components/flex/flex.cjs +9 -0
- package/dist/v1/components/flex/flex.cjs.map +1 -1
- package/dist/v1/components/flex/flex.d.ts +1 -1
- package/dist/v1/components/flex/flex.d.ts.map +1 -1
- package/dist/v1/components/flex/flex.js +9 -0
- 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/icon-button/icon-button.cjs +1 -1
- package/dist/v1/components/icon-button/icon-button.cjs.map +1 -1
- package/dist/v1/components/icon-button/icon-button.d.ts +1 -2
- package/dist/v1/components/icon-button/icon-button.d.ts.map +1 -1
- package/dist/v1/components/icon-button/icon-button.js +1 -1
- package/dist/v1/components/icon-button/icon-button.js.map +1 -1
- package/dist/v1/components/icons/assets/filter.svg.cjs +41 -0
- package/dist/v1/components/icons/assets/filter.svg.cjs.map +1 -0
- package/dist/v1/components/icons/assets/filter.svg.js +20 -0
- package/dist/v1/components/icons/assets/filter.svg.js.map +1 -0
- package/dist/v1/components/icons/icons.d.ts +3 -0
- package/dist/v1/components/icons/icons.d.ts.map +1 -0
- package/dist/v1/components/icons/index.d.ts +2 -0
- package/dist/v1/components/icons/index.d.ts.map +1 -0
- package/dist/v1/components/input-field/input-field.cjs +1 -1
- package/dist/v1/components/input-field/input-field.cjs.map +1 -1
- package/dist/v1/components/input-field/input-field.js +1 -1
- package/dist/v1/components/input-field/input-field.js.map +1 -1
- package/dist/v1/components/input-field/input-field.module.css.cjs +1 -1
- package/dist/v1/components/input-field/input-field.module.css.js +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 +12 -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/select/select.module.css.cjs +1 -1
- package/dist/v1/components/select/select.module.css.js +1 -1
- package/dist/v1/components/sheet/index.d.ts +2 -0
- package/dist/v1/components/sheet/index.d.ts.map +1 -0
- package/dist/v1/components/sheet/sheet.cjs +48 -0
- package/dist/v1/components/sheet/sheet.cjs.map +1 -0
- package/dist/v1/components/sheet/sheet.d.ts +35 -0
- package/dist/v1/components/sheet/sheet.d.ts.map +1 -0
- package/dist/v1/components/sheet/sheet.js +43 -0
- package/dist/v1/components/sheet/sheet.js.map +1 -0
- package/dist/v1/components/sheet/sheet.module.css.cjs +8 -0
- package/dist/v1/components/sheet/sheet.module.css.cjs.map +1 -0
- package/dist/v1/components/sheet/sheet.module.css.js +4 -0
- package/dist/v1/components/sheet/sheet.module.css.js.map +1 -0
- package/dist/v1/components/sidebar/index.d.ts +2 -0
- package/dist/v1/components/sidebar/index.d.ts.map +1 -0
- package/dist/v1/components/sidebar/sidebar.cjs +47 -0
- package/dist/v1/components/sidebar/sidebar.cjs.map +1 -0
- package/dist/v1/components/{sidepanel/sidepanel.d.ts → sidebar/sidebar.d.ts} +22 -11
- package/dist/v1/components/sidebar/sidebar.d.ts.map +1 -0
- package/dist/v1/components/sidebar/sidebar.js +45 -0
- package/dist/v1/components/sidebar/sidebar.js.map +1 -0
- package/dist/v1/components/sidebar/sidebar.module.css.cjs +8 -0
- package/dist/v1/components/sidebar/sidebar.module.css.cjs.map +1 -0
- package/dist/v1/components/sidebar/sidebar.module.css.js +4 -0
- package/dist/v1/components/sidebar/sidebar.module.css.js.map +1 -0
- package/dist/v1/components/table/index.d.ts +2 -0
- package/dist/v1/components/table/index.d.ts.map +1 -0
- package/dist/v1/components/table/table.cjs +44 -0
- package/dist/v1/components/table/table.cjs.map +1 -0
- package/dist/v1/components/table/table.d.ts +30 -0
- package/dist/v1/components/table/table.d.ts.map +1 -0
- package/dist/v1/components/table/table.js +42 -0
- package/dist/v1/components/table/table.js.map +1 -0
- package/dist/v1/components/table/table.module.css.cjs +8 -0
- package/dist/v1/components/table/table.module.css.cjs.map +1 -0
- package/dist/v1/components/table/table.module.css.js +4 -0
- package/dist/v1/components/table/table.module.css.js.map +1 -0
- package/dist/v1/components/tooltip/tooltip.cjs +3 -2
- package/dist/v1/components/tooltip/tooltip.cjs.map +1 -1
- package/dist/v1/components/tooltip/tooltip.d.ts +8 -2
- package/dist/v1/components/tooltip/tooltip.d.ts.map +1 -1
- package/dist/v1/components/tooltip/tooltip.js +3 -2
- package/dist/v1/components/tooltip/tooltip.js.map +1 -1
- package/dist/v1/index.cjs +16 -2
- package/dist/v1/index.cjs.map +1 -1
- package/dist/v1/index.d.ts +7 -1
- package/dist/v1/index.d.ts.map +1 -1
- package/dist/v1/index.js +9 -1
- package/dist/v1/index.js.map +1 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_primitive@1.0.0/node_modules/@radix-ui/primitive/dist/index.module.cjs +11 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_primitive@1.0.0/node_modules/@radix-ui/primitive/dist/index.module.cjs.map +1 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_primitive@1.0.0/node_modules/@radix-ui/primitive/dist/index.module.js +9 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_primitive@1.0.0/node_modules/@radix-ui/primitive/dist/index.module.js.map +1 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-compose-refs@1.0.0_react@18.2.0/node_modules/@radix-ui/react-compose-refs/dist/index.module.cjs +30 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-compose-refs@1.0.0_react@18.2.0/node_modules/@radix-ui/react-compose-refs/dist/index.module.cjs.map +1 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-compose-refs@1.0.0_react@18.2.0/node_modules/@radix-ui/react-compose-refs/dist/index.module.js +27 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-compose-refs@1.0.0_react@18.2.0/node_modules/@radix-ui/react-compose-refs/dist/index.module.js.map +1 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-context@1.0.0_react@18.2.0/node_modules/@radix-ui/react-context/dist/index.module.cjs +103 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-context@1.0.0_react@18.2.0/node_modules/@radix-ui/react-context/dist/index.module.cjs.map +1 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-context@1.0.0_react@18.2.0/node_modules/@radix-ui/react-context/dist/index.module.js +101 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-context@1.0.0_react@18.2.0/node_modules/@radix-ui/react-context/dist/index.module.js.map +1 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-dialog@1.0.0_@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.module.cjs +224 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-dialog@1.0.0_@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.module.cjs.map +1 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-dialog@1.0.0_@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.module.js +214 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-dialog@1.0.0_@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.module.js.map +1 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-dialog@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-dialog/dist/index.cjs +298 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-dialog@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-dialog/dist/index.cjs.map +1 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-dialog@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-dialog/dist/index.js +280 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-dialog@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-dialog/dist/index.js.map +1 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.0.0_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-dismissable-layer/dist/index.module.cjs +235 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.0.0_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-dismissable-layer/dist/index.module.cjs.map +1 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.0.0_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-dismissable-layer/dist/index.module.js +233 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.0.0_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-dismissable-layer/dist/index.module.js.map +1 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-focus-guards@1.0.0_react@18.2.0/node_modules/@radix-ui/react-focus-guards/dist/index.module.cjs +32 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-focus-guards@1.0.0_react@18.2.0/node_modules/@radix-ui/react-focus-guards/dist/index.module.cjs.map +1 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-focus-guards@1.0.0_react@18.2.0/node_modules/@radix-ui/react-focus-guards/dist/index.module.js +30 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-focus-guards@1.0.0_react@18.2.0/node_modules/@radix-ui/react-focus-guards/dist/index.module.js.map +1 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-focus-scope@1.0.0_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-focus-scope/dist/index.module.cjs +254 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-focus-scope@1.0.0_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-focus-scope/dist/index.module.cjs.map +1 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-focus-scope@1.0.0_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-focus-scope/dist/index.module.js +252 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-focus-scope@1.0.0_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-focus-scope/dist/index.module.js.map +1 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-icons@1.3.0_react@18.2.0/node_modules/@radix-ui/react-icons/dist/react-icons.esm.cjs +92 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-icons@1.3.0_react@18.2.0/node_modules/@radix-ui/react-icons/dist/react-icons.esm.cjs.map +1 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-icons@1.3.0_react@18.2.0/node_modules/@radix-ui/react-icons/dist/react-icons.esm.js +89 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-icons@1.3.0_react@18.2.0/node_modules/@radix-ui/react-icons/dist/react-icons.esm.js.map +1 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-id@1.0.0_react@18.2.0/node_modules/@radix-ui/react-id/dist/index.module.cjs +40 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-id@1.0.0_react@18.2.0/node_modules/@radix-ui/react-id/dist/index.module.cjs.map +1 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-id@1.0.0_react@18.2.0/node_modules/@radix-ui/react-id/dist/index.module.js +19 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-id@1.0.0_react@18.2.0/node_modules/@radix-ui/react-id/dist/index.module.js.map +1 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-menu@2.0.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-menu/dist/index.js +2 -2
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-popover@1.0.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/@radix-ui/react-popover/dist/index.js +2 -2
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-popover@1.0.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/@radix-ui/react-popover/dist/index.js.map +1 -1
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-portal@1.0.0_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-portal/dist/index.module.cjs +17 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-portal@1.0.0_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-portal/dist/index.module.cjs.map +1 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-portal@1.0.0_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-portal/dist/index.module.js +15 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-portal@1.0.0_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-portal/dist/index.module.js.map +1 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-presence@1.0.0_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-presence/dist/index.module.cjs +133 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-presence@1.0.0_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-presence/dist/index.module.cjs.map +1 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-presence@1.0.0_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-presence/dist/index.module.js +131 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-presence@1.0.0_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-presence/dist/index.module.js.map +1 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-primitive@1.0.0_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-primitive/dist/index.module.cjs +88 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-primitive@1.0.0_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-primitive/dist/index.module.cjs.map +1 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-primitive@1.0.0_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-primitive/dist/index.module.js +85 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-primitive@1.0.0_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@radix-ui/react-primitive/dist/index.module.js.map +1 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-slot@1.0.0_react@18.2.0/node_modules/@radix-ui/react-slot/dist/index.module.cjs +82 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-slot@1.0.0_react@18.2.0/node_modules/@radix-ui/react-slot/dist/index.module.cjs.map +1 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-slot@1.0.0_react@18.2.0/node_modules/@radix-ui/react-slot/dist/index.module.js +79 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-slot@1.0.0_react@18.2.0/node_modules/@radix-ui/react-slot/dist/index.module.js.map +1 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.0.0_react@18.2.0/node_modules/@radix-ui/react-use-callback-ref/dist/index.module.cjs +21 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.0.0_react@18.2.0/node_modules/@radix-ui/react-use-callback-ref/dist/index.module.cjs.map +1 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.0.0_react@18.2.0/node_modules/@radix-ui/react-use-callback-ref/dist/index.module.js +19 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.0.0_react@18.2.0/node_modules/@radix-ui/react-use-callback-ref/dist/index.module.js.map +1 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.0.0_react@18.2.0/node_modules/@radix-ui/react-use-controllable-state/dist/index.module.cjs +50 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.0.0_react@18.2.0/node_modules/@radix-ui/react-use-controllable-state/dist/index.module.cjs.map +1 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.0.0_react@18.2.0/node_modules/@radix-ui/react-use-controllable-state/dist/index.module.js +48 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.0.0_react@18.2.0/node_modules/@radix-ui/react-use-controllable-state/dist/index.module.js.map +1 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-escape-keydown@1.0.0_react@18.2.0/node_modules/@radix-ui/react-use-escape-keydown/dist/index.module.cjs +23 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-escape-keydown@1.0.0_react@18.2.0/node_modules/@radix-ui/react-use-escape-keydown/dist/index.module.cjs.map +1 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-escape-keydown@1.0.0_react@18.2.0/node_modules/@radix-ui/react-use-escape-keydown/dist/index.module.js +21 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-escape-keydown@1.0.0_react@18.2.0/node_modules/@radix-ui/react-use-escape-keydown/dist/index.module.js.map +1 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.0.0_react@18.2.0/node_modules/@radix-ui/react-use-layout-effect/dist/index.module.cjs +14 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.0.0_react@18.2.0/node_modules/@radix-ui/react-use-layout-effect/dist/index.module.cjs.map +1 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.0.0_react@18.2.0/node_modules/@radix-ui/react-use-layout-effect/dist/index.module.js +12 -0
- package/dist/v1/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.0.0_react@18.2.0/node_modules/@radix-ui/react-use-layout-effect/dist/index.module.js.map +1 -0
- package/dist/v1/node_modules/.pnpm/@tanstack_react-table@8.9.2_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@tanstack/react-table/build/lib/index.cjs +131 -0
- package/dist/v1/node_modules/.pnpm/@tanstack_react-table@8.9.2_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@tanstack/react-table/build/lib/index.cjs.map +1 -0
- package/dist/v1/node_modules/.pnpm/@tanstack_react-table@8.9.2_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@tanstack/react-table/build/lib/index.js +72 -0
- package/dist/v1/node_modules/.pnpm/@tanstack_react-table@8.9.2_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/@tanstack/react-table/build/lib/index.js.map +1 -0
- package/dist/v1/node_modules/.pnpm/@tanstack_table-core@8.9.2/node_modules/@tanstack/table-core/build/lib/index.cjs +3338 -0
- package/dist/v1/node_modules/.pnpm/@tanstack_table-core@8.9.2/node_modules/@tanstack/table-core/build/lib/index.cjs.map +1 -0
- package/dist/v1/node_modules/.pnpm/@tanstack_table-core@8.9.2/node_modules/@tanstack/table-core/build/lib/index.js +3299 -0
- package/dist/v1/node_modules/.pnpm/@tanstack_table-core@8.9.2/node_modules/@tanstack/table-core/build/lib/index.js.map +1 -0
- package/dist/v1/node_modules/.pnpm/cmdk@0.2.0_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/cmdk/dist/index.cjs +39 -0
- package/dist/v1/node_modules/.pnpm/cmdk@0.2.0_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/cmdk/dist/index.cjs.map +1 -0
- package/dist/v1/node_modules/.pnpm/cmdk@0.2.0_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/cmdk/dist/index.js +8 -0
- package/dist/v1/node_modules/.pnpm/cmdk@0.2.0_@types_react@18.2.12_react-dom@18.3.1_react@18.2.0__react@18.2.0/node_modules/cmdk/dist/index.js.map +1 -0
- package/dist/v1/node_modules/.pnpm/command-score@0.1.2/node_modules/command-score/index.cjs +146 -0
- package/dist/v1/node_modules/.pnpm/command-score@0.1.2/node_modules/command-score/index.cjs.map +1 -0
- package/dist/v1/node_modules/.pnpm/command-score@0.1.2/node_modules/command-score/index.js +142 -0
- package/dist/v1/node_modules/.pnpm/command-score@0.1.2/node_modules/command-score/index.js.map +1 -0
- package/dist/v1/node_modules/.pnpm/dayjs@1.11.11/node_modules/dayjs/plugin/isSameOrAfter.cjs +16 -0
- package/dist/v1/node_modules/.pnpm/dayjs@1.11.11/node_modules/dayjs/plugin/isSameOrAfter.cjs.map +1 -0
- package/dist/v1/node_modules/.pnpm/dayjs@1.11.11/node_modules/dayjs/plugin/isSameOrAfter.js +12 -0
- package/dist/v1/node_modules/.pnpm/dayjs@1.11.11/node_modules/dayjs/plugin/isSameOrAfter.js.map +1 -0
- package/dist/v1/node_modules/.pnpm/dayjs@1.11.11/node_modules/dayjs/plugin/isSameOrBefore.cjs +16 -0
- package/dist/v1/node_modules/.pnpm/dayjs@1.11.11/node_modules/dayjs/plugin/isSameOrBefore.cjs.map +1 -0
- package/dist/v1/node_modules/.pnpm/dayjs@1.11.11/node_modules/dayjs/plugin/isSameOrBefore.js +12 -0
- package/dist/v1/node_modules/.pnpm/dayjs@1.11.11/node_modules/dayjs/plugin/isSameOrBefore.js.map +1 -0
- package/dist/v1/node_modules/.pnpm/react-remove-scroll@2.5.4_@types_react@18.2.12_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/Combination.cjs +34 -0
- package/dist/v1/node_modules/.pnpm/react-remove-scroll@2.5.4_@types_react@18.2.12_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/Combination.cjs.map +1 -0
- package/dist/v1/node_modules/.pnpm/react-remove-scroll@2.5.4_@types_react@18.2.12_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/Combination.js +11 -0
- package/dist/v1/node_modules/.pnpm/react-remove-scroll@2.5.4_@types_react@18.2.12_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/Combination.js.map +1 -0
- package/dist/v1/node_modules/.pnpm/react-remove-scroll@2.5.4_@types_react@18.2.12_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/SideEffect.cjs +169 -0
- package/dist/v1/node_modules/.pnpm/react-remove-scroll@2.5.4_@types_react@18.2.12_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/SideEffect.cjs.map +1 -0
- package/dist/v1/node_modules/.pnpm/react-remove-scroll@2.5.4_@types_react@18.2.12_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +146 -0
- package/dist/v1/node_modules/.pnpm/react-remove-scroll@2.5.4_@types_react@18.2.12_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/SideEffect.js.map +1 -0
- package/dist/v1/node_modules/.pnpm/react-remove-scroll@2.5.4_@types_react@18.2.12_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/UI.cjs +60 -0
- package/dist/v1/node_modules/.pnpm/react-remove-scroll@2.5.4_@types_react@18.2.12_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/UI.cjs.map +1 -0
- package/dist/v1/node_modules/.pnpm/react-remove-scroll@2.5.4_@types_react@18.2.12_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/UI.js +39 -0
- package/dist/v1/node_modules/.pnpm/react-remove-scroll@2.5.4_@types_react@18.2.12_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/UI.js.map +1 -0
- package/dist/v1/node_modules/.pnpm/react-remove-scroll@2.5.4_@types_react@18.2.12_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.cjs +24 -0
- package/dist/v1/node_modules/.pnpm/react-remove-scroll@2.5.4_@types_react@18.2.12_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.cjs.map +1 -0
- package/dist/v1/node_modules/.pnpm/react-remove-scroll@2.5.4_@types_react@18.2.12_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +22 -0
- package/dist/v1/node_modules/.pnpm/react-remove-scroll@2.5.4_@types_react@18.2.12_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js.map +1 -0
- package/dist/v1/node_modules/.pnpm/react-remove-scroll@2.5.4_@types_react@18.2.12_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/handleScroll.cjs +100 -0
- package/dist/v1/node_modules/.pnpm/react-remove-scroll@2.5.4_@types_react@18.2.12_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/handleScroll.cjs.map +1 -0
- package/dist/v1/node_modules/.pnpm/react-remove-scroll@2.5.4_@types_react@18.2.12_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +97 -0
- package/dist/v1/node_modules/.pnpm/react-remove-scroll@2.5.4_@types_react@18.2.12_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/handleScroll.js.map +1 -0
- package/dist/v1/node_modules/.pnpm/react-remove-scroll@2.5.4_@types_react@18.2.12_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/medium.cjs +8 -0
- package/dist/v1/node_modules/.pnpm/react-remove-scroll@2.5.4_@types_react@18.2.12_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/medium.cjs.map +1 -0
- package/dist/v1/node_modules/.pnpm/react-remove-scroll@2.5.4_@types_react@18.2.12_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/medium.js +6 -0
- package/dist/v1/node_modules/.pnpm/react-remove-scroll@2.5.4_@types_react@18.2.12_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/medium.js.map +1 -0
- package/dist/v1/node_modules/.pnpm/react-remove-scroll@2.5.4_@types_react@18.2.12_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/sidecar.cjs +12 -0
- package/dist/v1/node_modules/.pnpm/react-remove-scroll@2.5.4_@types_react@18.2.12_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/sidecar.cjs.map +1 -0
- package/dist/v1/node_modules/.pnpm/react-remove-scroll@2.5.4_@types_react@18.2.12_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/sidecar.js +8 -0
- package/dist/v1/node_modules/.pnpm/react-remove-scroll@2.5.4_@types_react@18.2.12_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/sidecar.js.map +1 -0
- package/dist/v1/node_modules/.pnpm/react-remove-scroll@2.5.5_@types_react@18.2.12_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/Combination.cjs +2 -2
- package/dist/v1/node_modules/.pnpm/react-remove-scroll@2.5.5_@types_react@18.2.12_react@18.2.0/node_modules/react-remove-scroll/dist/es2015/Combination.js +2 -2
- package/dist/v1/style.css +1 -1
- package/dist/v1/types/filters.cjs +39 -0
- package/dist/v1/types/filters.cjs.map +1 -0
- package/dist/v1/types/filters.d.ts +42 -0
- package/dist/v1/types/filters.d.ts.map +1 -0
- package/dist/v1/types/filters.js +36 -0
- package/dist/v1/types/filters.js.map +1 -0
- package/package.json +2 -1
- package/dist/v1/components/sidepanel/index.d.ts +0 -2
- package/dist/v1/components/sidepanel/index.d.ts.map +0 -1
- package/dist/v1/components/sidepanel/sidepanel.cjs +0 -44
- package/dist/v1/components/sidepanel/sidepanel.cjs.map +0 -1
- package/dist/v1/components/sidepanel/sidepanel.d.ts.map +0 -1
- package/dist/v1/components/sidepanel/sidepanel.js +0 -42
- package/dist/v1/components/sidepanel/sidepanel.js.map +0 -1
- package/dist/v1/components/sidepanel/sidepanel.module.css.cjs +0 -8
- package/dist/v1/components/sidepanel/sidepanel.module.css.cjs.map +0 -1
- package/dist/v1/components/sidepanel/sidepanel.module.css.js +0 -4
- package/dist/v1/components/sidepanel/sidepanel.module.css.js.map +0 -1
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { j as jsxRuntimeExports } from '../../node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.js';
|
|
2
|
+
import { Portal as $5d3850c4d0b4e6c7$export$602eac185826482c, Content as $5d3850c4d0b4e6c7$export$7c6e2c02157bb7d2, Overlay as $5d3850c4d0b4e6c7$export$c6fdb837b070b4ff, Close as $5d3850c4d0b4e6c7$export$f39c2d165cd861fe, Trigger as $5d3850c4d0b4e6c7$export$41fb9f06171c75f4, Title as $5d3850c4d0b4e6c7$export$f99233281efd08a0, Description as $5d3850c4d0b4e6c7$export$393edc798c47379d, Root as $5d3850c4d0b4e6c7$export$be92b6f5f03c0fe9 } from '../../node_modules/.pnpm/@radix-ui_react-dialog@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-dialog/dist/index.js';
|
|
3
|
+
import { Cross1Icon } from '../../node_modules/.pnpm/@radix-ui_react-icons@1.3.0_react@18.2.0/node_modules/@radix-ui/react-icons/dist/react-icons.esm.js';
|
|
4
|
+
import { cva } from '../../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.js';
|
|
5
|
+
import { forwardRef } from 'react';
|
|
6
|
+
import styles from './sheet.module.css.js';
|
|
7
|
+
|
|
8
|
+
const sheetContent = cva(styles.sheetContent, {
|
|
9
|
+
variants: {
|
|
10
|
+
side: {
|
|
11
|
+
top: styles["sheetContent-top"],
|
|
12
|
+
bottom: styles["sheetContent-bottom"],
|
|
13
|
+
left: styles["sheetContent-left"],
|
|
14
|
+
right: styles["sheetContent-right"],
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
defaultVariants: {
|
|
18
|
+
side: "right",
|
|
19
|
+
},
|
|
20
|
+
});
|
|
21
|
+
const SheetContent = forwardRef(({ className, children, close, side, ariaLabel, ariaDescription, ...props }, forwardedRef) => {
|
|
22
|
+
return (jsxRuntimeExports.jsx($5d3850c4d0b4e6c7$export$602eac185826482c, { children: jsxRuntimeExports.jsx(Overlay, { children: jsxRuntimeExports.jsxs($5d3850c4d0b4e6c7$export$7c6e2c02157bb7d2, { ...props, ref: forwardedRef, className: sheetContent({ side, className }), "aria-label": ariaLabel || "Sheet with overlay", "aria-describedby": ariaDescription ? "sheet with overlay" : undefined, role: "dialog", tabIndex: -1, children: [children, close && (jsxRuntimeExports.jsx(CloseButton, { "aria-label": "Close sheet", children: jsxRuntimeExports.jsx(Cross1Icon, { "aria-hidden": "true" }) })), ariaDescription && (jsxRuntimeExports.jsx("div", { id: "sheet-description", className: "sr-only", children: ariaDescription }))] }) }) }));
|
|
23
|
+
});
|
|
24
|
+
const overlay = cva(styles.overlay);
|
|
25
|
+
const Overlay = forwardRef(({ className, ...props }, ref) => (jsxRuntimeExports.jsx($5d3850c4d0b4e6c7$export$c6fdb837b070b4ff, { ref: ref, className: overlay({ className }), "aria-hidden": "true", role: "presentation", ...props })));
|
|
26
|
+
Overlay.displayName = $5d3850c4d0b4e6c7$export$c6fdb837b070b4ff.displayName;
|
|
27
|
+
const close = cva(styles.close);
|
|
28
|
+
function CloseButton({ children, className, ...props }) {
|
|
29
|
+
return (jsxRuntimeExports.jsx($5d3850c4d0b4e6c7$export$f39c2d165cd861fe, { className: close({ className }), ...props, "aria-label": "Close", children: children }));
|
|
30
|
+
}
|
|
31
|
+
function RootSheet({ children, ariaLabel, ...props }) {
|
|
32
|
+
return (jsxRuntimeExports.jsx($5d3850c4d0b4e6c7$export$be92b6f5f03c0fe9, { ...props, children: children }));
|
|
33
|
+
}
|
|
34
|
+
const Sheet = Object.assign(RootSheet, {
|
|
35
|
+
Trigger: $5d3850c4d0b4e6c7$export$41fb9f06171c75f4,
|
|
36
|
+
Content: SheetContent,
|
|
37
|
+
Close: $5d3850c4d0b4e6c7$export$f39c2d165cd861fe,
|
|
38
|
+
Title: $5d3850c4d0b4e6c7$export$f99233281efd08a0,
|
|
39
|
+
Description: $5d3850c4d0b4e6c7$export$393edc798c47379d,
|
|
40
|
+
});
|
|
41
|
+
|
|
42
|
+
export { CloseButton, RootSheet, Sheet, SheetContent };
|
|
43
|
+
//# sourceMappingURL=sheet.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sheet.js","sources":["../../../../v1/components/sheet/sheet.tsx"],"sourcesContent":["import * as DialogPrimitive from \"@radix-ui/react-dialog\";\nimport { Cross1Icon } from \"@radix-ui/react-icons\";\nimport { cva, VariantProps } from \"class-variance-authority\";\nimport {\n ComponentProps,\n ComponentPropsWithoutRef,\n ElementRef,\n forwardRef,\n} from \"react\";\n\nimport styles from \"./sheet.module.css\";\n\nconst sheetContent = cva(styles.sheetContent, {\n variants: {\n side: {\n top: styles[\"sheetContent-top\"],\n bottom: styles[\"sheetContent-bottom\"],\n left: styles[\"sheetContent-left\"],\n right: styles[\"sheetContent-right\"],\n },\n },\n defaultVariants: {\n side: \"right\",\n },\n});\n\nexport interface DialogContentProps\n extends ComponentPropsWithoutRef<typeof DialogPrimitive.Content>,\n VariantProps<typeof sheetContent> {\n ariaLabel?: string;\n ariaDescription?: string;\n}\n\nexport const SheetContent = forwardRef<\n ElementRef<typeof DialogPrimitive.Content>,\n DialogContentProps & { close?: boolean; children?: React.ReactNode }\n>(({ className, children, close, side, ariaLabel, ariaDescription, ...props }, forwardedRef) => {\n return (\n <DialogPrimitive.Portal>\n <Overlay>\n <DialogPrimitive.Content\n {...props}\n ref={forwardedRef}\n className={sheetContent({ side, className })}\n aria-label={ariaLabel || \"Sheet with overlay\"}\n aria-describedby={ariaDescription ? \"sheet with overlay\" : undefined}\n role=\"dialog\"\n tabIndex={-1}\n >\n {children}\n {close && (\n <CloseButton aria-label=\"Close sheet\">\n <Cross1Icon aria-hidden=\"true\" />\n </CloseButton>\n )}\n {ariaDescription && (\n <div id=\"sheet-description\" className=\"sr-only\">\n {ariaDescription}\n </div>\n )}\n </DialogPrimitive.Content>\n </Overlay>\n </DialogPrimitive.Portal>\n );\n});\n\nconst overlay = cva(styles.overlay);\nexport interface OverlayProps\n extends ComponentPropsWithoutRef<typeof DialogPrimitive.Overlay>,\n VariantProps<typeof overlay> {}\n\nconst Overlay = forwardRef<\n ElementRef<typeof DialogPrimitive.Overlay>,\n OverlayProps\n>(({ className, ...props }, ref) => (\n <DialogPrimitive.Overlay\n ref={ref}\n className={overlay({ className })}\n aria-hidden=\"true\"\n role=\"presentation\"\n {...props}\n />\n));\n\nOverlay.displayName = DialogPrimitive.Overlay.displayName;\n\nconst close = cva(styles.close);\ntype CloseButtonProps = ComponentProps<typeof DialogPrimitive.Close>;\n\nexport function CloseButton({\n children,\n className,\n ...props\n}: CloseButtonProps) {\n return (\n <DialogPrimitive.Close \n className={close({ className })} \n {...props}\n aria-label=\"Close\"\n >\n {children}\n </DialogPrimitive.Close>\n );\n}\n\ntype SheetProps = ComponentProps<typeof DialogPrimitive.Root> & {\n ariaLabel?: string;\n};\n\nexport function RootSheet({ children, ariaLabel, ...props }: SheetProps) {\n return (\n <DialogPrimitive.Root {...props}>\n {children}\n </DialogPrimitive.Root>\n );\n}\n\nexport const Sheet = Object.assign(RootSheet, {\n Trigger: DialogPrimitive.Trigger,\n Content: SheetContent,\n Close: DialogPrimitive.Close,\n Title: DialogPrimitive.Title,\n Description: DialogPrimitive.Description,\n}); "],"names":["_jsx","DialogPrimitive.Portal","_jsxs","DialogPrimitive.Content","DialogPrimitive.Overlay","DialogPrimitive.Close","DialogPrimitive.Root","DialogPrimitive.Trigger","DialogPrimitive.Title","DialogPrimitive.Description"],"mappings":";;;;;;;AAYA,MAAM,YAAY,GAAG,GAAG,CAAC,MAAM,CAAC,YAAY,EAAE;AAC5C,IAAA,QAAQ,EAAE;AACR,QAAA,IAAI,EAAE;AACJ,YAAA,GAAG,EAAE,MAAM,CAAC,kBAAkB,CAAC;AAC/B,YAAA,MAAM,EAAE,MAAM,CAAC,qBAAqB,CAAC;AACrC,YAAA,IAAI,EAAE,MAAM,CAAC,mBAAmB,CAAC;AACjC,YAAA,KAAK,EAAE,MAAM,CAAC,oBAAoB,CAAC;AACpC,SAAA;AACF,KAAA;AACD,IAAA,eAAe,EAAE;AACf,QAAA,IAAI,EAAE,OAAO;AACd,KAAA;AACF,CAAA,CAAC,CAAC;AASU,MAAA,YAAY,GAAG,UAAU,CAGpC,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,eAAe,EAAE,GAAG,KAAK,EAAE,EAAE,YAAY,KAAI;AAC7F,IAAA,QACEA,qBAAC,CAAAC,yCAAsB,EAAA,EAAA,QAAA,EACrBD,sBAAC,OAAO,EAAA,EAAA,QAAA,EACNE,uBAACC,yCAAuB,EAClB,EAAA,GAAA,KAAK,EACT,GAAG,EAAE,YAAY,EACjB,SAAS,EAAE,YAAY,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,gBAChC,SAAS,IAAI,oBAAoB,EAC3B,kBAAA,EAAA,eAAe,GAAG,oBAAoB,GAAG,SAAS,EACpE,IAAI,EAAC,QAAQ,EACb,QAAQ,EAAE,CAAC,CAAC,EAAA,QAAA,EAAA,CAEX,QAAQ,EACR,KAAK,KACJH,qBAAA,CAAC,WAAW,EAAY,EAAA,YAAA,EAAA,aAAa,YACnCA,qBAAC,CAAA,UAAU,mBAAa,MAAM,EAAA,CAAG,GAC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CAAqB;IAC5B,KAAK,EAAEG,yCAAqB;IAC5B,WAAW,EAAEC,yCAA2B;AACzC,CAAA;;;;"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var styles = {"sheetContent":"sheet-module_sheetContent__V-w55","slideIn":"sheet-module_slideIn__Tn4qF","slideOut":"sheet-module_slideOut__sfFrS","sheetContent-top":"sheet-module_sheetContent-top__aeZEI","slideInTop":"sheet-module_slideInTop__-qKup","slideOutTop":"sheet-module_slideOutTop__Q-wl6","sheetContent-bottom":"sheet-module_sheetContent-bottom__VIGI5","slideInBottom":"sheet-module_slideInBottom__qb78d","slideOutBottom":"sheet-module_slideOutBottom__DUUbv","sheetContent-right":"sheet-module_sheetContent-right__jekAy","slideInRight":"sheet-module_slideInRight__xPq-b","slideOutRight":"sheet-module_slideOutRight__onoEe","sheetContent-left":"sheet-module_sheetContent-left__cSCUE","slideInLeft":"sheet-module_slideInLeft__xRvN-","slideOutLeft":"sheet-module_slideOutLeft__Lp2rn","overlay":"sheet-module_overlay__0uvrX","close":"sheet-module_close__w-ZKj","sheetContent___top":"sheet-module_sheetContent-top__aeZEI","sheetContent___bottom":"sheet-module_sheetContent-bottom__VIGI5","sheetContent___right":"sheet-module_sheetContent-right__jekAy","sheetContent___left":"sheet-module_sheetContent-left__cSCUE"};
|
|
6
|
+
|
|
7
|
+
exports.default = styles;
|
|
8
|
+
//# sourceMappingURL=sheet.module.css.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sheet.module.css.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
var styles = {"sheetContent":"sheet-module_sheetContent__V-w55","slideIn":"sheet-module_slideIn__Tn4qF","slideOut":"sheet-module_slideOut__sfFrS","sheetContent-top":"sheet-module_sheetContent-top__aeZEI","slideInTop":"sheet-module_slideInTop__-qKup","slideOutTop":"sheet-module_slideOutTop__Q-wl6","sheetContent-bottom":"sheet-module_sheetContent-bottom__VIGI5","slideInBottom":"sheet-module_slideInBottom__qb78d","slideOutBottom":"sheet-module_slideOutBottom__DUUbv","sheetContent-right":"sheet-module_sheetContent-right__jekAy","slideInRight":"sheet-module_slideInRight__xPq-b","slideOutRight":"sheet-module_slideOutRight__onoEe","sheetContent-left":"sheet-module_sheetContent-left__cSCUE","slideInLeft":"sheet-module_slideInLeft__xRvN-","slideOutLeft":"sheet-module_slideOutLeft__Lp2rn","overlay":"sheet-module_overlay__0uvrX","close":"sheet-module_close__w-ZKj","sheetContent___top":"sheet-module_sheetContent-top__aeZEI","sheetContent___bottom":"sheet-module_sheetContent-bottom__VIGI5","sheetContent___right":"sheet-module_sheetContent-right__jekAy","sheetContent___left":"sheet-module_sheetContent-left__cSCUE"};
|
|
2
|
+
|
|
3
|
+
export { styles as default };
|
|
4
|
+
//# sourceMappingURL=sheet.module.css.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sheet.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../v1/components/sidebar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var jsxRuntime = require('../../node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.cjs');
|
|
4
|
+
var index = require('../../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');
|
|
5
|
+
var index$1 = require('../../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.cjs');
|
|
6
|
+
var tooltip = require('../tooltip/tooltip.cjs');
|
|
7
|
+
var sidebar_module = require('./sidebar.module.css.cjs');
|
|
8
|
+
|
|
9
|
+
const root = index$1.cva(sidebar_module.default.root);
|
|
10
|
+
const SidebarRoot = ({ className, position = 'left', open, onOpenChange, children, profile, ref, ...props }) => (jsxRuntime.jsxRuntimeExports.jsx(tooltip.TooltipProvider, { children: jsxRuntime.jsxRuntimeExports.jsxs(index.Root, { ref: ref, className: root({ className }), "data-position": position, "data-state": open ? 'expanded' : 'collapsed', open: open, onOpenChange: onOpenChange, "aria-label": "Navigation Sidebar", "aria-expanded": open, role: "navigation", ...props, children: [jsxRuntime.jsxRuntimeExports.jsx(tooltip.Tooltip, { message: open ? "Click to collapse" : "Click to expand", side: position === 'left' ? 'right' : 'left', asChild: true, children: jsxRuntime.jsxRuntimeExports.jsx("div", { className: sidebar_module.default.resizeHandle, onClick: () => onOpenChange?.(!open), role: "button", tabIndex: 0, "aria-label": open ? "Collapse sidebar" : "Expand sidebar", onKeyDown: (e) => {
|
|
11
|
+
if (e.key === 'Enter' || e.key === ' ') {
|
|
12
|
+
e.preventDefault();
|
|
13
|
+
onOpenChange?.(!open);
|
|
14
|
+
}
|
|
15
|
+
} }) }), children, profile && (jsxRuntime.jsxRuntimeExports.jsxs("a", { href: profile.href, className: sidebar_module.default.account, role: "button", "aria-label": `Profile: ${profile.label}`, onClick: (e) => {
|
|
16
|
+
if (profile.onIconClick) {
|
|
17
|
+
e.preventDefault();
|
|
18
|
+
profile.onIconClick();
|
|
19
|
+
}
|
|
20
|
+
}, children: [jsxRuntime.jsxRuntimeExports.jsx("span", { className: sidebar_module.default['nav-icon'], "aria-hidden": "true", style: { cursor: profile.onIconClick ? 'pointer' : undefined }, children: profile.icon }), jsxRuntime.jsxRuntimeExports.jsx("span", { className: sidebar_module.default['nav-text'], children: profile.label })] }))] }) }));
|
|
21
|
+
const SidebarHeader = ({ className, logo, title, onLogoClick, ref, ...props }) => (jsxRuntime.jsxRuntimeExports.jsxs("div", { ref: ref, className: sidebar_module.default.header, role: "banner", ...props, children: [jsxRuntime.jsxRuntimeExports.jsx("div", { className: sidebar_module.default.logo, onClick: onLogoClick, role: onLogoClick ? "button" : undefined, tabIndex: onLogoClick ? 0 : undefined, onKeyDown: (e) => {
|
|
22
|
+
if (onLogoClick && (e.key === 'Enter' || e.key === ' ')) {
|
|
23
|
+
e.preventDefault();
|
|
24
|
+
onLogoClick();
|
|
25
|
+
}
|
|
26
|
+
}, style: { cursor: onLogoClick ? 'pointer' : undefined }, children: logo }), jsxRuntime.jsxRuntimeExports.jsx("div", { className: sidebar_module.default.title, role: "heading", "aria-level": 1, children: title })] }));
|
|
27
|
+
const SidebarMain = ({ className, children, ref, ...props }) => (jsxRuntime.jsxRuntimeExports.jsx("div", { ref: ref, className: sidebar_module.default.main, role: "group", "aria-label": "Main navigation", ...props, children: children }));
|
|
28
|
+
const SidebarFooter = ({ className, children, ref, ...props }) => (jsxRuntime.jsxRuntimeExports.jsx("div", { ref: ref, className: sidebar_module.default.footer, role: "group", "aria-label": "Footer navigation", ...props, children: children }));
|
|
29
|
+
const SidebarItem = ({ className, icon, children, active, disabled, ref, ...props }) => (jsxRuntime.jsxRuntimeExports.jsxs("a", { ref: ref, className: sidebar_module.default['nav-item'], "data-active": active, "data-disabled": disabled, role: "menuitem", "aria-current": active ? "page" : undefined, "aria-disabled": disabled, ...props, children: [jsxRuntime.jsxRuntimeExports.jsx("span", { className: sidebar_module.default['nav-icon'], "aria-hidden": "true", children: icon }), jsxRuntime.jsxRuntimeExports.jsx("span", { className: sidebar_module.default['nav-text'], children: children })] }));
|
|
30
|
+
const SidebarNavigationGroup = ({ className, name, icon, children, ref, ...props }) => (jsxRuntime.jsxRuntimeExports.jsxs("div", { ref: ref, role: "group", "aria-label": name, ...props, children: [jsxRuntime.jsxRuntimeExports.jsxs("div", { className: sidebar_module.default['nav-group-header'], children: [icon && jsxRuntime.jsxRuntimeExports.jsx("span", { className: sidebar_module.default['nav-icon'], children: icon }), jsxRuntime.jsxRuntimeExports.jsx("span", { className: sidebar_module.default['nav-group-name'], children: name })] }), jsxRuntime.jsxRuntimeExports.jsx("div", { className: sidebar_module.default['nav-group-items'], children: children })] }));
|
|
31
|
+
SidebarRoot.displayName = "Sidebar.Root";
|
|
32
|
+
SidebarHeader.displayName = "Sidebar.Header";
|
|
33
|
+
SidebarMain.displayName = "Sidebar.Main";
|
|
34
|
+
SidebarFooter.displayName = "Sidebar.Footer";
|
|
35
|
+
SidebarItem.displayName = "Sidebar.Item";
|
|
36
|
+
SidebarNavigationGroup.displayName = "Sidebar.Group";
|
|
37
|
+
const Sidebar = {
|
|
38
|
+
Root: SidebarRoot,
|
|
39
|
+
Header: SidebarHeader,
|
|
40
|
+
Main: SidebarMain,
|
|
41
|
+
Footer: SidebarFooter,
|
|
42
|
+
Item: SidebarItem,
|
|
43
|
+
Group: SidebarNavigationGroup,
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
exports.Sidebar = Sidebar;
|
|
47
|
+
//# sourceMappingURL=sidebar.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sidebar.cjs","sources":["../../../../v1/components/sidebar/sidebar.tsx"],"sourcesContent":["import * as Collapsible from '@radix-ui/react-collapsible';\nimport { cva } from \"class-variance-authority\";\nimport { ComponentPropsWithoutRef, ComponentRef, ReactNode } from \"react\";\n\nimport { Tooltip, TooltipProvider } from \"../tooltip\";\nimport styles from \"./sidebar.module.css\";\n\nconst root = cva(styles.root);\n\ninterface SidebarProps extends ComponentPropsWithoutRef<typeof Collapsible.Root> {\n position?: 'left' | 'right';\n profile?: {\n icon: ReactNode;\n label: string;\n href?: string;\n onIconClick?: () => void;\n };\n ref?: ComponentRef<typeof Collapsible.Root>;\n}\n\ninterface SidebarHeaderProps extends ComponentPropsWithoutRef<\"div\"> {\n logo: ReactNode;\n title: string;\n onLogoClick?: () => void;\n ref?: ComponentRef<\"div\">;\n}\n\ninterface SidebarItemProps extends ComponentPropsWithoutRef<\"a\"> {\n icon: ReactNode;\n active?: boolean;\n disabled?: boolean;\n ref?: ComponentRef<\"a\">;\n}\n\ninterface SidebarFooterProps extends ComponentPropsWithoutRef<\"div\"> {\n ref?: ComponentRef<\"div\">;\n}\n\ninterface SidebarNavigationGroupProps extends ComponentPropsWithoutRef<\"div\"> {\n name: string;\n icon?: ReactNode;\n ref?: ComponentRef<\"div\">;\n}\n\nconst SidebarRoot = ({ \n className, \n position = 'left', \n open, \n onOpenChange, \n children, \n profile, \n ref,\n ...props \n}: SidebarProps) => (\n <TooltipProvider>\n <Collapsible.Root\n ref={ref as unknown as React.RefObject<HTMLDivElement>}\n className={root({ className })}\n data-position={position}\n data-state={open ? 'expanded' : 'collapsed'}\n open={open}\n onOpenChange={onOpenChange}\n aria-label=\"Navigation Sidebar\"\n aria-expanded={open}\n role=\"navigation\"\n {...props}\n >\n <Tooltip \n message={open ? \"Click to collapse\" : \"Click to expand\"}\n side={position === 'left' ? 'right' : 'left'}\n asChild\n >\n <div \n className={styles.resizeHandle}\n onClick={() => onOpenChange?.(!open)}\n role=\"button\"\n tabIndex={0}\n aria-label={open ? \"Collapse sidebar\" : \"Expand sidebar\"}\n onKeyDown={(e) => {\n if (e.key === 'Enter' || e.key === ' ') {\n e.preventDefault();\n onOpenChange?.(!open);\n }\n }}\n />\n </Tooltip>\n {children}\n {profile && (\n <a \n href={profile.href} \n className={styles.account}\n role=\"button\"\n aria-label={`Profile: ${profile.label}`}\n onClick={(e) => {\n if (profile.onIconClick) {\n e.preventDefault();\n profile.onIconClick();\n }\n }}\n >\n <span \n className={styles['nav-icon']} \n aria-hidden=\"true\"\n style={{ cursor: profile.onIconClick ? 'pointer' : undefined }}\n >\n {profile.icon}\n </span>\n <span className={styles['nav-text']}>{profile.label}</span>\n </a>\n )}\n </Collapsible.Root>\n </TooltipProvider>\n);\n\nconst SidebarHeader = ({\n className,\n logo,\n title,\n onLogoClick,\n ref,\n ...props\n}: SidebarHeaderProps) => (\n <div \n ref={ref as unknown as React.RefObject<HTMLDivElement>} \n className={styles.header} \n role=\"banner\"\n {...props}\n >\n <div \n className={styles.logo} \n onClick={onLogoClick}\n role={onLogoClick ? \"button\" : undefined}\n tabIndex={onLogoClick ? 0 : undefined}\n onKeyDown={(e) => {\n if (onLogoClick && (e.key === 'Enter' || e.key === ' ')) {\n e.preventDefault();\n onLogoClick();\n }\n }}\n style={{ cursor: onLogoClick ? 'pointer' : undefined }}\n >\n {logo}\n </div>\n <div className={styles.title} role=\"heading\" aria-level={1}>{title}</div>\n </div>\n);\n\nconst SidebarMain = ({\n className,\n children,\n ref,\n ...props\n}: ComponentPropsWithoutRef<\"div\"> & { ref?: ComponentRef<\"div\"> }) => (\n <div \n ref={ref as unknown as React.RefObject<HTMLDivElement>} \n className={styles.main}\n role=\"group\"\n aria-label=\"Main navigation\"\n {...props}\n >\n {children}\n </div>\n);\n\nconst SidebarFooter = ({\n className,\n children,\n ref,\n ...props\n}: SidebarFooterProps) => (\n <div \n ref={ref as unknown as React.RefObject<HTMLDivElement>} \n className={styles.footer}\n role=\"group\"\n aria-label=\"Footer navigation\"\n {...props}\n >\n {children}\n </div>\n);\n\nconst SidebarItem = ({\n className,\n icon,\n children,\n active,\n disabled,\n ref,\n ...props\n}: SidebarItemProps) => (\n <a \n ref={ref as unknown as React.RefObject<HTMLAnchorElement>} \n className={styles['nav-item']} \n data-active={active}\n data-disabled={disabled}\n role=\"menuitem\"\n aria-current={active ? \"page\" : undefined}\n aria-disabled={disabled}\n {...props}\n >\n <span className={styles['nav-icon']} aria-hidden=\"true\">{icon}</span>\n <span className={styles['nav-text']}>{children}</span>\n </a>\n);\n\nconst SidebarNavigationGroup = ({\n className,\n name,\n icon,\n children,\n ref,\n ...props\n}: SidebarNavigationGroupProps) => (\n <div \n ref={ref as unknown as React.RefObject<HTMLDivElement>}\n role=\"group\"\n aria-label={name}\n {...props}\n >\n <div className={styles['nav-group-header']}>\n {icon && <span className={styles['nav-icon']}>{icon}</span>}\n <span className={styles['nav-group-name']}>{name}</span>\n </div>\n <div className={styles['nav-group-items']}>\n {children}\n </div>\n </div>\n);\n\nSidebarRoot.displayName = \"Sidebar.Root\";\nSidebarHeader.displayName = \"Sidebar.Header\";\nSidebarMain.displayName = \"Sidebar.Main\";\nSidebarFooter.displayName = \"Sidebar.Footer\";\nSidebarItem.displayName = \"Sidebar.Item\";\nSidebarNavigationGroup.displayName = \"Sidebar.Group\";\n\nexport const Sidebar = {\n Root: SidebarRoot,\n Header: SidebarHeader,\n Main: SidebarMain,\n Footer: SidebarFooter,\n Item: SidebarItem,\n Group: SidebarNavigationGroup,\n};\n"],"names":["cva","styles","_jsx","TooltipProvider","_jsxs","Collapsible.Root","Tooltip"],"mappings":";;;;;;;;AAOA,MAAM,IAAI,GAAGA,WAAG,CAACC,sBAAM,CAAC,IAAI,CAAC,CAAC;AAqC9B,MAAM,WAAW,GAAG,CAAC,EACnB,SAAS,EACT,QAAQ,GAAG,MAAM,EACjB,IAAI,EACJ,YAAY,EACZ,QAAQ,EACR,OAAO,EACP,GAAG,EACH,GAAG,KAAK,EACK,MACbC,gCAAA,CAACC,uBAAe,EACd,EAAA,QAAA,EAAAC,iCAAA,CAACC,UAAgB,EACf,EAAA,GAAG,EAAE,GAAiD,EACtD,SAAS,EAAE,IAAI,CAAC,EAAE,SAAS,EAAE,CAAC,mBACf,QAAQ,EAAA,YAAA,EACX,IAAI,GAAG,UAAU,GAAG,WAAW,EAC3C,IAAI,EAAE,IAAI,EACV,YAAY,EAAE,YAAY,gBACf,oBAAoB,EAAA,eAAA,EAChB,IAAI,EACnB,IAAI,EAAC,YAAY,EACb,GAAA,KAAK,EAET,QAAA,EAAA,CAAAH,gCAAA,CAACI,eAAO,EAAA,EACN,OAAO,EAAE,IAAI,GAAG,mBAAmB,GAAG,iBAAiB,EACvD,IAAI,EAAE,QAAQ,KAAK,MAAM,GAAG,OAAO,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AEH,sBAAM,CAAC,kBAAkB,CAAC,aACvC,IAAI,IAAIC,gCAAM,CAAA,MAAA,EAAA,EAAA,SAAS,EAAED,sBAAM,CAAC,UAAU,CAAC,YAAG,IAAI,EAAA,CAAQ,EAC3DC,gCAAM,CAAA,MAAA,EAAA,EAAA,SAAS,EAAED,sBAAM,CAAC,gBAAgB,CAAC,YAAG,IAAI,EAAA,CAAQ,CACpD,EAAA,CAAA,EACNC,0CAAK,SAAS,EAAED,sBAAM,CAAC,iBAAiB,CAAC,EAAA,QAAA,EACtC,QAAQ,EACL,CAAA,CAAA,EAAA,CACF,CACP,CAAC;AAEF,WAAW,CAAC,WAAW,GAAG,cAAc,CAAC;AACzC,aAAa,CAAC,WAAW,GAAG,gBAAgB,CAAC;AAC7C,WAAW,CAAC,WAAW,GAAG,cAAc,CAAC;AACzC,aAAa,CAAC,WAAW,GAAG,gBAAgB,CAAC;AAC7C,WAAW,CAAC,WAAW,GAAG,cAAc,CAAC;AACzC,sBAAsB,CAAC,WAAW,GAAG,eAAe,CAAC;AAExC,MAAA,OAAO,GAAG;AACrB,IAAA,IAAI,EAAE,WAAW;AACjB,IAAA,MAAM,EAAE,aAAa;AACrB,IAAA,IAAI,EAAE,WAAW;AACjB,IAAA,MAAM,EAAE,aAAa;AACrB,IAAA,IAAI,EAAE,WAAW;AACjB,IAAA,KAAK,EAAE,sBAAsB;;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as Collapsible from '@radix-ui/react-collapsible';
|
|
2
2
|
import { ComponentPropsWithoutRef, ComponentRef, ReactNode } from "react";
|
|
3
|
-
interface
|
|
3
|
+
interface SidebarProps extends ComponentPropsWithoutRef<typeof Collapsible.Root> {
|
|
4
4
|
position?: 'left' | 'right';
|
|
5
5
|
profile?: {
|
|
6
6
|
icon: ReactNode;
|
|
@@ -10,24 +10,33 @@ interface SidepanelProps extends ComponentPropsWithoutRef<typeof Collapsible.Roo
|
|
|
10
10
|
};
|
|
11
11
|
ref?: ComponentRef<typeof Collapsible.Root>;
|
|
12
12
|
}
|
|
13
|
-
interface
|
|
13
|
+
interface SidebarHeaderProps extends ComponentPropsWithoutRef<"div"> {
|
|
14
14
|
logo: ReactNode;
|
|
15
15
|
title: string;
|
|
16
16
|
onLogoClick?: () => void;
|
|
17
17
|
ref?: ComponentRef<"div">;
|
|
18
18
|
}
|
|
19
|
-
interface
|
|
19
|
+
interface SidebarItemProps extends ComponentPropsWithoutRef<"a"> {
|
|
20
20
|
icon: ReactNode;
|
|
21
21
|
active?: boolean;
|
|
22
|
+
disabled?: boolean;
|
|
22
23
|
ref?: ComponentRef<"a">;
|
|
23
24
|
}
|
|
24
|
-
|
|
25
|
+
interface SidebarFooterProps extends ComponentPropsWithoutRef<"div"> {
|
|
26
|
+
ref?: ComponentRef<"div">;
|
|
27
|
+
}
|
|
28
|
+
interface SidebarNavigationGroupProps extends ComponentPropsWithoutRef<"div"> {
|
|
29
|
+
name: string;
|
|
30
|
+
icon?: ReactNode;
|
|
31
|
+
ref?: ComponentRef<"div">;
|
|
32
|
+
}
|
|
33
|
+
export declare const Sidebar: {
|
|
25
34
|
Root: {
|
|
26
|
-
({ className, position, open, onOpenChange, children, profile, ref, ...props }:
|
|
35
|
+
({ className, position, open, onOpenChange, children, profile, ref, ...props }: SidebarProps): import("react/jsx-runtime").JSX.Element;
|
|
27
36
|
displayName: string;
|
|
28
37
|
};
|
|
29
38
|
Header: {
|
|
30
|
-
({ className, logo, title, onLogoClick, ref, ...props }:
|
|
39
|
+
({ className, logo, title, onLogoClick, ref, ...props }: SidebarHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
31
40
|
displayName: string;
|
|
32
41
|
};
|
|
33
42
|
Main: {
|
|
@@ -37,15 +46,17 @@ export declare const Sidepanel: {
|
|
|
37
46
|
displayName: string;
|
|
38
47
|
};
|
|
39
48
|
Footer: {
|
|
40
|
-
({ className, children, ref, ...props }:
|
|
41
|
-
ref?: HTMLDivElement | undefined;
|
|
42
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
49
|
+
({ className, children, ref, ...props }: SidebarFooterProps): import("react/jsx-runtime").JSX.Element;
|
|
43
50
|
displayName: string;
|
|
44
51
|
};
|
|
45
52
|
Item: {
|
|
46
|
-
({ className, icon, children, active, ref, ...props }:
|
|
53
|
+
({ className, icon, children, active, disabled, ref, ...props }: SidebarItemProps): import("react/jsx-runtime").JSX.Element;
|
|
54
|
+
displayName: string;
|
|
55
|
+
};
|
|
56
|
+
Group: {
|
|
57
|
+
({ className, name, icon, children, ref, ...props }: SidebarNavigationGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
47
58
|
displayName: string;
|
|
48
59
|
};
|
|
49
60
|
};
|
|
50
61
|
export {};
|
|
51
|
-
//# sourceMappingURL=
|
|
62
|
+
//# sourceMappingURL=sidebar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sidebar.d.ts","sourceRoot":"","sources":["../../../../v1/components/sidebar/sidebar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,WAAW,MAAM,6BAA6B,CAAC;AAE3D,OAAO,EAAE,wBAAwB,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAO1E,UAAU,YAAa,SAAQ,wBAAwB,CAAC,OAAO,WAAW,CAAC,IAAI,CAAC;IAC9E,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAC5B,OAAO,CAAC,EAAE;QACR,IAAI,EAAE,SAAS,CAAC;QAChB,KAAK,EAAE,MAAM,CAAC;QACd,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;KAC1B,CAAC;IACF,GAAG,CAAC,EAAE,YAAY,CAAC,OAAO,WAAW,CAAC,IAAI,CAAC,CAAC;CAC7C;AAED,UAAU,kBAAmB,SAAQ,wBAAwB,CAAC,KAAK,CAAC;IAClE,IAAI,EAAE,SAAS,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,GAAG,CAAC,EAAE,YAAY,CAAC,KAAK,CAAC,CAAC;CAC3B;AAED,UAAU,gBAAiB,SAAQ,wBAAwB,CAAC,GAAG,CAAC;IAC9D,IAAI,EAAE,SAAS,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,GAAG,CAAC,EAAE,YAAY,CAAC,GAAG,CAAC,CAAC;CACzB;AAED,UAAU,kBAAmB,SAAQ,wBAAwB,CAAC,KAAK,CAAC;IAClE,GAAG,CAAC,EAAE,YAAY,CAAC,KAAK,CAAC,CAAC;CAC3B;AAED,UAAU,2BAA4B,SAAQ,wBAAwB,CAAC,KAAK,CAAC;IAC3E,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,GAAG,CAAC,EAAE,YAAY,CAAC,KAAK,CAAC,CAAC;CAC3B;AAkMD,eAAO,MAAM,OAAO;;wFAvLjB,YAAY;;;;iEAoEZ,kBAAkB;;;;;;;;;;iDAgDlB,kBAAkB;;;;yEAoBlB,gBAAgB;;;;6DAuBhB,2BAA2B;;;CA+B7B,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { j as jsxRuntimeExports } from '../../node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.js';
|
|
2
|
+
import { Root } from '../../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';
|
|
3
|
+
import { cva } from '../../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.js';
|
|
4
|
+
import { TooltipProvider, Tooltip } from '../tooltip/tooltip.js';
|
|
5
|
+
import styles from './sidebar.module.css.js';
|
|
6
|
+
|
|
7
|
+
const root = cva(styles.root);
|
|
8
|
+
const SidebarRoot = ({ className, position = 'left', open, onOpenChange, children, profile, ref, ...props }) => (jsxRuntimeExports.jsx(TooltipProvider, { children: jsxRuntimeExports.jsxs(Root, { ref: ref, className: root({ className }), "data-position": position, "data-state": open ? 'expanded' : 'collapsed', open: open, onOpenChange: onOpenChange, "aria-label": "Navigation Sidebar", "aria-expanded": open, role: "navigation", ...props, children: [jsxRuntimeExports.jsx(Tooltip, { message: open ? "Click to collapse" : "Click to expand", side: position === 'left' ? 'right' : 'left', asChild: true, children: jsxRuntimeExports.jsx("div", { className: styles.resizeHandle, onClick: () => onOpenChange?.(!open), role: "button", tabIndex: 0, "aria-label": open ? "Collapse sidebar" : "Expand sidebar", onKeyDown: (e) => {
|
|
9
|
+
if (e.key === 'Enter' || e.key === ' ') {
|
|
10
|
+
e.preventDefault();
|
|
11
|
+
onOpenChange?.(!open);
|
|
12
|
+
}
|
|
13
|
+
} }) }), children, profile && (jsxRuntimeExports.jsxs("a", { href: profile.href, className: styles.account, role: "button", "aria-label": `Profile: ${profile.label}`, onClick: (e) => {
|
|
14
|
+
if (profile.onIconClick) {
|
|
15
|
+
e.preventDefault();
|
|
16
|
+
profile.onIconClick();
|
|
17
|
+
}
|
|
18
|
+
}, children: [jsxRuntimeExports.jsx("span", { className: styles['nav-icon'], "aria-hidden": "true", style: { cursor: profile.onIconClick ? 'pointer' : undefined }, children: profile.icon }), jsxRuntimeExports.jsx("span", { className: styles['nav-text'], children: profile.label })] }))] }) }));
|
|
19
|
+
const SidebarHeader = ({ className, logo, title, onLogoClick, ref, ...props }) => (jsxRuntimeExports.jsxs("div", { ref: ref, className: styles.header, role: "banner", ...props, children: [jsxRuntimeExports.jsx("div", { className: styles.logo, onClick: onLogoClick, role: onLogoClick ? "button" : undefined, tabIndex: onLogoClick ? 0 : undefined, onKeyDown: (e) => {
|
|
20
|
+
if (onLogoClick && (e.key === 'Enter' || e.key === ' ')) {
|
|
21
|
+
e.preventDefault();
|
|
22
|
+
onLogoClick();
|
|
23
|
+
}
|
|
24
|
+
}, style: { cursor: onLogoClick ? 'pointer' : undefined }, children: logo }), jsxRuntimeExports.jsx("div", { className: styles.title, role: "heading", "aria-level": 1, children: title })] }));
|
|
25
|
+
const SidebarMain = ({ className, children, ref, ...props }) => (jsxRuntimeExports.jsx("div", { ref: ref, className: styles.main, role: "group", "aria-label": "Main navigation", ...props, children: children }));
|
|
26
|
+
const SidebarFooter = ({ className, children, ref, ...props }) => (jsxRuntimeExports.jsx("div", { ref: ref, className: styles.footer, role: "group", "aria-label": "Footer navigation", ...props, children: children }));
|
|
27
|
+
const SidebarItem = ({ className, icon, children, active, disabled, ref, ...props }) => (jsxRuntimeExports.jsxs("a", { ref: ref, className: styles['nav-item'], "data-active": active, "data-disabled": disabled, role: "menuitem", "aria-current": active ? "page" : undefined, "aria-disabled": disabled, ...props, children: [jsxRuntimeExports.jsx("span", { className: styles['nav-icon'], "aria-hidden": "true", children: icon }), jsxRuntimeExports.jsx("span", { className: styles['nav-text'], children: children })] }));
|
|
28
|
+
const SidebarNavigationGroup = ({ className, name, icon, children, ref, ...props }) => (jsxRuntimeExports.jsxs("div", { ref: ref, role: "group", "aria-label": name, ...props, children: [jsxRuntimeExports.jsxs("div", { className: styles['nav-group-header'], children: [icon && jsxRuntimeExports.jsx("span", { className: styles['nav-icon'], children: icon }), jsxRuntimeExports.jsx("span", { className: styles['nav-group-name'], children: name })] }), jsxRuntimeExports.jsx("div", { className: styles['nav-group-items'], children: children })] }));
|
|
29
|
+
SidebarRoot.displayName = "Sidebar.Root";
|
|
30
|
+
SidebarHeader.displayName = "Sidebar.Header";
|
|
31
|
+
SidebarMain.displayName = "Sidebar.Main";
|
|
32
|
+
SidebarFooter.displayName = "Sidebar.Footer";
|
|
33
|
+
SidebarItem.displayName = "Sidebar.Item";
|
|
34
|
+
SidebarNavigationGroup.displayName = "Sidebar.Group";
|
|
35
|
+
const Sidebar = {
|
|
36
|
+
Root: SidebarRoot,
|
|
37
|
+
Header: SidebarHeader,
|
|
38
|
+
Main: SidebarMain,
|
|
39
|
+
Footer: SidebarFooter,
|
|
40
|
+
Item: SidebarItem,
|
|
41
|
+
Group: SidebarNavigationGroup,
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
export { Sidebar };
|
|
45
|
+
//# sourceMappingURL=sidebar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sidebar.js","sources":["../../../../v1/components/sidebar/sidebar.tsx"],"sourcesContent":["import * as Collapsible from '@radix-ui/react-collapsible';\nimport { cva } from \"class-variance-authority\";\nimport { ComponentPropsWithoutRef, ComponentRef, ReactNode } from \"react\";\n\nimport { Tooltip, TooltipProvider } from \"../tooltip\";\nimport styles from \"./sidebar.module.css\";\n\nconst root = cva(styles.root);\n\ninterface SidebarProps extends ComponentPropsWithoutRef<typeof Collapsible.Root> {\n position?: 'left' | 'right';\n profile?: {\n icon: ReactNode;\n label: string;\n href?: string;\n onIconClick?: () => void;\n };\n ref?: ComponentRef<typeof Collapsible.Root>;\n}\n\ninterface SidebarHeaderProps extends ComponentPropsWithoutRef<\"div\"> {\n logo: ReactNode;\n title: string;\n onLogoClick?: () => void;\n ref?: ComponentRef<\"div\">;\n}\n\ninterface SidebarItemProps extends ComponentPropsWithoutRef<\"a\"> {\n icon: ReactNode;\n active?: boolean;\n disabled?: boolean;\n ref?: ComponentRef<\"a\">;\n}\n\ninterface SidebarFooterProps extends ComponentPropsWithoutRef<\"div\"> {\n ref?: ComponentRef<\"div\">;\n}\n\ninterface SidebarNavigationGroupProps extends ComponentPropsWithoutRef<\"div\"> {\n name: string;\n icon?: ReactNode;\n ref?: ComponentRef<\"div\">;\n}\n\nconst SidebarRoot = ({ \n className, \n position = 'left', \n open, \n onOpenChange, \n children, \n profile, \n ref,\n ...props \n}: SidebarProps) => (\n <TooltipProvider>\n <Collapsible.Root\n ref={ref as unknown as React.RefObject<HTMLDivElement>}\n className={root({ className })}\n data-position={position}\n data-state={open ? 'expanded' : 'collapsed'}\n open={open}\n onOpenChange={onOpenChange}\n aria-label=\"Navigation Sidebar\"\n aria-expanded={open}\n role=\"navigation\"\n {...props}\n >\n <Tooltip \n message={open ? \"Click to collapse\" : \"Click to expand\"}\n side={position === 'left' ? 'right' : 'left'}\n asChild\n >\n <div \n className={styles.resizeHandle}\n onClick={() => onOpenChange?.(!open)}\n role=\"button\"\n tabIndex={0}\n aria-label={open ? \"Collapse sidebar\" : \"Expand sidebar\"}\n onKeyDown={(e) => {\n if (e.key === 'Enter' || e.key === ' ') {\n e.preventDefault();\n onOpenChange?.(!open);\n }\n }}\n />\n </Tooltip>\n {children}\n {profile && (\n <a \n href={profile.href} \n className={styles.account}\n role=\"button\"\n aria-label={`Profile: ${profile.label}`}\n onClick={(e) => {\n if (profile.onIconClick) {\n e.preventDefault();\n profile.onIconClick();\n }\n }}\n >\n <span \n className={styles['nav-icon']} \n aria-hidden=\"true\"\n style={{ cursor: profile.onIconClick ? 'pointer' : undefined }}\n >\n {profile.icon}\n </span>\n <span className={styles['nav-text']}>{profile.label}</span>\n </a>\n )}\n </Collapsible.Root>\n </TooltipProvider>\n);\n\nconst SidebarHeader = ({\n className,\n logo,\n title,\n onLogoClick,\n ref,\n ...props\n}: SidebarHeaderProps) => (\n <div \n ref={ref as unknown as React.RefObject<HTMLDivElement>} \n className={styles.header} \n role=\"banner\"\n {...props}\n >\n <div \n className={styles.logo} \n onClick={onLogoClick}\n role={onLogoClick ? \"button\" : undefined}\n tabIndex={onLogoClick ? 0 : undefined}\n onKeyDown={(e) => {\n if (onLogoClick && (e.key === 'Enter' || e.key === ' ')) {\n e.preventDefault();\n onLogoClick();\n }\n }}\n style={{ cursor: onLogoClick ? 'pointer' : undefined }}\n >\n {logo}\n </div>\n <div className={styles.title} role=\"heading\" aria-level={1}>{title}</div>\n </div>\n);\n\nconst SidebarMain = ({\n className,\n children,\n ref,\n ...props\n}: ComponentPropsWithoutRef<\"div\"> & { ref?: ComponentRef<\"div\"> }) => (\n <div \n ref={ref as unknown as React.RefObject<HTMLDivElement>} \n className={styles.main}\n role=\"group\"\n aria-label=\"Main navigation\"\n {...props}\n >\n {children}\n </div>\n);\n\nconst SidebarFooter = ({\n className,\n children,\n ref,\n ...props\n}: SidebarFooterProps) => (\n <div \n ref={ref as unknown as React.RefObject<HTMLDivElement>} \n className={styles.footer}\n role=\"group\"\n aria-label=\"Footer navigation\"\n {...props}\n >\n {children}\n </div>\n);\n\nconst SidebarItem = ({\n className,\n icon,\n children,\n active,\n disabled,\n ref,\n ...props\n}: SidebarItemProps) => (\n <a \n ref={ref as unknown as React.RefObject<HTMLAnchorElement>} \n className={styles['nav-item']} \n data-active={active}\n data-disabled={disabled}\n role=\"menuitem\"\n aria-current={active ? \"page\" : undefined}\n aria-disabled={disabled}\n {...props}\n >\n <span className={styles['nav-icon']} aria-hidden=\"true\">{icon}</span>\n <span className={styles['nav-text']}>{children}</span>\n </a>\n);\n\nconst SidebarNavigationGroup = ({\n className,\n name,\n icon,\n children,\n ref,\n ...props\n}: SidebarNavigationGroupProps) => (\n <div \n ref={ref as unknown as React.RefObject<HTMLDivElement>}\n role=\"group\"\n aria-label={name}\n {...props}\n >\n <div className={styles['nav-group-header']}>\n {icon && <span className={styles['nav-icon']}>{icon}</span>}\n <span className={styles['nav-group-name']}>{name}</span>\n </div>\n <div className={styles['nav-group-items']}>\n {children}\n </div>\n </div>\n);\n\nSidebarRoot.displayName = \"Sidebar.Root\";\nSidebarHeader.displayName = \"Sidebar.Header\";\nSidebarMain.displayName = \"Sidebar.Main\";\nSidebarFooter.displayName = \"Sidebar.Footer\";\nSidebarItem.displayName = \"Sidebar.Item\";\nSidebarNavigationGroup.displayName = \"Sidebar.Group\";\n\nexport const Sidebar = {\n Root: SidebarRoot,\n Header: SidebarHeader,\n Main: SidebarMain,\n Footer: SidebarFooter,\n Item: SidebarItem,\n Group: SidebarNavigationGroup,\n};\n"],"names":["_jsx","_jsxs","Collapsible.Root"],"mappings":";;;;;;AAOA,MAAM,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7C,WAAW,CAAC,WAAW,GAAG,cAAc,CAAC;AACzC,sBAAsB,CAAC,WAAW,GAAG,eAAe,CAAC;AAExC,MAAA,OAAO,GAAG;AACrB,IAAA,IAAI,EAAE,WAAW;AACjB,IAAA,MAAM,EAAE,aAAa;AACrB,IAAA,IAAI,EAAE,WAAW;AACjB,IAAA,MAAM,EAAE,aAAa;AACrB,IAAA,IAAI,EAAE,WAAW;AACjB,IAAA,KAAK,EAAE,sBAAsB;;;;;"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var styles = {"root":"sidebar-module_root__-ciyq","header":"sidebar-module_header__GzbSE","logo":"sidebar-module_logo__YxTrc","title":"sidebar-module_title__nIhOy","main":"sidebar-module_main__FjcRL","footer":"sidebar-module_footer__t9fmh","nav-item":"sidebar-module_nav-item__jTa5k","nav-icon":"sidebar-module_nav-icon__jmxq3","nav-text":"sidebar-module_nav-text__79AeV","resizeHandle":"sidebar-module_resizeHandle__sPTc9","account":"sidebar-module_account__YWf3e","nav-group-header":"sidebar-module_nav-group-header__2-ANc","nav-group-name":"sidebar-module_nav-group-name__O-LP0","nav-group-items":"sidebar-module_nav-group-items__oc7Zi","nav___item":"sidebar-module_nav-item__jTa5k","nav___icon":"sidebar-module_nav-icon__jmxq3","nav___text":"sidebar-module_nav-text__79AeV","nav___group___header":"sidebar-module_nav-group-header__2-ANc","nav___group___name":"sidebar-module_nav-group-name__O-LP0","nav___group___items":"sidebar-module_nav-group-items__oc7Zi"};
|
|
6
|
+
|
|
7
|
+
exports.default = styles;
|
|
8
|
+
//# sourceMappingURL=sidebar.module.css.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sidebar.module.css.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
var styles = {"root":"sidebar-module_root__-ciyq","header":"sidebar-module_header__GzbSE","logo":"sidebar-module_logo__YxTrc","title":"sidebar-module_title__nIhOy","main":"sidebar-module_main__FjcRL","footer":"sidebar-module_footer__t9fmh","nav-item":"sidebar-module_nav-item__jTa5k","nav-icon":"sidebar-module_nav-icon__jmxq3","nav-text":"sidebar-module_nav-text__79AeV","resizeHandle":"sidebar-module_resizeHandle__sPTc9","account":"sidebar-module_account__YWf3e","nav-group-header":"sidebar-module_nav-group-header__2-ANc","nav-group-name":"sidebar-module_nav-group-name__O-LP0","nav-group-items":"sidebar-module_nav-group-items__oc7Zi","nav___item":"sidebar-module_nav-item__jTa5k","nav___icon":"sidebar-module_nav-icon__jmxq3","nav___text":"sidebar-module_nav-text__79AeV","nav___group___header":"sidebar-module_nav-group-header__2-ANc","nav___group___name":"sidebar-module_nav-group-name__O-LP0","nav___group___items":"sidebar-module_nav-group-items__oc7Zi"};
|
|
2
|
+
|
|
3
|
+
export { styles as default };
|
|
4
|
+
//# sourceMappingURL=sidebar.module.css.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sidebar.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../v1/components/table/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var jsxRuntime = require('../../node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.cjs');
|
|
4
|
+
var React = require('react');
|
|
5
|
+
var index = require('../../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.cjs');
|
|
6
|
+
var table_module = require('./table.module.css.cjs');
|
|
7
|
+
|
|
8
|
+
const table = index.cva(table_module.default["table"]);
|
|
9
|
+
const TableRoot = React.forwardRef(({ className, ...props }, ref) => {
|
|
10
|
+
return jsxRuntime.jsxRuntimeExports.jsx("table", { ref: ref, ...props, className: table({ className }) });
|
|
11
|
+
});
|
|
12
|
+
const header = index.cva(table_module.default["header"]);
|
|
13
|
+
const TableHeader = React.forwardRef(({ className, ...props }, ref) => {
|
|
14
|
+
return jsxRuntime.jsxRuntimeExports.jsx("thead", { ref: ref, ...props, className: header({ className }) });
|
|
15
|
+
});
|
|
16
|
+
const TableBody = React.forwardRef(({ ...props }, ref) => {
|
|
17
|
+
return jsxRuntime.jsxRuntimeExports.jsx("tbody", { ref: ref, ...props });
|
|
18
|
+
});
|
|
19
|
+
const TableRow = React.forwardRef(({ ...props }, ref) => {
|
|
20
|
+
return jsxRuntime.jsxRuntimeExports.jsx("tr", { ref: ref, ...props });
|
|
21
|
+
});
|
|
22
|
+
const head = index.cva(table_module.default["head"]);
|
|
23
|
+
const TableHead = React.forwardRef(({ className, ...props }, ref) => {
|
|
24
|
+
return jsxRuntime.jsxRuntimeExports.jsx("th", { ref: ref, ...props, className: head({ className }) });
|
|
25
|
+
});
|
|
26
|
+
const cell = index.cva(table_module.default["cell"]);
|
|
27
|
+
const TableCell = React.forwardRef(({ className, ...props }, ref) => {
|
|
28
|
+
return jsxRuntime.jsxRuntimeExports.jsx("td", { ref: ref, ...props, className: cell({ className }) });
|
|
29
|
+
});
|
|
30
|
+
const sectionHeader = index.cva(table_module.default["sectionHeader"]);
|
|
31
|
+
const SectionHeader = React.forwardRef(({ classNames, colSpan, children }, ref) => {
|
|
32
|
+
return (jsxRuntime.jsxRuntimeExports.jsx("tr", { ref: ref, className: sectionHeader({ className: classNames?.row }), children: jsxRuntime.jsxRuntimeExports.jsx("th", { colSpan: colSpan, className: classNames?.cell, children: children }) }));
|
|
33
|
+
});
|
|
34
|
+
const Table = Object.assign(TableRoot, {
|
|
35
|
+
Header: TableHeader,
|
|
36
|
+
Body: TableBody,
|
|
37
|
+
Row: TableRow,
|
|
38
|
+
Head: TableHead,
|
|
39
|
+
Cell: TableCell,
|
|
40
|
+
SectionHeader: SectionHeader,
|
|
41
|
+
});
|
|
42
|
+
|
|
43
|
+
exports.Table = Table;
|
|
44
|
+
//# sourceMappingURL=table.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table.cjs","sources":["../../../../v1/components/table/table.tsx"],"sourcesContent":["import React from \"react\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\nimport styles from \"./table.module.css\";\n\nconst table = cva(styles[\"table\"]);\nconst TableRoot = React.forwardRef<\n HTMLTableElement,\n React.HTMLAttributes<HTMLTableElement> &\n React.PropsWithChildren<VariantProps<typeof table>>\n>(({ className, ...props }, ref) => {\n return <table ref={ref} {...props} className={table({ className })} />;\n});\n\nconst header = cva(styles[\"header\"]);\nconst TableHeader = React.forwardRef<\n HTMLTableSectionElement,\n React.HTMLAttributes<HTMLTableSectionElement> &\n React.PropsWithChildren<VariantProps<typeof header>>\n>(({ className, ...props }, ref) => {\n return <thead ref={ref} {...props} className={header({ className })} />;\n});\n\nconst TableBody = React.forwardRef<\n HTMLTableSectionElement,\n React.HTMLAttributes<HTMLTableSectionElement> & React.PropsWithChildren\n>(({ ...props }, ref) => {\n return <tbody ref={ref} {...props} />;\n});\n\nconst TableRow = React.forwardRef<\n HTMLTableRowElement,\n React.HTMLAttributes<HTMLTableRowElement> & React.PropsWithChildren\n>(({ ...props }, ref) => {\n return <tr ref={ref} {...props} />;\n});\n\nconst head = cva(styles[\"head\"]);\nconst TableHead = React.forwardRef<\n HTMLTableCellElement,\n React.ThHTMLAttributes<HTMLTableCellElement> &\n React.PropsWithChildren<VariantProps<typeof head>>\n>(({ className, ...props }, ref) => {\n return <th ref={ref} {...props} className={head({ className })} />;\n});\n\nconst cell = cva(styles[\"cell\"]);\nconst TableCell = React.forwardRef<\n HTMLTableCellElement,\n React.TdHTMLAttributes<HTMLTableCellElement> &\n React.PropsWithChildren<VariantProps<typeof cell>>\n>(({ className, ...props }, ref) => {\n return <td ref={ref} {...props} className={cell({ className })} />;\n});\n\nconst sectionHeader = cva(styles[\"sectionHeader\"]);\ntype SectionHeaderClassNames = \"row\" | \"cell\";\nconst SectionHeader = React.forwardRef<\n HTMLTableRowElement,\n React.PropsWithChildren & {\n colSpan: number;\n classNames?: Partial<Record<SectionHeaderClassNames, string>>;\n }\n>(({ classNames, colSpan, children }, ref) => {\n return (\n <tr ref={ref} className={sectionHeader({ className: classNames?.row })}>\n <th colSpan={colSpan} className={classNames?.cell}>\n {children}\n </th>\n </tr>\n );\n});\n\nexport const Table = Object.assign(TableRoot, {\n Header: TableHeader,\n Body: TableBody,\n Row: TableRow,\n Head: TableHead,\n Cell: TableCell,\n SectionHeader: SectionHeader,\n});\n"],"names":["cva","styles","_jsx"],"mappings":";;;;;;;AAIA,MAAM,KAAK,GAAGA,SAAG,CAACC,oBAAM,CAAC,OAAO,CAAC,CAAC,CAAC;AACnC,MAAM,SAAS,GAAG,KAAK,CAAC,UAAU,CAIhC,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,KAAI;AACjC,IAAA,OAAOC,4CAAO,GAAG,EAAE,GAAG,EAAA,GAAM,KAAK,EAAE,SAAS,EAAE,KAAK,CAAC,EAAE,SAAS,EAAE,CAAC,GAAI,CAAC;AACzE,CAAC,CAAC,CAAC;AAEH,MAAM,MAAM,GAAGF,SAAG,CAACC,oBAAM,CAAC,QAAQ,CAAC,CAAC,CAAC;AACrC,MAAM,WAAW,GAAG,KAAK,CAAC,UAAU,CAIlC,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,KAAI;AACjC,IAAA,OAAOC,4CAAO,GAAG,EAAE,GAAG,EAAA,GAAM,KAAK,EAAE,SAAS,EAAE,MAAM,CAAC,EAAE,SAAS,EAAE,CAAC,GAAI,CAAC;AAC1E,CAAC,CAAC,CAAC;AAEH,MAAM,SAAS,GAAG,KAAK,CAAC,UAAU,CAGhC,CAA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,CAAA,IAAA,EAAA,EAAI,GAAG,EAAE,GAAG,EAAE,SAAS,EAAE,aAAa,CAAC,EAAE,SAAS,EAAE,UAAU,EAAE,GAAG,EAAE,CAAC,EAAA,QAAA,EACpEA,gCAAI,CAAA,IAAA,EAAA,EAAA,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,IAAI,EAC9C,QAAA,EAAA,QAAQ,EACN,CAAA,EAAA,CACF,EACL;AACJ,CAAC,CAAC,CAAC;MAEU,KAAK,GAAG,MAAM,CAAC,MAAM,CAAC,SAAS,EAAE;AAC5C,IAAA,MAAM,EAAE,WAAW;AACnB,IAAA,IAAI,EAAE,SAAS;AACf,IAAA,GAAG,EAAE,QAAQ;AACb,IAAA,IAAI,EAAE,SAAS;AACf,IAAA,IAAI,EAAE,SAAS;AACf,IAAA,aAAa,EAAE,aAAa;AAC7B,CAAA;;;;"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { type VariantProps } from "class-variance-authority";
|
|
3
|
+
type SectionHeaderClassNames = "row" | "cell";
|
|
4
|
+
export declare const Table: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableElement> & VariantProps<(props?: import("class-variance-authority/dist/types").ClassProp | undefined) => string> & {
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
} & React.RefAttributes<HTMLTableElement>> & {
|
|
7
|
+
Header: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & VariantProps<(props?: import("class-variance-authority/dist/types").ClassProp | undefined) => string> & {
|
|
8
|
+
children?: React.ReactNode;
|
|
9
|
+
} & React.RefAttributes<HTMLTableSectionElement>>;
|
|
10
|
+
Body: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & {
|
|
11
|
+
children?: React.ReactNode;
|
|
12
|
+
} & React.RefAttributes<HTMLTableSectionElement>>;
|
|
13
|
+
Row: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableRowElement> & {
|
|
14
|
+
children?: React.ReactNode;
|
|
15
|
+
} & React.RefAttributes<HTMLTableRowElement>>;
|
|
16
|
+
Head: React.ForwardRefExoticComponent<React.ThHTMLAttributes<HTMLTableCellElement> & VariantProps<(props?: import("class-variance-authority/dist/types").ClassProp | undefined) => string> & {
|
|
17
|
+
children?: React.ReactNode;
|
|
18
|
+
} & React.RefAttributes<HTMLTableCellElement>>;
|
|
19
|
+
Cell: React.ForwardRefExoticComponent<React.TdHTMLAttributes<HTMLTableCellElement> & VariantProps<(props?: import("class-variance-authority/dist/types").ClassProp | undefined) => string> & {
|
|
20
|
+
children?: React.ReactNode;
|
|
21
|
+
} & React.RefAttributes<HTMLTableCellElement>>;
|
|
22
|
+
SectionHeader: React.ForwardRefExoticComponent<{
|
|
23
|
+
children?: React.ReactNode;
|
|
24
|
+
} & {
|
|
25
|
+
colSpan: number;
|
|
26
|
+
classNames?: Partial<Record<SectionHeaderClassNames, string>> | undefined;
|
|
27
|
+
} & React.RefAttributes<HTMLTableRowElement>>;
|
|
28
|
+
};
|
|
29
|
+
export {};
|
|
30
|
+
//# sourceMappingURL=table.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../../../v1/components/table/table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAsDlE,KAAK,uBAAuB,GAAG,KAAK,GAAG,MAAM,CAAC;AAiB9C,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;iBAbL,MAAM;;;CAoBjB,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { j as jsxRuntimeExports } from '../../node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.js';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import { cva } from '../../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.js';
|
|
4
|
+
import styles from './table.module.css.js';
|
|
5
|
+
|
|
6
|
+
const table = cva(styles["table"]);
|
|
7
|
+
const TableRoot = React__default.forwardRef(({ className, ...props }, ref) => {
|
|
8
|
+
return jsxRuntimeExports.jsx("table", { ref: ref, ...props, className: table({ className }) });
|
|
9
|
+
});
|
|
10
|
+
const header = cva(styles["header"]);
|
|
11
|
+
const TableHeader = React__default.forwardRef(({ className, ...props }, ref) => {
|
|
12
|
+
return jsxRuntimeExports.jsx("thead", { ref: ref, ...props, className: header({ className }) });
|
|
13
|
+
});
|
|
14
|
+
const TableBody = React__default.forwardRef(({ ...props }, ref) => {
|
|
15
|
+
return jsxRuntimeExports.jsx("tbody", { ref: ref, ...props });
|
|
16
|
+
});
|
|
17
|
+
const TableRow = React__default.forwardRef(({ ...props }, ref) => {
|
|
18
|
+
return jsxRuntimeExports.jsx("tr", { ref: ref, ...props });
|
|
19
|
+
});
|
|
20
|
+
const head = cva(styles["head"]);
|
|
21
|
+
const TableHead = React__default.forwardRef(({ className, ...props }, ref) => {
|
|
22
|
+
return jsxRuntimeExports.jsx("th", { ref: ref, ...props, className: head({ className }) });
|
|
23
|
+
});
|
|
24
|
+
const cell = cva(styles["cell"]);
|
|
25
|
+
const TableCell = React__default.forwardRef(({ className, ...props }, ref) => {
|
|
26
|
+
return jsxRuntimeExports.jsx("td", { ref: ref, ...props, className: cell({ className }) });
|
|
27
|
+
});
|
|
28
|
+
const sectionHeader = cva(styles["sectionHeader"]);
|
|
29
|
+
const SectionHeader = React__default.forwardRef(({ classNames, colSpan, children }, ref) => {
|
|
30
|
+
return (jsxRuntimeExports.jsx("tr", { ref: ref, className: sectionHeader({ className: classNames?.row }), children: jsxRuntimeExports.jsx("th", { colSpan: colSpan, className: classNames?.cell, children: children }) }));
|
|
31
|
+
});
|
|
32
|
+
const Table = Object.assign(TableRoot, {
|
|
33
|
+
Header: TableHeader,
|
|
34
|
+
Body: TableBody,
|
|
35
|
+
Row: TableRow,
|
|
36
|
+
Head: TableHead,
|
|
37
|
+
Cell: TableCell,
|
|
38
|
+
SectionHeader: SectionHeader,
|
|
39
|
+
});
|
|
40
|
+
|
|
41
|
+
export { Table };
|
|
42
|
+
//# sourceMappingURL=table.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table.js","sources":["../../../../v1/components/table/table.tsx"],"sourcesContent":["import React from \"react\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\nimport styles from \"./table.module.css\";\n\nconst table = cva(styles[\"table\"]);\nconst TableRoot = React.forwardRef<\n HTMLTableElement,\n React.HTMLAttributes<HTMLTableElement> &\n React.PropsWithChildren<VariantProps<typeof table>>\n>(({ className, ...props }, ref) => {\n return <table ref={ref} {...props} className={table({ className })} />;\n});\n\nconst header = cva(styles[\"header\"]);\nconst TableHeader = React.forwardRef<\n HTMLTableSectionElement,\n React.HTMLAttributes<HTMLTableSectionElement> &\n React.PropsWithChildren<VariantProps<typeof header>>\n>(({ className, ...props }, ref) => {\n return <thead ref={ref} {...props} className={header({ className })} />;\n});\n\nconst TableBody = React.forwardRef<\n HTMLTableSectionElement,\n React.HTMLAttributes<HTMLTableSectionElement> & React.PropsWithChildren\n>(({ ...props }, ref) => {\n return <tbody ref={ref} {...props} />;\n});\n\nconst TableRow = React.forwardRef<\n HTMLTableRowElement,\n React.HTMLAttributes<HTMLTableRowElement> & React.PropsWithChildren\n>(({ ...props }, ref) => {\n return <tr ref={ref} {...props} />;\n});\n\nconst head = cva(styles[\"head\"]);\nconst TableHead = React.forwardRef<\n HTMLTableCellElement,\n React.ThHTMLAttributes<HTMLTableCellElement> &\n React.PropsWithChildren<VariantProps<typeof head>>\n>(({ className, ...props }, ref) => {\n return <th ref={ref} {...props} className={head({ className })} />;\n});\n\nconst cell = cva(styles[\"cell\"]);\nconst TableCell = React.forwardRef<\n HTMLTableCellElement,\n React.TdHTMLAttributes<HTMLTableCellElement> &\n React.PropsWithChildren<VariantProps<typeof cell>>\n>(({ className, ...props }, ref) => {\n return <td ref={ref} {...props} className={cell({ className })} />;\n});\n\nconst sectionHeader = cva(styles[\"sectionHeader\"]);\ntype SectionHeaderClassNames = \"row\" | \"cell\";\nconst SectionHeader = React.forwardRef<\n HTMLTableRowElement,\n React.PropsWithChildren & {\n colSpan: number;\n classNames?: Partial<Record<SectionHeaderClassNames, string>>;\n }\n>(({ classNames, colSpan, children }, ref) => {\n return (\n <tr ref={ref} className={sectionHeader({ className: classNames?.row })}>\n <th colSpan={colSpan} className={classNames?.cell}>\n {children}\n </th>\n </tr>\n );\n});\n\nexport const Table = Object.assign(TableRoot, {\n Header: TableHeader,\n Body: TableBody,\n Row: TableRow,\n Head: TableHead,\n Cell: TableCell,\n SectionHeader: SectionHeader,\n});\n"],"names":["React","_jsx"],"mappings":";;;;;AAIA,MAAM,KAAK,GAAG,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC;AACnC,MAAM,SAAS,GAAGA,cAAK,CAAC,UAAU,CAIhC,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,KAAI;AACjC,IAAA,OAAOC,iCAAO,GAAG,EAAE,GAAG,EAAA,GAAM,KAAK,EAAE,SAAS,EAAE,KAAK,CAAC,EAAE,SAAS,EAAE,CAAC,GAAI,CAAC;AACzE,CAAC,CAAC,CAAC;AAEH,MAAM,MAAM,GAAG,GAAG,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC;AACrC,MAAM,WAAW,GAAGD,cAAK,CAAC,UAAU,CAIlC,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,KAAI;AACjC,IAAA,OAAOC,iCAAO,GAAG,EAAE,GAAG,EAAA,GAAM,KAAK,EAAE,SAAS,EAAE,MAAM,CAAC,EAAE,SAAS,EAAE,CAAC,GAAI,CAAC;AAC1E,CAAC,CAAC,CAAC;AAEH,MAAM,SAAS,GAAGD,cAAK,CAAC,UAAU,CAGhC,CAA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AAA,IAAA,EAAA,EAAI,GAAG,EAAE,GAAG,EAAE,SAAS,EAAE,aAAa,CAAC,EAAE,SAAS,EAAE,UAAU,EAAE,GAAG,EAAE,CAAC,EAAA,QAAA,EACpEA,qBAAI,CAAA,IAAA,EAAA,EAAA,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,IAAI,EAC9C,QAAA,EAAA,QAAQ,EACN,CAAA,EAAA,CACF,EACL;AACJ,CAAC,CAAC,CAAC;MAEU,KAAK,GAAG,MAAM,CAAC,MAAM,CAAC,SAAS,EAAE;AAC5C,IAAA,MAAM,EAAE,WAAW;AACnB,IAAA,IAAI,EAAE,SAAS;AACf,IAAA,GAAG,EAAE,QAAQ;AACb,IAAA,IAAI,EAAE,SAAS;AACf,IAAA,IAAI,EAAE,SAAS;AACf,IAAA,aAAa,EAAE,aAAa;AAC7B,CAAA;;;;"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var styles = {"table":"table-module_table__N8vcx","header":"table-module_header__5L4uw","head":"table-module_head__z-WAP","cell":"table-module_cell__1KRMa","sectionHeader":"table-module_sectionHeader__I06bF"};
|
|
6
|
+
|
|
7
|
+
exports.default = styles;
|
|
8
|
+
//# sourceMappingURL=table.module.css.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table.module.css.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
var styles = {"table":"table-module_table__N8vcx","header":"table-module_header__5L4uw","head":"table-module_head__z-WAP","cell":"table-module_cell__1KRMa","sectionHeader":"table-module_sectionHeader__I06bF"};
|
|
2
|
+
|
|
3
|
+
export { styles as default };
|
|
4
|
+
//# sourceMappingURL=table.module.css.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
var jsxRuntime = require('../../node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.cjs');
|
|
4
4
|
var index = require('../../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');
|
|
5
5
|
var index$1 = require('../../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.cjs');
|
|
6
|
+
var clsx = require('../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.cjs');
|
|
6
7
|
var text = require('../text/text.cjs');
|
|
7
8
|
var tooltip_module = require('./tooltip.module.css.cjs');
|
|
8
9
|
|
|
@@ -23,8 +24,8 @@ const tooltip = index$1.cva(tooltip_module.default.content, {
|
|
|
23
24
|
side: "top"
|
|
24
25
|
}
|
|
25
26
|
});
|
|
26
|
-
const Tooltip = ({ children, message, disabled, side = "top",
|
|
27
|
-
return disabled ? (children) : (jsxRuntime.jsxRuntimeExports.jsx(index.Provider, { delayDuration: delayDuration, skipDelayDuration: skipDelayDuration, children: jsxRuntime.jsxRuntimeExports.jsxs(index.Root, { children: [jsxRuntime.jsxRuntimeExports.jsx(index.Trigger, { "aria-describedby": "tooltip", asChild: asChild, children: children }), jsxRuntime.jsxRuntimeExports.jsx(index.Portal, { children: jsxRuntime.jsxRuntimeExports.jsxs(index.Content, { id: "tooltip", role: "tooltip", "aria-label": ariaLabel || (typeof message === 'string' ? message : undefined), side: side?.split('-')[0] || 'top', align: (side?.includes('-') ? (side.split('-')[1] === 'left' ? 'start' : 'end') : 'center'), sideOffset: 4, className: tooltip({ side, className }), children: [typeof message === "string" ? (jsxRuntime.jsxRuntimeExports.jsx(text.Text, { children: message })) : (message), jsxRuntime.jsxRuntimeExports.jsx(index.Arrow, { className: tooltip_module.default.arrow, width: 12, height: 6 })] }) })] }) }));
|
|
27
|
+
const Tooltip = ({ children, message, disabled, side = "top", classNames, style, contentStyle, delayDuration = 200, skipDelayDuration = 200, 'aria-label': ariaLabel, asChild = true, }) => {
|
|
28
|
+
return disabled ? (children) : (jsxRuntime.jsxRuntimeExports.jsx(index.Provider, { delayDuration: delayDuration, skipDelayDuration: skipDelayDuration, children: jsxRuntime.jsxRuntimeExports.jsxs(index.Root, { children: [jsxRuntime.jsxRuntimeExports.jsx(index.Trigger, { "aria-describedby": "tooltip", asChild: asChild, className: classNames?.trigger, style: style, children: children }), jsxRuntime.jsxRuntimeExports.jsx(index.Portal, { children: jsxRuntime.jsxRuntimeExports.jsxs(index.Content, { id: "tooltip", role: "tooltip", "aria-label": ariaLabel || (typeof message === 'string' ? message : undefined), side: side?.split('-')[0] || 'top', align: (side?.includes('-') ? (side.split('-')[1] === 'left' ? 'start' : 'end') : 'center'), sideOffset: 4, className: tooltip({ side, className: classNames?.content }), style: contentStyle, children: [typeof message === "string" ? (jsxRuntime.jsxRuntimeExports.jsx(text.Text, { children: message })) : (message), jsxRuntime.jsxRuntimeExports.jsx(index.Arrow, { className: clsx.clsx(tooltip_module.default.arrow, classNames?.arrow), width: 12, height: 6 })] }) })] }) }));
|
|
28
29
|
};
|
|
29
30
|
Tooltip.displayName = 'Tooltip';
|
|
30
31
|
const TooltipProvider = index.Provider;
|