@cloudraker/reki 2.6.1 → 2.7.1
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/CHANGELOG.md +20 -0
- package/README.md +1 -1
- package/ai/component-registry.json +1271 -41
- package/ai/component-registry.md +1310 -34
- package/ai/schemas.ts +226 -2
- package/dist/.build-complete +1 -1
- package/dist/ai/schemas.d.ts +554 -5
- package/dist/ai/schemas.d.ts.map +1 -1
- package/dist/ai/schemas.js +1699 -1405
- package/dist/ai/schemas.js.map +1 -1
- package/dist/chunks/{SankeyChart-jwwpwps4npqzbrvn.js → SankeyChart-gogf860o4u387kjn.js} +2 -2
- package/dist/chunks/{SankeyChart-jwwpwps4npqzbrvn.js.map → SankeyChart-gogf860o4u387kjn.js.map} +1 -1
- package/dist/chunks/actor-display-izds1bhw0yswurqm.js +35 -0
- package/dist/chunks/actor-display-izds1bhw0yswurqm.js.map +1 -0
- package/dist/chunks/address-input-g1la0xqrpg8ic6ak.js +80 -0
- package/dist/chunks/address-input-g1la0xqrpg8ic6ak.js.map +1 -0
- package/dist/chunks/array-display-lu1259ap3qrl847e.js +12 -0
- package/dist/chunks/array-display-lu1259ap3qrl847e.js.map +1 -0
- package/dist/chunks/{autocomplete-f4vetako14h2aqsw.js → autocomplete-htuy5t9ag29qhuwa.js} +4 -4
- package/dist/chunks/{autocomplete-f4vetako14h2aqsw.js.map → autocomplete-htuy5t9ag29qhuwa.js.map} +1 -1
- package/dist/chunks/avatar-g40cun6cn17fcxd4.js +57 -0
- package/dist/chunks/avatar-g40cun6cn17fcxd4.js.map +1 -0
- package/dist/chunks/avatar-group-fpcaziey1yu7226v.js +23 -0
- package/dist/chunks/avatar-group-fpcaziey1yu7226v.js.map +1 -0
- package/dist/chunks/{breadcrumbs-d6149hyct4puz3x4.js → breadcrumbs-mq1utzm0q4u2r5v5.js} +2 -2
- package/dist/chunks/{breadcrumbs-d6149hyct4puz3x4.js.map → breadcrumbs-mq1utzm0q4u2r5v5.js.map} +1 -1
- package/dist/chunks/{button-nc5p1h28cwes0tjw.js → button-fvlz1rzc3s1hpyxs.js} +14 -14
- package/dist/chunks/button-fvlz1rzc3s1hpyxs.js.map +1 -0
- package/dist/chunks/{checkbox-g2661n3eodgoispq.js → checkbox-h3kfhlron3b6sfhv.js} +3 -3
- package/dist/chunks/{checkbox-g2661n3eodgoispq.js.map → checkbox-h3kfhlron3b6sfhv.js.map} +1 -1
- package/dist/chunks/chip-iu7movvthovdurgb.js +69 -0
- package/dist/chunks/chip-iu7movvthovdurgb.js.map +1 -0
- package/dist/chunks/circular-progress-bar-ofg0ps2axad1wsr6.js +60 -0
- package/dist/chunks/circular-progress-bar-ofg0ps2axad1wsr6.js.map +1 -0
- package/dist/chunks/{clipboard-text-g3659lejx2d7i93e.js → clipboard-text-ogue8iq06n1z7q7v.js} +4 -4
- package/dist/chunks/{clipboard-text-g3659lejx2d7i93e.js.map → clipboard-text-ogue8iq06n1z7q7v.js.map} +1 -1
- package/dist/chunks/{collapsible-ndvmgo29s5iqfcor.js → collapsible-ivqat099ene9z3bv.js} +2 -2
- package/dist/chunks/{collapsible-ndvmgo29s5iqfcor.js.map → collapsible-ivqat099ene9z3bv.js.map} +1 -1
- package/dist/chunks/color-sample-h7hspma3rb91go3z.js +32 -0
- package/dist/chunks/color-sample-h7hspma3rb91go3z.js.map +1 -0
- package/dist/chunks/{combobox-i38w67netm8ukw4f.js → combobox-iytvpzp5poljxgek.js} +4 -4
- package/dist/chunks/{combobox-i38w67netm8ukw4f.js.map → combobox-iytvpzp5poljxgek.js.map} +1 -1
- package/dist/chunks/{command-palette-fe5cjfdgsg3t17vq.js → command-palette-k6vrx8ely8rmf4a5.js} +4 -4
- package/dist/chunks/command-palette-k6vrx8ely8rmf4a5.js.map +1 -0
- package/dist/chunks/data-grid-i7kfgm7zr5tj0e0a.js +3110 -0
- package/dist/chunks/data-grid-i7kfgm7zr5tj0e0a.js.map +1 -0
- package/dist/chunks/{dialog-m4go8xof25fospqo.js → dialog-ggx34i6k4eulfvgk.js} +3 -3
- package/dist/chunks/{dialog-m4go8xof25fospqo.js.map → dialog-ggx34i6k4eulfvgk.js.map} +1 -1
- package/dist/chunks/double-text-input-k0i5xnfq6khv01wu.js +39 -0
- package/dist/chunks/double-text-input-k0i5xnfq6khv01wu.js.map +1 -0
- package/dist/chunks/{dropdown-j5uht8mn4z7xc9fc.js → dropdown-bt1lfs2jli0khnex.js} +2 -2
- package/dist/chunks/{dropdown-j5uht8mn4z7xc9fc.js.map → dropdown-bt1lfs2jli0khnex.js.map} +1 -1
- package/dist/chunks/emails-display-nsbqzscr0f9bqimg.js +12 -0
- package/dist/chunks/emails-display-nsbqzscr0f9bqimg.js.map +1 -0
- package/dist/chunks/{empty-kazxr0248zjemw6n.js → empty-dxy8jti5bsxxh905.js} +2 -2
- package/dist/chunks/{empty-kazxr0248zjemw6n.js.map → empty-dxy8jti5bsxxh905.js.map} +1 -1
- package/dist/chunks/expandable-list-bjceh467ocazog53.js +26 -0
- package/dist/chunks/expandable-list-bjceh467ocazog53.js.map +1 -0
- package/dist/chunks/{field-fe5m8z3vbpvtctbe.js → field-b0aywboxuss4rpu7.js} +3 -3
- package/dist/chunks/{field-fe5m8z3vbpvtctbe.js.map → field-b0aywboxuss4rpu7.js.map} +1 -1
- package/dist/chunks/{input-area-ciw85g3fno06t4tw.js → input-area-cuijpofpark5w5qq.js} +4 -4
- package/dist/chunks/{input-area-ciw85g3fno06t4tw.js.map → input-area-cuijpofpark5w5qq.js.map} +1 -1
- package/dist/chunks/{input-i5nefqk213n4z7pr.js → input-eno4q26x68rx3i8q.js} +3 -3
- package/dist/chunks/{input-i5nefqk213n4z7pr.js.map → input-eno4q26x68rx3i8q.js.map} +1 -1
- package/dist/chunks/{input-group-mo7tq7jr19hmgor5.js → input-group-dl9htnza7kq4om4c.js} +5 -5
- package/dist/chunks/{input-group-mo7tq7jr19hmgor5.js.map → input-group-dl9htnza7kq4om4c.js.map} +1 -1
- package/dist/chunks/json-display-fy0t2khc4itn130p.js +31 -0
- package/dist/chunks/json-display-fy0t2khc4itn130p.js.map +1 -0
- package/dist/chunks/{label-fcho4757rbdess0c.js → label-ld57mr4ocdxsf06p.js} +3 -3
- package/dist/chunks/{label-fcho4757rbdess0c.js.map → label-ld57mr4ocdxsf06p.js.map} +1 -1
- package/dist/chunks/{layer-card-kzu48dhzxm3e9p4u.js → layer-card-iuquuc1w3116umfw.js} +2 -2
- package/dist/chunks/{layer-card-kzu48dhzxm3e9p4u.js.map → layer-card-iuquuc1w3116umfw.js.map} +1 -1
- package/dist/chunks/{link-j2gu5dr3nr4i4yf0.js → link-8pn6y27h3m3ud8fl.js} +2 -2
- package/dist/chunks/{link-j2gu5dr3nr4i4yf0.js.map → link-8pn6y27h3m3ud8fl.js.map} +1 -1
- package/dist/chunks/link-chip-cz5v6lw9icmcndzl.js +58 -0
- package/dist/chunks/link-chip-cz5v6lw9icmcndzl.js.map +1 -0
- package/dist/chunks/links-display-dfaehepz86s2wxx1.js +20 -0
- package/dist/chunks/links-display-dfaehepz86s2wxx1.js.map +1 -0
- package/dist/chunks/menu-item-kyqq7o2krghxbpw5.js +178 -0
- package/dist/chunks/menu-item-kyqq7o2krghxbpw5.js.map +1 -0
- package/dist/chunks/{menubar-ir5gbjmsizsddz7g.js → menubar-56kqktsa5a28xyzj.js} +2 -2
- package/dist/chunks/{menubar-ir5gbjmsizsddz7g.js.map → menubar-56kqktsa5a28xyzj.js.map} +1 -1
- package/dist/chunks/{meter-o5yd7ctjf80vvyjx.js → meter-b5rnmibceu4z8i6a.js} +2 -2
- package/dist/chunks/{meter-o5yd7ctjf80vvyjx.js.map → meter-b5rnmibceu4z8i6a.js.map} +1 -1
- package/dist/chunks/notification-counter-hiq85elmcydnhzoo.js +30 -0
- package/dist/chunks/notification-counter-hiq85elmcydnhzoo.js.map +1 -0
- package/dist/chunks/overflowing-text-mm8bkx7voc6h8ra4.js +49 -0
- package/dist/chunks/overflowing-text-mm8bkx7voc6h8ra4.js.map +1 -0
- package/dist/chunks/{pagination-bryw6rohfr7mm3km.js → pagination-iczb9ooenevbxslx.js} +3 -3
- package/dist/chunks/{pagination-bryw6rohfr7mm3km.js.map → pagination-iczb9ooenevbxslx.js.map} +1 -1
- package/dist/chunks/phones-display-cdsrl07dv6obf4eg.js +19 -0
- package/dist/chunks/phones-display-cdsrl07dv6obf4eg.js.map +1 -0
- package/dist/chunks/pill-pfpvgbcnqhtyksz5.js +22 -0
- package/dist/chunks/pill-pfpvgbcnqhtyksz5.js.map +1 -0
- package/dist/chunks/{popover-elxcmvv7mu7m7uk4.js → popover-ldqdlpv6sqvkjume.js} +2 -2
- package/dist/chunks/{popover-elxcmvv7mu7m7uk4.js.map → popover-ldqdlpv6sqvkjume.js.map} +1 -1
- package/dist/chunks/{radio-newyq331uk4lltr6.js → radio-lyeniil3x20cyb8z.js} +2 -2
- package/dist/chunks/{radio-newyq331uk4lltr6.js.map → radio-lyeniil3x20cyb8z.js.map} +1 -1
- package/dist/chunks/rating-yyd4t8e62ast4obo.js +48 -0
- package/dist/chunks/rating-yyd4t8e62ast4obo.js.map +1 -0
- package/dist/chunks/record-board-iapx3cw5rusehrta.js +3395 -0
- package/dist/chunks/record-board-iapx3cw5rusehrta.js.map +1 -0
- package/dist/chunks/{select-h5480mbro0ypxu0b.js → select-hmoccee4zagd34tq.js} +6 -6
- package/dist/chunks/{select-h5480mbro0ypxu0b.js.map → select-hmoccee4zagd34tq.js.map} +1 -1
- package/dist/chunks/{sensitive-input-lqugq6uvx0lkpu0u.js → sensitive-input-nkfx72rduc7aijaf.js} +4 -4
- package/dist/chunks/{sensitive-input-lqugq6uvx0lkpu0u.js.map → sensitive-input-nkfx72rduc7aijaf.js.map} +1 -1
- package/dist/chunks/{sidebar-noz668nhdu2gso12.js → sidebar-gwfibai76tw069d4.js} +34 -33
- package/dist/chunks/sidebar-gwfibai76tw069d4.js.map +1 -0
- package/dist/chunks/status-ot0itdwxloqgahi0.js +29 -0
- package/dist/chunks/status-ot0itdwxloqgahi0.js.map +1 -0
- package/dist/chunks/{surface-cyxme7mlr49l33f8.js → surface-fqmma34ju0agh5pe.js} +2 -2
- package/dist/chunks/{surface-cyxme7mlr49l33f8.js.map → surface-fqmma34ju0agh5pe.js.map} +1 -1
- package/dist/chunks/{switch-bigo96fyjlh7ivbi.js → switch-nhtmn65n5s7gg6vb.js} +3 -3
- package/dist/chunks/{switch-bigo96fyjlh7ivbi.js.map → switch-nhtmn65n5s7gg6vb.js.map} +1 -1
- package/dist/chunks/{table-mwcmwp6a80zvyrxw.js → table-cjj894o3niouq4tg.js} +2 -2
- package/dist/chunks/{table-mwcmwp6a80zvyrxw.js.map → table-cjj894o3niouq4tg.js.map} +1 -1
- package/dist/chunks/{tabs-e4pcjkw94kpe35x0.js → tabs-klj6wapad6fpd9at.js} +14 -16
- package/dist/chunks/tabs-klj6wapad6fpd9at.js.map +1 -0
- package/dist/chunks/tag-h5kwf5eh7dyyvc2c.js +58 -0
- package/dist/chunks/tag-h5kwf5eh7dyyvc2c.js.map +1 -0
- package/dist/chunks/timeline-lqurr2lcxkayomk2.js +109 -0
- package/dist/chunks/timeline-lqurr2lcxkayomk2.js.map +1 -0
- package/dist/chunks/{toast-ivr4097bstjcjotf.js → toast-j47dl441zpxa1yw3.js} +3 -3
- package/dist/chunks/{toast-ivr4097bstjcjotf.js.map → toast-j47dl441zpxa1yw3.js.map} +1 -1
- package/dist/chunks/{tooltip-ncaia8n1lavkyw8n.js → tooltip-bkgxuz77xzg5fooc.js} +2 -2
- package/dist/chunks/{tooltip-ncaia8n1lavkyw8n.js.map → tooltip-bkgxuz77xzg5fooc.js.map} +1 -1
- package/dist/chunks/{vendor-base-ui-bgl9g5nkvqy3tn36.js → vendor-base-ui-djdjrfuoxlb1lubi.js} +2358 -2358
- package/dist/chunks/{vendor-base-ui-bgl9g5nkvqy3tn36.js.map → vendor-base-ui-djdjrfuoxlb1lubi.js.map} +1 -1
- package/dist/code.js +1 -1
- package/dist/components/actor-display.js +6 -0
- package/dist/components/actor-display.js.map +1 -0
- package/dist/components/address-input.js +6 -0
- package/dist/components/address-input.js.map +1 -0
- package/dist/components/array-display.js +6 -0
- package/dist/components/array-display.js.map +1 -0
- package/dist/components/autocomplete.js +1 -1
- package/dist/components/avatar-group.js +6 -0
- package/dist/components/avatar-group.js.map +1 -0
- package/dist/components/avatar.js +6 -0
- package/dist/components/avatar.js.map +1 -0
- package/dist/components/breadcrumbs.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/chart.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +8 -0
- package/dist/components/chip.js.map +1 -0
- package/dist/components/circular-progress-bar.js +6 -0
- package/dist/components/circular-progress-bar.js.map +1 -0
- package/dist/components/clipboard-text.js +1 -1
- package/dist/components/collapsible.js +1 -1
- package/dist/components/color-sample.js +6 -0
- package/dist/components/color-sample.js.map +1 -0
- package/dist/components/combobox.js +1 -1
- package/dist/components/command-palette.js +1 -1
- package/dist/components/data-grid.js +8 -0
- package/dist/components/data-grid.js.map +1 -0
- package/dist/components/dialog.js +1 -1
- package/dist/components/double-text-input.js +6 -0
- package/dist/components/double-text-input.js.map +1 -0
- package/dist/components/dropdown.js +1 -1
- package/dist/components/emails-display.js +6 -0
- package/dist/components/emails-display.js.map +1 -0
- package/dist/components/empty.js +1 -1
- package/dist/components/expandable-list.js +6 -0
- package/dist/components/expandable-list.js.map +1 -0
- package/dist/components/field.js +1 -1
- package/dist/components/input-group.js +1 -1
- package/dist/components/input.js +3 -3
- package/dist/components/json-display.js +6 -0
- package/dist/components/json-display.js.map +1 -0
- package/dist/components/label.js +1 -1
- package/dist/components/layer-card.js +1 -1
- package/dist/components/link-chip.js +6 -0
- package/dist/components/link-chip.js.map +1 -0
- package/dist/components/link.js +1 -1
- package/dist/components/links-display.js +6 -0
- package/dist/components/links-display.js.map +1 -0
- package/dist/components/menu-item.js +11 -0
- package/dist/components/menu-item.js.map +1 -0
- package/dist/components/menubar.js +1 -1
- package/dist/components/meter.js +1 -1
- package/dist/components/notification-counter.js +6 -0
- package/dist/components/notification-counter.js.map +1 -0
- package/dist/components/overflowing-text.js +6 -0
- package/dist/components/overflowing-text.js.map +1 -0
- package/dist/components/pagination.js +1 -1
- package/dist/components/phones-display.js +6 -0
- package/dist/components/phones-display.js.map +1 -0
- package/dist/components/pill.js +6 -0
- package/dist/components/pill.js.map +1 -0
- package/dist/components/popover.js +1 -1
- package/dist/components/radio.js +1 -1
- package/dist/components/rating.js +6 -0
- package/dist/components/rating.js.map +1 -0
- package/dist/components/record-board.js +8 -0
- package/dist/components/record-board.js.map +1 -0
- package/dist/components/select.js +1 -1
- package/dist/components/sensitive-input.js +1 -1
- package/dist/components/sidebar.js +1 -1
- package/dist/components/status.js +6 -0
- package/dist/components/status.js.map +1 -0
- package/dist/components/surface.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/table.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/tag.js +10 -0
- package/dist/components/tag.js.map +1 -0
- package/dist/components/timeline.js +8 -0
- package/dist/components/timeline.js.map +1 -0
- package/dist/components/toast.js +2 -2
- package/dist/components/tooltip.js +1 -1
- package/dist/index.js +380 -251
- package/dist/index.js.map +1 -1
- package/dist/primitives/accordion.js +1 -1
- package/dist/primitives/alert-dialog.js +1 -1
- package/dist/primitives/autocomplete.js +1 -1
- package/dist/primitives/avatar.js +1 -1
- package/dist/primitives/button.js +1 -1
- package/dist/primitives/checkbox-group.js +1 -1
- package/dist/primitives/checkbox.js +1 -1
- package/dist/primitives/collapsible.js +1 -1
- package/dist/primitives/combobox.js +1 -1
- package/dist/primitives/context-menu.js +1 -1
- package/dist/primitives/csp-provider.js +1 -1
- package/dist/primitives/dialog.js +1 -1
- package/dist/primitives/direction-provider.js +1 -1
- package/dist/primitives/drawer.js +1 -1
- package/dist/primitives/field.js +1 -1
- package/dist/primitives/fieldset.js +1 -1
- package/dist/primitives/form.js +1 -1
- package/dist/primitives/input.js +1 -1
- package/dist/primitives/menu.js +1 -1
- package/dist/primitives/menubar.js +1 -1
- package/dist/primitives/meter.js +1 -1
- package/dist/primitives/navigation-menu.js +1 -1
- package/dist/primitives/number-field.js +1 -1
- package/dist/primitives/otp-field.js +1 -1
- package/dist/primitives/popover.js +1 -1
- package/dist/primitives/preview-card.js +1 -1
- package/dist/primitives/progress.js +1 -1
- package/dist/primitives/radio-group.js +1 -1
- package/dist/primitives/radio.js +1 -1
- package/dist/primitives/scroll-area.js +1 -1
- package/dist/primitives/select.js +1 -1
- package/dist/primitives/separator.js +1 -1
- package/dist/primitives/slider.js +1 -1
- package/dist/primitives/switch.js +1 -1
- package/dist/primitives/tabs.js +1 -1
- package/dist/primitives/toast.js +1 -1
- package/dist/primitives/toggle-group.js +1 -1
- package/dist/primitives/toggle.js +1 -1
- package/dist/primitives/toolbar.js +1 -1
- package/dist/primitives/tooltip.js +1 -1
- package/dist/primitives.js +1 -1
- package/dist/scripts/theme-generator/config.d.ts.map +1 -1
- package/dist/scripts/theme-generator/config.js +229 -5
- package/dist/scripts/theme-generator/config.js.map +1 -1
- package/dist/src/components/actor-display/actor-display.d.ts +33 -0
- package/dist/src/components/actor-display/actor-display.d.ts.map +1 -0
- package/dist/src/components/actor-display/index.d.ts +2 -0
- package/dist/src/components/actor-display/index.d.ts.map +1 -0
- package/dist/src/components/address-input/address-input.d.ts +42 -0
- package/dist/src/components/address-input/address-input.d.ts.map +1 -0
- package/dist/src/components/address-input/index.d.ts +2 -0
- package/dist/src/components/address-input/index.d.ts.map +1 -0
- package/dist/src/components/array-display/array-display.d.ts +30 -0
- package/dist/src/components/array-display/array-display.d.ts.map +1 -0
- package/dist/src/components/array-display/index.d.ts +2 -0
- package/dist/src/components/array-display/index.d.ts.map +1 -0
- package/dist/src/components/avatar/avatar.d.ts +80 -0
- package/dist/src/components/avatar/avatar.d.ts.map +1 -0
- package/dist/src/components/avatar/index.d.ts +2 -0
- package/dist/src/components/avatar/index.d.ts.map +1 -0
- package/dist/src/components/avatar-group/avatar-group.d.ts +35 -0
- package/dist/src/components/avatar-group/avatar-group.d.ts.map +1 -0
- package/dist/src/components/avatar-group/index.d.ts +2 -0
- package/dist/src/components/avatar-group/index.d.ts.map +1 -0
- package/dist/src/components/button/button.d.ts +4 -4
- package/dist/src/components/chip/chip.d.ts +78 -0
- package/dist/src/components/chip/chip.d.ts.map +1 -0
- package/dist/src/components/chip/index.d.ts +2 -0
- package/dist/src/components/chip/index.d.ts.map +1 -0
- package/dist/src/components/circular-progress-bar/circular-progress-bar.d.ts +35 -0
- package/dist/src/components/circular-progress-bar/circular-progress-bar.d.ts.map +1 -0
- package/dist/src/components/circular-progress-bar/index.d.ts +2 -0
- package/dist/src/components/circular-progress-bar/index.d.ts.map +1 -0
- package/dist/src/components/color-sample/color-sample.d.ts +56 -0
- package/dist/src/components/color-sample/color-sample.d.ts.map +1 -0
- package/dist/src/components/color-sample/index.d.ts +2 -0
- package/dist/src/components/color-sample/index.d.ts.map +1 -0
- package/dist/src/components/data-grid/data-grid.d.ts +25 -0
- package/dist/src/components/data-grid/data-grid.d.ts.map +1 -0
- package/dist/src/components/data-grid/index.d.ts +3 -0
- package/dist/src/components/data-grid/index.d.ts.map +1 -0
- package/dist/src/components/data-grid/types.d.ts +103 -0
- package/dist/src/components/data-grid/types.d.ts.map +1 -0
- package/dist/src/components/data-grid/use-data-grid-edit.d.ts +34 -0
- package/dist/src/components/data-grid/use-data-grid-edit.d.ts.map +1 -0
- package/dist/src/components/double-text-input/double-text-input.d.ts +47 -0
- package/dist/src/components/double-text-input/double-text-input.d.ts.map +1 -0
- package/dist/src/components/double-text-input/index.d.ts +2 -0
- package/dist/src/components/double-text-input/index.d.ts.map +1 -0
- package/dist/src/components/emails-display/emails-display.d.ts +30 -0
- package/dist/src/components/emails-display/emails-display.d.ts.map +1 -0
- package/dist/src/components/emails-display/index.d.ts +2 -0
- package/dist/src/components/emails-display/index.d.ts.map +1 -0
- package/dist/src/components/expandable-list/expandable-list.d.ts +41 -0
- package/dist/src/components/expandable-list/expandable-list.d.ts.map +1 -0
- package/dist/src/components/expandable-list/index.d.ts +2 -0
- package/dist/src/components/expandable-list/index.d.ts.map +1 -0
- package/dist/src/components/json-display/index.d.ts +2 -0
- package/dist/src/components/json-display/index.d.ts.map +1 -0
- package/dist/src/components/json-display/json-display.d.ts +29 -0
- package/dist/src/components/json-display/json-display.d.ts.map +1 -0
- package/dist/src/components/link-chip/index.d.ts +2 -0
- package/dist/src/components/link-chip/index.d.ts.map +1 -0
- package/dist/src/components/link-chip/link-chip.d.ts +50 -0
- package/dist/src/components/link-chip/link-chip.d.ts.map +1 -0
- package/dist/src/components/links-display/index.d.ts +2 -0
- package/dist/src/components/links-display/index.d.ts.map +1 -0
- package/dist/src/components/links-display/links-display.d.ts +37 -0
- package/dist/src/components/links-display/links-display.d.ts.map +1 -0
- package/dist/src/components/menu-item/index.d.ts +2 -0
- package/dist/src/components/menu-item/index.d.ts.map +1 -0
- package/dist/src/components/menu-item/menu-item.d.ts +104 -0
- package/dist/src/components/menu-item/menu-item.d.ts.map +1 -0
- package/dist/src/components/notification-counter/index.d.ts +2 -0
- package/dist/src/components/notification-counter/index.d.ts.map +1 -0
- package/dist/src/components/notification-counter/notification-counter.d.ts +51 -0
- package/dist/src/components/notification-counter/notification-counter.d.ts.map +1 -0
- package/dist/src/components/overflowing-text/index.d.ts +2 -0
- package/dist/src/components/overflowing-text/index.d.ts.map +1 -0
- package/dist/src/components/overflowing-text/overflowing-text.d.ts +48 -0
- package/dist/src/components/overflowing-text/overflowing-text.d.ts.map +1 -0
- package/dist/src/components/phones-display/index.d.ts +2 -0
- package/dist/src/components/phones-display/index.d.ts.map +1 -0
- package/dist/src/components/phones-display/phones-display.d.ts +31 -0
- package/dist/src/components/phones-display/phones-display.d.ts.map +1 -0
- package/dist/src/components/pill/index.d.ts +2 -0
- package/dist/src/components/pill/index.d.ts.map +1 -0
- package/dist/src/components/pill/pill.d.ts +31 -0
- package/dist/src/components/pill/pill.d.ts.map +1 -0
- package/dist/src/components/rating/index.d.ts +2 -0
- package/dist/src/components/rating/index.d.ts.map +1 -0
- package/dist/src/components/rating/rating.d.ts +37 -0
- package/dist/src/components/rating/rating.d.ts.map +1 -0
- package/dist/src/components/record-board/index.d.ts +2 -0
- package/dist/src/components/record-board/index.d.ts.map +1 -0
- package/dist/src/components/record-board/record-board.d.ts +75 -0
- package/dist/src/components/record-board/record-board.d.ts.map +1 -0
- package/dist/src/components/sidebar/sidebar.d.ts.map +1 -1
- package/dist/src/components/status/index.d.ts +2 -0
- package/dist/src/components/status/index.d.ts.map +1 -0
- package/dist/src/components/status/status.d.ts +52 -0
- package/dist/src/components/status/status.d.ts.map +1 -0
- package/dist/src/components/tabs/tabs.d.ts.map +1 -1
- package/dist/src/components/tag/index.d.ts +2 -0
- package/dist/src/components/tag/index.d.ts.map +1 -0
- package/dist/src/components/tag/tag.d.ts +153 -0
- package/dist/src/components/tag/tag.d.ts.map +1 -0
- package/dist/src/components/timeline/index.d.ts +2 -0
- package/dist/src/components/timeline/index.d.ts.map +1 -0
- package/dist/src/components/timeline/timeline.d.ts +155 -0
- package/dist/src/components/timeline/timeline.d.ts.map +1 -0
- package/dist/src/index.d.ts +26 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/utils/use-is-dark-mode.d.ts +18 -0
- package/dist/src/utils/use-is-dark-mode.d.ts.map +1 -0
- package/dist/styles/reki-standalone.css +1 -1
- package/dist/styles/reki.css +19 -0
- package/dist/styles/theme-fedramp.css +6 -0
- package/dist/styles/theme-reki.css +164 -10
- package/package.json +118 -4
- package/scripts/component-registry/index.ts +6 -11
- package/scripts/extract-demo-examples.ts +323 -0
- package/scripts/generate-stories.ts +205 -0
- package/scripts/theme-generator/config.ts +230 -5
- package/dist/chunks/button-nc5p1h28cwes0tjw.js.map +0 -1
- package/dist/chunks/command-palette-fe5cjfdgsg3t17vq.js.map +0 -1
- package/dist/chunks/sidebar-noz668nhdu2gso12.js.map +0 -1
- package/dist/chunks/tabs-e4pcjkw94kpe35x0.js.map +0 -1
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/** Variant standard export (reki convention). */
|
|
2
|
+
export declare const REKI_EMAILS_DISPLAY_VARIANTS: {};
|
|
3
|
+
export declare const REKI_EMAILS_DISPLAY_DEFAULT_VARIANTS: {};
|
|
4
|
+
/**
|
|
5
|
+
* EmailsDisplay component props.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* ```tsx
|
|
9
|
+
* <EmailsDisplay emails={["jane@acme.com", "j.doe@personal.com"]} />
|
|
10
|
+
* ```
|
|
11
|
+
*/
|
|
12
|
+
export interface EmailsDisplayProps {
|
|
13
|
+
/** Email addresses, primary first. */
|
|
14
|
+
emails: string[];
|
|
15
|
+
/** Items shown inline before collapsing into a `+N` chip. @default 1 */
|
|
16
|
+
max?: number;
|
|
17
|
+
/** Additional CSS classes merged via `cn()`. Use reki semantic tokens only. */
|
|
18
|
+
className?: string;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Renders an `emails` field as a collapsible list of `mailto:` link chips.
|
|
22
|
+
* Pre-normalize the field value to a `string[]` in your field-cell layer.
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* ```tsx
|
|
26
|
+
* <EmailsDisplay emails={[person.primaryEmail, ...person.additionalEmails]} />
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
export declare function EmailsDisplay({ emails, max, className }: EmailsDisplayProps): import("react/jsx-runtime").JSX.Element | null;
|
|
30
|
+
//# sourceMappingURL=emails-display.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"emails-display.d.ts","sourceRoot":"","sources":["../../../../src/components/emails-display/emails-display.tsx"],"names":[],"mappings":"AAIA,iDAAiD;AACjD,eAAO,MAAM,4BAA4B,IAAc,CAAC;AAExD,eAAO,MAAM,oCAAoC,IAAc,CAAC;AAEhE;;;;;;;GAOG;AACH,MAAM,WAAW,kBAAkB;IACjC,sCAAsC;IACtC,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,wEAAwE;IACxE,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,+EAA+E;IAC/E,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;GAQG;AACH,wBAAgB,aAAa,CAAC,EAAE,MAAM,EAAE,GAAO,EAAE,SAAS,EAAE,EAAE,kBAAkB,kDAW/E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/emails-display/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,KAAK,kBAAkB,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
/** Variant standard export (reki convention). */
|
|
3
|
+
export declare const REKI_EXPANDABLE_LIST_VARIANTS: {};
|
|
4
|
+
export declare const REKI_EXPANDABLE_LIST_DEFAULT_VARIANTS: {};
|
|
5
|
+
/**
|
|
6
|
+
* ExpandableList component props.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```tsx
|
|
10
|
+
* <ExpandableList>
|
|
11
|
+
* <Tag color="blue" text="Engineering" />
|
|
12
|
+
* <Tag color="green" text="Sales" />
|
|
13
|
+
* <Tag color="orange" text="Support" />
|
|
14
|
+
* </ExpandableList>
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export interface ExpandableListProps {
|
|
18
|
+
/** Items to render. The first `max` are shown inline; the rest collapse into a `+N` chip. */
|
|
19
|
+
children: ReactNode;
|
|
20
|
+
/**
|
|
21
|
+
* Maximum number of items shown inline before collapsing the remainder.
|
|
22
|
+
* @default 1
|
|
23
|
+
*/
|
|
24
|
+
max?: number;
|
|
25
|
+
/** Additional CSS classes merged via `cn()`. Use reki semantic tokens only. */
|
|
26
|
+
className?: string;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Renders the first `max` items inline and collapses the remainder into a
|
|
30
|
+
* `+N` chip whose count reveals the hidden items on hover. Use for dense
|
|
31
|
+
* multi-value cells (tags, emails, links) where space is constrained.
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* ```tsx
|
|
35
|
+
* <ExpandableList max={2}>
|
|
36
|
+
* {emails.map((e) => <Tag key={e} color="gray" text={e} />)}
|
|
37
|
+
* </ExpandableList>
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
export declare function ExpandableList({ children, max, className, }: ExpandableListProps): import("react/jsx-runtime").JSX.Element;
|
|
41
|
+
//# sourceMappingURL=expandable-list.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"expandable-list.d.ts","sourceRoot":"","sources":["../../../../src/components/expandable-list/expandable-list.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAIjD,iDAAiD;AACjD,eAAO,MAAM,6BAA6B,IAAc,CAAC;AAEzD,eAAO,MAAM,qCAAqC,IAAc,CAAC;AAEjE;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,mBAAmB;IAClC,6FAA6F;IAC7F,QAAQ,EAAE,SAAS,CAAC;IACpB;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,+EAA+E;IAC/E,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,cAAc,CAAC,EAC7B,QAAQ,EACR,GAAO,EACP,SAAS,GACV,EAAE,mBAAmB,2CAsBrB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/expandable-list/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/json-display/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/** Variant standard export (reki convention). */
|
|
2
|
+
export declare const REKI_JSON_DISPLAY_VARIANTS: {};
|
|
3
|
+
export declare const REKI_JSON_DISPLAY_DEFAULT_VARIANTS: {};
|
|
4
|
+
/**
|
|
5
|
+
* JsonDisplay component props.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* ```tsx
|
|
9
|
+
* <JsonDisplay value={{ status: "ok", count: 3 }} />
|
|
10
|
+
* ```
|
|
11
|
+
*/
|
|
12
|
+
export interface JsonDisplayProps {
|
|
13
|
+
/** Value to render. Objects/arrays are stringified; strings are shown as-is. */
|
|
14
|
+
value: unknown;
|
|
15
|
+
/** Additional CSS classes merged via `cn()`. Use reki semantic tokens only. */
|
|
16
|
+
className?: string;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Single-line, truncated display for a `json` / `raw-json` field value. Shows
|
|
20
|
+
* the full value in a tooltip on overflow via {@link OverflowingText}. Wrap in
|
|
21
|
+
* a `TooltipProvider` for the tooltip.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* ```tsx
|
|
25
|
+
* <JsonDisplay value={record.metadata} />
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
export declare function JsonDisplay({ value, className }: JsonDisplayProps): import("react/jsx-runtime").JSX.Element | null;
|
|
29
|
+
//# sourceMappingURL=json-display.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"json-display.d.ts","sourceRoot":"","sources":["../../../../src/components/json-display/json-display.tsx"],"names":[],"mappings":"AAGA,iDAAiD;AACjD,eAAO,MAAM,0BAA0B,IAAc,CAAC;AAEtD,eAAO,MAAM,kCAAkC,IAAc,CAAC;AAE9D;;;;;;;GAOG;AACH,MAAM,WAAW,gBAAgB;IAC/B,gFAAgF;IAChF,KAAK,EAAE,OAAO,CAAC;IACf,+EAA+E;IAC/E,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAuBD;;;;;;;;;GASG;AACH,wBAAgB,WAAW,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE,gBAAgB,kDAWjE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/link-chip/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { MouseEvent, ReactNode } from 'react';
|
|
2
|
+
import { ChipAccent, ChipSize } from '../chip/chip';
|
|
3
|
+
/** Variant standard export (reki convention). */
|
|
4
|
+
export declare const REKI_LINK_CHIP_VARIANTS: {};
|
|
5
|
+
export declare const REKI_LINK_CHIP_DEFAULT_VARIANTS: {};
|
|
6
|
+
/**
|
|
7
|
+
* LinkChip component props.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```tsx
|
|
11
|
+
* <LinkChip label="Acme Inc." href="/companies/acme" />
|
|
12
|
+
* ```
|
|
13
|
+
*/
|
|
14
|
+
export interface LinkChipProps {
|
|
15
|
+
/** Text label (truncated with a tooltip on overflow). */
|
|
16
|
+
label: string;
|
|
17
|
+
/** Destination href. Resolved through the configured `LinkProvider`. */
|
|
18
|
+
href: string;
|
|
19
|
+
/** Tooltip content shown when the label overflows. Defaults to `label`. */
|
|
20
|
+
tooltipLabel?: string;
|
|
21
|
+
/** Size of the chip. @default "small" */
|
|
22
|
+
size?: ChipSize;
|
|
23
|
+
/** Text emphasis. @default "primary" */
|
|
24
|
+
accent?: ChipAccent;
|
|
25
|
+
/** Renders the label in a medium font weight. */
|
|
26
|
+
isBold?: boolean;
|
|
27
|
+
/** Node rendered before the label (e.g. an avatar or icon). */
|
|
28
|
+
leftComponent?: ReactNode;
|
|
29
|
+
/** Node rendered after the label. */
|
|
30
|
+
rightComponent?: ReactNode;
|
|
31
|
+
/** Opens the link in a new tab. */
|
|
32
|
+
target?: string;
|
|
33
|
+
/** Forwarded to the anchor's `onClick` (e.g. to stop row propagation). */
|
|
34
|
+
onClick?: (event: MouseEvent<HTMLAnchorElement>) => void;
|
|
35
|
+
/** Additional CSS classes merged via `cn()`. Use reki semantic tokens only. */
|
|
36
|
+
className?: string;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* A {@link Chip} that navigates to a record. Renders through reki's
|
|
40
|
+
* `LinkProvider`, so it honours the host app's router (TanStack Router,
|
|
41
|
+
* React Router, Next.js) and supports middle-click / cmd-click to open in a new
|
|
42
|
+
* tab. Use for clickable relation values in tables, boards, and detail panels.
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* ```tsx
|
|
46
|
+
* <LinkChip label="Acme Inc." href={`/companies/${company.id}`} />
|
|
47
|
+
* ```
|
|
48
|
+
*/
|
|
49
|
+
export declare function LinkChip({ label, href, tooltipLabel, size, accent, isBold, leftComponent, rightComponent, target, onClick, className, }: LinkChipProps): import("react/jsx-runtime").JSX.Element;
|
|
50
|
+
//# sourceMappingURL=link-chip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"link-chip.d.ts","sourceRoot":"","sources":["../../../../src/components/link-chip/link-chip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,EAGL,KAAK,UAAU,EACf,KAAK,QAAQ,EACd,MAAM,cAAc,CAAC;AAItB,iDAAiD;AACjD,eAAO,MAAM,uBAAuB,IAAc,CAAC;AAEnD,eAAO,MAAM,+BAA+B,IAAc,CAAC;AAO3D;;;;;;;GAOG;AACH,MAAM,WAAW,aAAa;IAC5B,yDAAyD;IACzD,KAAK,EAAE,MAAM,CAAC;IACd,wEAAwE;IACxE,IAAI,EAAE,MAAM,CAAC;IACb,2EAA2E;IAC3E,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,yCAAyC;IACzC,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,wCAAwC;IACxC,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,iDAAiD;IACjD,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,+DAA+D;IAC/D,aAAa,CAAC,EAAE,SAAS,CAAC;IAC1B,qCAAqC;IACrC,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B,mCAAmC;IACnC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,0EAA0E;IAC1E,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IACzD,+EAA+E;IAC/E,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,QAAQ,CAAC,EACvB,KAAK,EACL,IAAI,EACJ,YAAY,EACZ,IAAc,EACd,MAAkB,EAClB,MAAc,EACd,aAAa,EACb,cAAc,EACd,MAAM,EACN,OAAO,EACP,SAAS,GACV,EAAE,aAAa,2CA+Bf"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/links-display/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,KAAK,iBAAiB,EACtB,KAAK,SAAS,GACf,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/** Variant standard export (reki convention). */
|
|
2
|
+
export declare const REKI_LINKS_DISPLAY_VARIANTS: {};
|
|
3
|
+
export declare const REKI_LINKS_DISPLAY_DEFAULT_VARIANTS: {};
|
|
4
|
+
/** A single link value for {@link LinksDisplay}. */
|
|
5
|
+
export interface LinkValue {
|
|
6
|
+
/** Absolute URL. */
|
|
7
|
+
url: string;
|
|
8
|
+
/** Display label. Falls back to the URL when omitted. */
|
|
9
|
+
label?: string;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* LinksDisplay component props.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```tsx
|
|
16
|
+
* <LinksDisplay links={[{ url: "https://acme.com", label: "acme.com" }]} />
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
export interface LinksDisplayProps {
|
|
20
|
+
/** Links to render, primary first. */
|
|
21
|
+
links: LinkValue[];
|
|
22
|
+
/** Items shown inline before collapsing into a `+N` chip. @default 1 */
|
|
23
|
+
max?: number;
|
|
24
|
+
/** Additional CSS classes merged via `cn()`. Use reki semantic tokens only. */
|
|
25
|
+
className?: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Renders a `links` field as a collapsible list of external link chips (open in
|
|
29
|
+
* a new tab). Resolve absolute URLs and labels in your field-cell layer.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* ```tsx
|
|
33
|
+
* <LinksDisplay links={record.websites} max={2} />
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
36
|
+
export declare function LinksDisplay({ links, max, className }: LinksDisplayProps): import("react/jsx-runtime").JSX.Element | null;
|
|
37
|
+
//# sourceMappingURL=links-display.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"links-display.d.ts","sourceRoot":"","sources":["../../../../src/components/links-display/links-display.tsx"],"names":[],"mappings":"AAIA,iDAAiD;AACjD,eAAO,MAAM,2BAA2B,IAAc,CAAC;AAEvD,eAAO,MAAM,mCAAmC,IAAc,CAAC;AAE/D,oDAAoD;AACpD,MAAM,WAAW,SAAS;IACxB,oBAAoB;IACpB,GAAG,EAAE,MAAM,CAAC;IACZ,yDAAyD;IACzD,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,iBAAiB;IAChC,sCAAsC;IACtC,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,wEAAwE;IACxE,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,+EAA+E;IAC/E,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;GAQG;AACH,wBAAgB,YAAY,CAAC,EAAE,KAAK,EAAE,GAAO,EAAE,SAAS,EAAE,EAAE,iBAAiB,kDAgB5E"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { MenuItem, MenuItemSelect, MenuItemMultiSelect, MenuItemSelectColor, MenuItemSelectTag, MenuItemAvatar, type MenuItemProps, type MenuItemSelectProps, type MenuItemMultiSelectProps, type MenuItemSelectColorProps, type MenuItemSelectTagProps, type MenuItemAvatarProps, } from './menu-item';
|
|
2
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/menu-item/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,cAAc,EACd,mBAAmB,EACnB,mBAAmB,EACnB,iBAAiB,EACjB,cAAc,EACd,KAAK,aAAa,EAClB,KAAK,mBAAmB,EACxB,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,GACzB,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { ComponentType, ReactNode, SVGProps } from 'react';
|
|
2
|
+
import { TagColor } from '../tag';
|
|
3
|
+
/** Variant standard export (reki convention). */
|
|
4
|
+
export declare const REKI_MENU_ITEM_VARIANTS: {};
|
|
5
|
+
export declare const REKI_MENU_ITEM_DEFAULT_VARIANTS: {};
|
|
6
|
+
type IconType = ComponentType<SVGProps<SVGSVGElement>>;
|
|
7
|
+
/**
|
|
8
|
+
* MenuItem component props (the base row).
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```tsx
|
|
12
|
+
* <MenuItem text="Rename" LeftIcon={PencilIcon} onClick={rename} />
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
15
|
+
export interface MenuItemProps {
|
|
16
|
+
/** Row label. */
|
|
17
|
+
text: string;
|
|
18
|
+
/** Optional leading icon. */
|
|
19
|
+
LeftIcon?: IconType;
|
|
20
|
+
/** Optional leading element (avatar, color sample, …) shown before the text. */
|
|
21
|
+
leftComponent?: ReactNode;
|
|
22
|
+
/** Optional trailing element shown after the text. */
|
|
23
|
+
rightComponent?: ReactNode;
|
|
24
|
+
/** Shows a trailing check mark when true. */
|
|
25
|
+
selected?: boolean;
|
|
26
|
+
/** Keyboard-focused / active styling. */
|
|
27
|
+
focused?: boolean;
|
|
28
|
+
/** Disables the row. */
|
|
29
|
+
disabled?: boolean;
|
|
30
|
+
/** Click handler. */
|
|
31
|
+
onClick?: () => void;
|
|
32
|
+
/** Additional CSS classes merged via `cn()`. Use reki semantic tokens only. */
|
|
33
|
+
className?: string;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* A single dropdown / list row: leading icon or component, label, and an
|
|
37
|
+
* optional trailing check or element. The building block for option pickers,
|
|
38
|
+
* filter builders, and action menus. See also {@link MenuItemSelect},
|
|
39
|
+
* {@link MenuItemMultiSelect}, {@link MenuItemSelectColor},
|
|
40
|
+
* {@link MenuItemSelectTag}, and {@link MenuItemAvatar}.
|
|
41
|
+
*/
|
|
42
|
+
export declare function MenuItem({ text, LeftIcon, leftComponent, rightComponent, selected, focused, disabled, onClick, className, }: MenuItemProps): import("react/jsx-runtime").JSX.Element;
|
|
43
|
+
/** {@link MenuItemSelect} props. */
|
|
44
|
+
export interface MenuItemSelectProps {
|
|
45
|
+
text: string;
|
|
46
|
+
selected?: boolean;
|
|
47
|
+
focused?: boolean;
|
|
48
|
+
disabled?: boolean;
|
|
49
|
+
LeftIcon?: IconType;
|
|
50
|
+
onClick?: () => void;
|
|
51
|
+
className?: string;
|
|
52
|
+
}
|
|
53
|
+
/** Single-select row: trailing check when selected. */
|
|
54
|
+
export declare function MenuItemSelect({ text, selected, focused, disabled, LeftIcon, onClick, className, }: MenuItemSelectProps): import("react/jsx-runtime").JSX.Element;
|
|
55
|
+
/** {@link MenuItemMultiSelect} props. */
|
|
56
|
+
export interface MenuItemMultiSelectProps {
|
|
57
|
+
text: string;
|
|
58
|
+
selected?: boolean;
|
|
59
|
+
focused?: boolean;
|
|
60
|
+
disabled?: boolean;
|
|
61
|
+
onSelectChange?: (selected: boolean) => void;
|
|
62
|
+
className?: string;
|
|
63
|
+
}
|
|
64
|
+
/** Multi-select row: the whole row toggles, with a leading checkbox indicator. */
|
|
65
|
+
export declare function MenuItemMultiSelect({ text, selected, focused, disabled, onSelectChange, className, }: MenuItemMultiSelectProps): import("react/jsx-runtime").JSX.Element;
|
|
66
|
+
/** {@link MenuItemSelectColor} props. */
|
|
67
|
+
export interface MenuItemSelectColorProps {
|
|
68
|
+
text: string;
|
|
69
|
+
color: TagColor;
|
|
70
|
+
selected?: boolean;
|
|
71
|
+
focused?: boolean;
|
|
72
|
+
disabled?: boolean;
|
|
73
|
+
onClick?: () => void;
|
|
74
|
+
className?: string;
|
|
75
|
+
}
|
|
76
|
+
/** Color-picker row: leading color swatch + label + trailing check. */
|
|
77
|
+
export declare function MenuItemSelectColor({ text, color, selected, focused, disabled, onClick, className, }: MenuItemSelectColorProps): import("react/jsx-runtime").JSX.Element;
|
|
78
|
+
/** {@link MenuItemSelectTag} props. */
|
|
79
|
+
export interface MenuItemSelectTagProps {
|
|
80
|
+
text: string;
|
|
81
|
+
color: TagColor;
|
|
82
|
+
selected?: boolean;
|
|
83
|
+
focused?: boolean;
|
|
84
|
+
disabled?: boolean;
|
|
85
|
+
onClick?: () => void;
|
|
86
|
+
className?: string;
|
|
87
|
+
}
|
|
88
|
+
/** Tag-option row: renders the option as a {@link Tag} + trailing check. */
|
|
89
|
+
export declare function MenuItemSelectTag({ text, color, selected, focused, disabled, onClick, className, }: MenuItemSelectTagProps): import("react/jsx-runtime").JSX.Element;
|
|
90
|
+
/** {@link MenuItemAvatar} props. */
|
|
91
|
+
export interface MenuItemAvatarProps {
|
|
92
|
+
text: string;
|
|
93
|
+
avatarSrc?: string | null;
|
|
94
|
+
avatarInitials?: string;
|
|
95
|
+
selected?: boolean;
|
|
96
|
+
focused?: boolean;
|
|
97
|
+
disabled?: boolean;
|
|
98
|
+
onClick?: () => void;
|
|
99
|
+
className?: string;
|
|
100
|
+
}
|
|
101
|
+
/** Person/record row: leading avatar + label + trailing check. */
|
|
102
|
+
export declare function MenuItemAvatar({ text, avatarSrc, avatarInitials, selected, focused, disabled, onClick, className, }: MenuItemAvatarProps): import("react/jsx-runtime").JSX.Element;
|
|
103
|
+
export {};
|
|
104
|
+
//# sourceMappingURL=menu-item.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menu-item.d.ts","sourceRoot":"","sources":["../../../../src/components/menu-item/menu-item.tsx"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/notification-counter/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,GAChC,MAAM,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/** Variant standard export (reki convention). */
|
|
2
|
+
export declare const REKI_NOTIFICATION_COUNTER_VARIANTS: {
|
|
3
|
+
readonly variant: {
|
|
4
|
+
readonly primary: {
|
|
5
|
+
readonly classes: "bg-reki-brand text-reki-inverse";
|
|
6
|
+
readonly description: "Brand background (default)";
|
|
7
|
+
};
|
|
8
|
+
readonly secondary: {
|
|
9
|
+
readonly classes: "bg-reki-fill text-reki-default";
|
|
10
|
+
readonly description: "Neutral fill";
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
export declare const REKI_NOTIFICATION_COUNTER_DEFAULT_VARIANTS: {
|
|
15
|
+
readonly variant: "primary";
|
|
16
|
+
};
|
|
17
|
+
export type NotificationCounterVariant = "primary" | "secondary";
|
|
18
|
+
/**
|
|
19
|
+
* NotificationCounter component props.
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* ```tsx
|
|
23
|
+
* <NotificationCounter count={5} />
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
export interface NotificationCounterProps {
|
|
27
|
+
/** Number to display. Values above `max` render as `{max}+`. */
|
|
28
|
+
count: number;
|
|
29
|
+
/** Largest exact number shown before the `+` suffix. @default 99 */
|
|
30
|
+
max?: number;
|
|
31
|
+
/**
|
|
32
|
+
* Visual variant.
|
|
33
|
+
* - `"primary"` — brand background (default)
|
|
34
|
+
* - `"secondary"` — neutral fill
|
|
35
|
+
* @default "primary"
|
|
36
|
+
*/
|
|
37
|
+
variant?: NotificationCounterVariant;
|
|
38
|
+
/** Additional CSS classes merged via `cn()`. Use reki semantic tokens only. */
|
|
39
|
+
className?: string;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* A small numeric badge for unread/pending counts on icons and nav items.
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* ```tsx
|
|
46
|
+
* <NotificationCounter count={12} />
|
|
47
|
+
* <NotificationCounter count={150} max={99} />
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
export declare function NotificationCounter({ count, max, variant, className, }: NotificationCounterProps): import("react/jsx-runtime").JSX.Element;
|
|
51
|
+
//# sourceMappingURL=notification-counter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notification-counter.d.ts","sourceRoot":"","sources":["../../../../src/components/notification-counter/notification-counter.tsx"],"names":[],"mappings":"AAEA,iDAAiD;AACjD,eAAO,MAAM,kCAAkC;;;;;;;;;;;CAKrC,CAAC;AAEX,eAAO,MAAM,0CAA0C;;CAE7C,CAAC;AAEX,MAAM,MAAM,0BAA0B,GAAG,SAAS,GAAG,WAAW,CAAC;AAEjE;;;;;;;GAOG;AACH,MAAM,WAAW,wBAAwB;IACvC,gEAAgE;IAChE,KAAK,EAAE,MAAM,CAAC;IACd,oEAAoE;IACpE,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;;OAKG;IACH,OAAO,CAAC,EAAE,0BAA0B,CAAC;IACrC,+EAA+E;IAC/E,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAOD;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,CAAC,EAClC,KAAK,EACL,GAAQ,EACR,OAAmB,EACnB,SAAS,GACV,EAAE,wBAAwB,2CAa1B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/overflowing-text/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,KAAK,oBAAoB,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
/** Variant standard export (reki convention). */
|
|
3
|
+
export declare const REKI_OVERFLOWING_TEXT_VARIANTS: {};
|
|
4
|
+
export declare const REKI_OVERFLOWING_TEXT_DEFAULT_VARIANTS: {};
|
|
5
|
+
/**
|
|
6
|
+
* OverflowingText component props.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```tsx
|
|
10
|
+
* <OverflowingText text="A very long value that may not fit" />
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
export interface OverflowingTextProps {
|
|
14
|
+
/** Text to render, truncated when it overflows its container. */
|
|
15
|
+
text: string;
|
|
16
|
+
/**
|
|
17
|
+
* Tooltip content shown when the text overflows. Defaults to `text`.
|
|
18
|
+
* Provide a custom node to show richer content than the raw string.
|
|
19
|
+
*/
|
|
20
|
+
tooltipContent?: ReactNode;
|
|
21
|
+
/**
|
|
22
|
+
* Maximum number of lines before clamping. `1` (default) truncates to a
|
|
23
|
+
* single line with an ellipsis; higher values clamp to that many lines.
|
|
24
|
+
* @default 1
|
|
25
|
+
*/
|
|
26
|
+
lines?: number;
|
|
27
|
+
/**
|
|
28
|
+
* Always show the tooltip on hover, even when the text is not overflowing.
|
|
29
|
+
* @default false
|
|
30
|
+
*/
|
|
31
|
+
alwaysShowTooltip?: boolean;
|
|
32
|
+
/** Additional CSS classes merged via `cn()`. Use reki semantic tokens only. */
|
|
33
|
+
className?: string;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Truncates text to its container and reveals the full value in a tooltip
|
|
37
|
+
* **only when it actually overflows**. Measures with a `ResizeObserver`, so it
|
|
38
|
+
* stays correct as the container resizes. Ideal for dense table/board cells and
|
|
39
|
+
* chips where labels are unpredictable in length.
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* ```tsx
|
|
43
|
+
* <OverflowingText text={record.name} />
|
|
44
|
+
* <OverflowingText text={description} lines={2} />
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
export declare function OverflowingText({ text, tooltipContent, lines, alwaysShowTooltip, className, }: OverflowingTextProps): import("react/jsx-runtime").JSX.Element;
|
|
48
|
+
//# sourceMappingURL=overflowing-text.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"overflowing-text.d.ts","sourceRoot":"","sources":["../../../../src/components/overflowing-text/overflowing-text.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,SAAS,EAIf,MAAM,OAAO,CAAC;AAIf,iDAAiD;AACjD,eAAO,MAAM,8BAA8B,IAAc,CAAC;AAE1D,eAAO,MAAM,sCAAsC,IAAc,CAAC;AAElE;;;;;;;GAOG;AACH,MAAM,WAAW,oBAAoB;IACnC,iEAAiE;IACjE,IAAI,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,+EAA+E;IAC/E,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,eAAe,CAAC,EAC9B,IAAI,EACJ,cAAc,EACd,KAAS,EACT,iBAAyB,EACzB,SAAS,GACV,EAAE,oBAAoB,2CAqDtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/phones-display/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,KAAK,kBAAkB,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/** Variant standard export (reki convention). */
|
|
2
|
+
export declare const REKI_PHONES_DISPLAY_VARIANTS: {};
|
|
3
|
+
export declare const REKI_PHONES_DISPLAY_DEFAULT_VARIANTS: {};
|
|
4
|
+
/**
|
|
5
|
+
* PhonesDisplay component props.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* ```tsx
|
|
9
|
+
* <PhonesDisplay phones={["+1 415 555 0100", "+44 20 7946 0000"]} />
|
|
10
|
+
* ```
|
|
11
|
+
*/
|
|
12
|
+
export interface PhonesDisplayProps {
|
|
13
|
+
/** Pre-formatted phone numbers, primary first. */
|
|
14
|
+
phones: string[];
|
|
15
|
+
/** Items shown inline before collapsing into a `+N` chip. @default 1 */
|
|
16
|
+
max?: number;
|
|
17
|
+
/** Additional CSS classes merged via `cn()`. Use reki semantic tokens only. */
|
|
18
|
+
className?: string;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Renders a `phones` field as a collapsible list of `tel:` link chips. Format
|
|
22
|
+
* the numbers in your field-cell layer (e.g. via `libphonenumber-js`) and pass
|
|
23
|
+
* display strings.
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* ```tsx
|
|
27
|
+
* <PhonesDisplay phones={formattedPhones} />
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
export declare function PhonesDisplay({ phones, max, className }: PhonesDisplayProps): import("react/jsx-runtime").JSX.Element | null;
|
|
31
|
+
//# sourceMappingURL=phones-display.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"phones-display.d.ts","sourceRoot":"","sources":["../../../../src/components/phones-display/phones-display.tsx"],"names":[],"mappings":"AAIA,iDAAiD;AACjD,eAAO,MAAM,4BAA4B,IAAc,CAAC;AAExD,eAAO,MAAM,oCAAoC,IAAc,CAAC;AAEhE;;;;;;;GAOG;AACH,MAAM,WAAW,kBAAkB;IACjC,kDAAkD;IAClD,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,wEAAwE;IACxE,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,+EAA+E;IAC/E,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;GASG;AACH,wBAAgB,aAAa,CAAC,EAAE,MAAM,EAAE,GAAO,EAAE,SAAS,EAAE,EAAE,kBAAkB,kDAe/E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/pill/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,QAAQ,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ComponentType, SVGProps } from 'react';
|
|
2
|
+
/** Variant standard export (reki convention). */
|
|
3
|
+
export declare const REKI_PILL_VARIANTS: {};
|
|
4
|
+
export declare const REKI_PILL_DEFAULT_VARIANTS: {};
|
|
5
|
+
/**
|
|
6
|
+
* Pill component props.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```tsx
|
|
10
|
+
* <Pill label="Beta" />
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
export interface PillProps {
|
|
14
|
+
/** Text label. */
|
|
15
|
+
label: string;
|
|
16
|
+
/** Optional leading icon (phosphor or any SVG component). */
|
|
17
|
+
icon?: ComponentType<SVGProps<SVGSVGElement>>;
|
|
18
|
+
/** Additional CSS classes merged via `cn()`. Use reki semantic tokens only. */
|
|
19
|
+
className?: string;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* A tiny static label for inline annotations (counts, flags, hints). Smaller
|
|
23
|
+
* and quieter than {@link Tag} or {@link Badge}; not interactive.
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* ```tsx
|
|
27
|
+
* <Pill label="3 records" />
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
export declare function Pill({ label, icon: Icon, className }: PillProps): import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
//# sourceMappingURL=pill.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pill.d.ts","sourceRoot":"","sources":["../../../../src/components/pill/pill.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAGrD,iDAAiD;AACjD,eAAO,MAAM,kBAAkB,IAAc,CAAC;AAE9C,eAAO,MAAM,0BAA0B,IAAc,CAAC;AAEtD;;;;;;;GAOG;AACH,MAAM,WAAW,SAAS;IACxB,kBAAkB;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,6DAA6D;IAC7D,IAAI,CAAC,EAAE,aAAa,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC;IAC9C,+EAA+E;IAC/E,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;GAQG;AACH,wBAAgB,IAAI,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE,SAAS,2CAY/D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/rating/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/** Variant standard export (reki convention). */
|
|
2
|
+
export declare const REKI_RATING_VARIANTS: {};
|
|
3
|
+
export declare const REKI_RATING_DEFAULT_VARIANTS: {};
|
|
4
|
+
/**
|
|
5
|
+
* Rating component props.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* ```tsx
|
|
9
|
+
* <Rating value={3} readonly />
|
|
10
|
+
* <Rating value={rating} onChange={setRating} />
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
export interface RatingProps {
|
|
14
|
+
/** Current rating (1..max), or `null` for unrated. */
|
|
15
|
+
value: number | null;
|
|
16
|
+
/** Number of stars. @default 5 */
|
|
17
|
+
max?: number;
|
|
18
|
+
/** Called with the new rating, or `null` when the current value is cleared. */
|
|
19
|
+
onChange?: (value: number | null) => void;
|
|
20
|
+
/** Renders as read-only (no hover/click). @default false */
|
|
21
|
+
readonly?: boolean;
|
|
22
|
+
/** Additional CSS classes merged via `cn()`. Use reki semantic tokens only. */
|
|
23
|
+
className?: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Star rating for the `rating` field type. Read-only by default for cell
|
|
27
|
+
* display; pass `onChange` for an editable control (clicking the current value
|
|
28
|
+
* clears it).
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* ```tsx
|
|
32
|
+
* <Rating value={4} readonly />
|
|
33
|
+
* <Rating value={rating} onChange={setRating} />
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
36
|
+
export declare function Rating({ value, max, onChange, readonly, className, }: RatingProps): import("react/jsx-runtime").JSX.Element;
|
|
37
|
+
//# sourceMappingURL=rating.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rating.d.ts","sourceRoot":"","sources":["../../../../src/components/rating/rating.tsx"],"names":[],"mappings":"AAIA,iDAAiD;AACjD,eAAO,MAAM,oBAAoB,IAAc,CAAC;AAEhD,eAAO,MAAM,4BAA4B,IAAc,CAAC;AAExD;;;;;;;;GAQG;AACH,MAAM,WAAW,WAAW;IAC1B,sDAAsD;IACtD,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,kCAAkC;IAClC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,+EAA+E;IAC/E,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAC1C,4DAA4D;IAC5D,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,+EAA+E;IAC/E,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,MAAM,CAAC,EACrB,KAAK,EACL,GAAO,EACP,QAAQ,EACR,QAAgB,EAChB,SAAS,GACV,EAAE,WAAW,2CAoDb"}
|