{"version":3,"file":"index.cjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["/**\r\n * @bquery/ui — Main entry point\r\n *\r\n * Importing this package registers all bq components via the native @bquery/bquery component API.\r\n */\r\n\r\n// Design tokens\r\nexport * from './tokens/index.js';\r\n\r\n// Theme system\r\nexport * from './theme/index.js';\r\n\r\n// i18n\r\nexport * from './i18n/index.js';\r\n\r\n// Utilities\r\nexport * from './utils/index.js';\r\n\r\nimport { registerAll } from './register.js';\r\n\r\n// Components\r\nimport { __bqComponentEntry as accordionComponentEntry } from './components/accordion/index.js';\r\nimport { __bqComponentEntry as alertComponentEntry } from './components/alert/index.js';\r\nimport { __bqComponentEntry as avatarComponentEntry } from './components/avatar/index.js';\r\nimport { __bqComponentEntry as badgeComponentEntry } from './components/badge/index.js';\r\nimport { __bqComponentEntry as breadcrumbsComponentEntry } from './components/breadcrumbs/index.js';\r\nimport { __bqComponentEntry as buttonComponentEntry } from './components/button/index.js';\r\nimport { __bqComponentEntry as cardComponentEntry } from './components/card/index.js';\r\nimport { __bqComponentEntry as checkboxComponentEntry } from './components/checkbox/index.js';\r\nimport { __bqComponentEntry as chipComponentEntry } from './components/chip/index.js';\r\nimport { __bqComponentEntry as dialogComponentEntry } from './components/dialog/index.js';\r\nimport { __bqComponentEntry as dividerComponentEntry } from './components/divider/index.js';\r\nimport { __bqComponentEntry as drawerComponentEntry } from './components/drawer/index.js';\r\nimport { __bqComponentEntry as dropdownMenuComponentEntry } from './components/dropdown-menu/index.js';\r\nimport { __bqComponentEntry as emptyStateComponentEntry } from './components/empty-state/index.js';\r\nimport { __bqComponentEntry as iconButtonComponentEntry } from './components/icon-button/index.js';\r\nimport { __bqComponentEntry as inputComponentEntry } from './components/input/index.js';\r\nimport { __bqComponentEntry as paginationComponentEntry } from './components/pagination/index.js';\r\nimport { __bqComponentEntry as progressComponentEntry } from './components/progress/index.js';\r\nimport { __bqComponentEntry as radioComponentEntry } from './components/radio/index.js';\r\nimport { __bqComponentEntry as selectComponentEntry } from './components/select/index.js';\r\nimport { __bqComponentEntry as segmentedControlComponentEntry } from './components/segmented-control/index.js';\r\nimport { __bqComponentEntry as skeletonComponentEntry } from './components/skeleton/index.js';\r\nimport { __bqComponentEntry as sliderComponentEntry } from './components/slider/index.js';\r\nimport { __bqComponentEntry as spinnerComponentEntry } from './components/spinner/index.js';\r\nimport { __bqComponentEntry as statCardComponentEntry } from './components/stat-card/index.js';\r\nimport { __bqComponentEntry as switchComponentEntry } from './components/switch/index.js';\r\nimport { __bqComponentEntry as tableComponentEntry } from './components/table/index.js';\r\nimport { __bqComponentEntry as tabsComponentEntry } from './components/tabs/index.js';\r\nimport { __bqComponentEntry as textareaComponentEntry } from './components/textarea/index.js';\r\nimport { __bqComponentEntry as tooltipComponentEntry } from './components/tooltip/index.js';\r\n// Toast is imported directly because its wrapper both registers the component and re-exports showToast().\r\nimport './components/toast/index.js';\r\n\r\n// Keep component wrappers reachable from a private symbol-keyed property so the root bundle\r\n// preserves import-time registration without adding a typed public API surface.\r\nconst COMPONENT_ENTRY_MAP_KEY = Symbol.for('@bquery/ui.componentEntryMap');\r\n\r\nObject.defineProperty(registerAll, COMPONENT_ENTRY_MAP_KEY, {\r\n  value: {\r\n    'accordion': accordionComponentEntry,\r\n    'alert': alertComponentEntry,\r\n    'avatar': avatarComponentEntry,\r\n    'badge': badgeComponentEntry,\r\n    'breadcrumbs': breadcrumbsComponentEntry,\r\n    'button': buttonComponentEntry,\r\n    'card': cardComponentEntry,\r\n    'checkbox': checkboxComponentEntry,\r\n    'chip': chipComponentEntry,\r\n    'dialog': dialogComponentEntry,\r\n    'divider': dividerComponentEntry,\r\n    'drawer': drawerComponentEntry,\r\n    'dropdown-menu': dropdownMenuComponentEntry,\r\n    'empty-state': emptyStateComponentEntry,\r\n    'icon-button': iconButtonComponentEntry,\r\n    'input': inputComponentEntry,\r\n    'pagination': paginationComponentEntry,\r\n    'progress': progressComponentEntry,\r\n    'radio': radioComponentEntry,\r\n    'select': selectComponentEntry,\r\n    'segmented-control': segmentedControlComponentEntry,\r\n    'skeleton': skeletonComponentEntry,\r\n    'slider': sliderComponentEntry,\r\n    'spinner': spinnerComponentEntry,\r\n    'stat-card': statCardComponentEntry,\r\n    'switch': switchComponentEntry,\r\n    'table': tableComponentEntry,\r\n    'tabs': tabsComponentEntry,\r\n    'textarea': textareaComponentEntry,\r\n    'tooltip': tooltipComponentEntry,\r\n  },\r\n  writable: false,\r\n  enumerable: false,\r\n  configurable: false,\r\n});\r\n\r\n// Re-export the toast API while other components continue to register via import side effects only.\r\nexport * from './components/toast/index.js';\r\n\r\n// Legacy compatibility helpers\r\nexport { registerAll };\r\nexport type { RegisterOptions } from './register.js';\r\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0DA,OAAO,eAAe,iBAAA,aAFU,OAAO,IAAI,+BAER,EAAyB;CAC1D,OAAO;EACL,aAAa,oBAAA;EACb,SAAS,gBAAA;EACT,UAAU,iBAAA;EACV,SAAS,gBAAA;EACT,eAAe,sBAAA;EACf,UAAU,iBAAA;EACV,QAAQ,eAAA;EACR,YAAY,mBAAA;EACZ,QAAQ,eAAA;EACR,UAAU,iBAAA;EACV,WAAW,kBAAA;EACX,UAAU,iBAAA;EACV,iBAAiB,uBAAA;EACjB,eAAe,qBAAA;EACf,eAAe,qBAAA;EACf,SAAS,gBAAA;EACT,cAAc,qBAAA;EACd,YAAY,mBAAA;EACZ,SAAS,gBAAA;EACT,UAAU,iBAAA;EACV,qBAAqB,2BAAA;EACrB,YAAY,mBAAA;EACZ,UAAU,iBAAA;EACV,WAAW,kBAAA;EACX,aAAa,mBAAA;EACb,UAAU,iBAAA;EACV,SAAS,gBAAA;EACT,QAAQ,eAAA;EACR,YAAY,mBAAA;EACZ,WAAW,kBAAA;EACZ;CACD,UAAU;CACV,YAAY;CACZ,cAAc;CACf,CAAC"}