@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
package/ai/schemas.ts
CHANGED
|
@@ -110,6 +110,24 @@ export type Action = z.infer<typeof ActionSchema>;
|
|
|
110
110
|
// Component Props Schemas
|
|
111
111
|
// =============================================================================
|
|
112
112
|
|
|
113
|
+
export const ActorDisplayPropsSchema = z.object({
|
|
114
|
+
name: z.string(), // Display name of the actor (workspace member, system, or API).
|
|
115
|
+
avatarUrl: z.unknown().optional(), // Avatar image URL. Falls back to the name's initial when absent.
|
|
116
|
+
avatarSize: z.enum(["xs", "sm", "base", "lg", "xl"]).optional(), // Avatar size.
|
|
117
|
+
className: z.string().optional(), // Additional CSS classes merged via `cn()`. Use reki semantic tokens only.
|
|
118
|
+
});
|
|
119
|
+
|
|
120
|
+
export const AddressInputPropsSchema = z.object({
|
|
121
|
+
value: z.unknown(), // Current address value.
|
|
122
|
+
disabled: z.boolean().optional(), // Disables all fields.
|
|
123
|
+
className: z.string().optional(), // Additional CSS classes merged via `cn()`. Use reki semantic tokens only.
|
|
124
|
+
});
|
|
125
|
+
|
|
126
|
+
export const ArrayDisplayPropsSchema = z.object({
|
|
127
|
+
values: z.array(z.string()), // String values to render as chips.
|
|
128
|
+
className: z.string().optional(), // Additional CSS classes merged via `cn()`. Use reki semantic tokens only.
|
|
129
|
+
});
|
|
130
|
+
|
|
113
131
|
export const AutocompletePropsSchema = z.object({
|
|
114
132
|
items: z.array(z.unknown()), // Array of items to display in the dropdown
|
|
115
133
|
value: z.array(z.unknown()).optional(), // The controlled input value
|
|
@@ -123,6 +141,19 @@ export const AutocompletePropsSchema = z.object({
|
|
|
123
141
|
error: z.unknown().optional(), // Error message or validation error object
|
|
124
142
|
});
|
|
125
143
|
|
|
144
|
+
export const AvatarPropsSchema = z.object({
|
|
145
|
+
initials: z.string().optional(), // Up to ~2 characters shown when there is no image.
|
|
146
|
+
alt: z.string().optional(), // Accessible name / image alt text.
|
|
147
|
+
size: z.enum(["xs", "sm", "base", "lg", "xl"]).optional(), // Glyph scale.
|
|
148
|
+
shape: z.enum(["circle", "square"]).optional(), // Round (default) or rounded-square.
|
|
149
|
+
className: z.string().optional(), // Additional CSS classes merged via `cn()`. Use reki semantic tokens only.
|
|
150
|
+
});
|
|
151
|
+
|
|
152
|
+
export const AvatarGroupPropsSchema = z.object({
|
|
153
|
+
avatars: z.array(z.unknown()), // Avatar nodes to stack (typically reki `Avatar` elements).
|
|
154
|
+
className: z.string().optional(), // Additional CSS classes merged via `cn()`. Use reki semantic tokens only.
|
|
155
|
+
});
|
|
156
|
+
|
|
126
157
|
export const BadgePropsSchema = z.object({
|
|
127
158
|
variant: z.enum(["primary", "secondary", "error", "warning", "success", "destructive", "info", "beta", "outline", "red", "green", "neutral", "orange", "purple", "teal", "teal-subtle", "blue"]).optional(), // Color variant of the badge. Recommended semantic variants: - `"primary"` — Primary badge - `"secondary"` — Secondary badge - `"error"` — Error badge - `"warning"` — Warning badge - `"success"` — Success badge - `"info"` — Info badge Additional token variants: - `"red"`, `"orange"`, `"green"`, `"teal"`, `"blue"`, `"purple"`, `"neutral"` - `"teal-subtle"`, `"neutral-subtle"` - `"inverted"` - `"outline"` — Bordered badge with transparent background - `"beta"` — Dashed-border badge for beta/experimental features
|
|
128
159
|
appearance: z.enum(["filled", "dot"]).optional(), // Visual appearance of the badge. - `"filled"` — Filled background using the variant color (default) - `"dot"` — Outlined badge with a colored circle dot. Only `success`, `warning`, `error`, and `neutral` variants show a dot; other variants render the badge without a dot.
|
|
@@ -179,6 +210,27 @@ export const CheckboxPropsSchema = z.object({
|
|
|
179
210
|
className: z.string().optional(), // Additional class name
|
|
180
211
|
});
|
|
181
212
|
|
|
213
|
+
export const ChipPropsSchema = z.object({
|
|
214
|
+
label: z.string(), // Text label (truncated with a tooltip on overflow).
|
|
215
|
+
tooltipLabel: z.string().optional(), // Tooltip content shown when the label overflows. Defaults to `label`.
|
|
216
|
+
variant: z.enum(["regular", "highlighted", "transparent", "static"]).optional(), // Visual variant.
|
|
217
|
+
size: z.enum(["small", "large"]).optional(), // Size of the chip.
|
|
218
|
+
accent: z.enum(["primary", "secondary"]).optional(), // Text emphasis. `"secondary"` renders muted, medium-weight text.
|
|
219
|
+
isBold: z.boolean().optional(), // Renders the label in a medium font weight.
|
|
220
|
+
leftComponent: z.union([z.string(), z.number(), z.boolean(), z.null(), DynamicValueSchema]).optional(), // Node rendered before the label (e.g. an avatar or icon).
|
|
221
|
+
rightComponent: z.union([z.string(), z.number(), z.boolean(), z.null(), DynamicValueSchema]).optional(), // Node rendered after the label (e.g. a remove button or count).
|
|
222
|
+
disabled: z.boolean().optional(), // Disables the chip and dims it.
|
|
223
|
+
className: z.string().optional(), // Additional CSS classes merged via `cn()`. Use reki semantic tokens only.
|
|
224
|
+
});
|
|
225
|
+
|
|
226
|
+
export const CircularProgressBarPropsSchema = z.object({
|
|
227
|
+
value: z.number(), // Progress as a percentage (0–100).
|
|
228
|
+
size: z.number().optional(), // Diameter in pixels.
|
|
229
|
+
barWidth: z.number().optional(), // Stroke width in pixels.
|
|
230
|
+
label: z.string().optional(), // Accessible label.
|
|
231
|
+
className: z.string().optional(), // Additional CSS classes merged via `cn()`. Use reki semantic tokens only.
|
|
232
|
+
});
|
|
233
|
+
|
|
182
234
|
export const ClipboardTextPropsSchema = z.object({
|
|
183
235
|
size: z.enum(["sm", "base", "lg"]).optional(), // Size of the clipboard text field. - `"sm"` — Small clipboard text for compact UIs - `"base"` — Default clipboard text size - `"lg"` — Large clipboard text for prominent display
|
|
184
236
|
text: z.string(), // The text to display and copy to clipboard.
|
|
@@ -457,6 +509,12 @@ export const CollapsiblePropsSchema = z.object({
|
|
|
457
509
|
onOpenChange: z.unknown().optional(), // Callback when collapsed state changes
|
|
458
510
|
});
|
|
459
511
|
|
|
512
|
+
export const ColorSamplePropsSchema = z.object({
|
|
513
|
+
colorName: z.enum(["gray", "red", "orange", "yellow", "green", "turquoise", "sky", "blue", "purple", "pink", "transparent"]), // Named CRM tag color to display.
|
|
514
|
+
variant: z.enum(["default", "circle", "pipeline"]).optional(), // Swatch shape. - `"default"` — small rounded square (default) - `"circle"` — full circle - `"pipeline"` — wider rounded bar (for pipeline/stage pickers)
|
|
515
|
+
className: z.string().optional(), // Additional CSS classes merged via `cn()`. Use reki semantic tokens only.
|
|
516
|
+
});
|
|
517
|
+
|
|
460
518
|
export const ComboboxPropsSchema = z.object({
|
|
461
519
|
size: z.enum(["xs", "sm", "base", "lg"]).optional(), // Size of the combobox trigger. Matches Input component sizes. - `"xs"` — Extra small for compact UIs (h-5 / 20px) - `"sm"` — Small for secondary fields (h-6.5 / 26px) - `"base"` — Default size (h-9 / 36px) - `"lg"` — Large for prominent fields (h-10 / 40px)
|
|
462
520
|
inputSide: z.enum(["right", "top"]).optional(), // Position of the text input relative to chips in multi-select mode. - `"right"` — Input inline to the right of chips - `"top"` — Input above chips
|
|
@@ -480,6 +538,13 @@ export const CommandPalettePropsSchema = z.object({
|
|
|
480
538
|
container: z.unknown().optional(), // Container element for the portal. Use this to render the command palette inside a Shadow DOM or custom container. Overrides `RekiPortalProvider` context.
|
|
481
539
|
});
|
|
482
540
|
|
|
541
|
+
export const DataGridPropsSchema = z.object({
|
|
542
|
+
kind: z.enum(["text", "number"]),
|
|
543
|
+
initialValue: z.unknown(),
|
|
544
|
+
initialKey: z.string().optional(),
|
|
545
|
+
align: z.enum(["left", "right", "center"]),
|
|
546
|
+
});
|
|
547
|
+
|
|
483
548
|
export const DatePickerPropsSchema = z.object({
|
|
484
549
|
className: z.string().optional(), // Additional CSS classes
|
|
485
550
|
children: z.union([z.string(), z.number(), z.boolean(), z.null(), DynamicValueSchema]).optional(), // Child elements
|
|
@@ -501,10 +566,23 @@ export const DialogPropsSchema = z.object({
|
|
|
501
566
|
size: z.enum(["base", "sm", "lg", "xl"]).optional(), // Dialog width. - `"sm"` — Small (min 288px) for simple confirmations - `"base"` — Default (min 384px) - `"lg"` — Large (min 512px) for complex content - `"xl"` — Extra large (min 768px) for detailed views
|
|
502
567
|
});
|
|
503
568
|
|
|
569
|
+
export const DoubleTextInputPropsSchema = z.object({
|
|
570
|
+
value: z.unknown(), // Current paired value.
|
|
571
|
+
firstPlaceholder: z.string().optional(), // Placeholder for the first input.
|
|
572
|
+
secondPlaceholder: z.string().optional(), // Placeholder for the second input.
|
|
573
|
+
disabled: z.boolean().optional(), // Disables both inputs.
|
|
574
|
+
className: z.string().optional(), // Additional CSS classes merged via `cn()`. Use reki semantic tokens only.
|
|
575
|
+
});
|
|
576
|
+
|
|
504
577
|
export const DropdownMenuPropsSchema = z.object({
|
|
505
578
|
variant: z.enum(["default", "danger"]).optional(), // Visual style of the dropdown item. - `"default"` — Standard item appearance - `"danger"` — Destructive action with red text
|
|
506
579
|
});
|
|
507
580
|
|
|
581
|
+
export const EmailsDisplayPropsSchema = z.object({
|
|
582
|
+
emails: z.array(z.string()), // Email addresses, primary first.
|
|
583
|
+
className: z.string().optional(), // Additional CSS classes merged via `cn()`. Use reki semantic tokens only.
|
|
584
|
+
});
|
|
585
|
+
|
|
508
586
|
export const EmptyPropsSchema = z.object({
|
|
509
587
|
size: z.enum(["sm", "base", "lg"]).optional(), // Size of the empty state container. - `"sm"` — Compact empty state for smaller containers - `"base"` — Default empty state size - `"lg"` — Large empty state for prominent placement
|
|
510
588
|
icon: z.union([z.string(), z.number(), z.boolean(), z.null(), DynamicValueSchema]).optional(), // Decorative icon displayed above the title (e.g. from `@phosphor-icons/react`).
|
|
@@ -515,6 +593,11 @@ export const EmptyPropsSchema = z.object({
|
|
|
515
593
|
className: z.string().optional(), // Additional CSS classes merged via `cn()`.
|
|
516
594
|
});
|
|
517
595
|
|
|
596
|
+
export const ExpandableListPropsSchema = z.object({
|
|
597
|
+
children: z.union([z.string(), z.number(), z.boolean(), z.null(), DynamicValueSchema]).optional(), // Items to render. The first `max` are shown inline; the rest collapse into a `+N` chip.
|
|
598
|
+
className: z.string().optional(), // Additional CSS classes merged via `cn()`. Use reki semantic tokens only.
|
|
599
|
+
});
|
|
600
|
+
|
|
518
601
|
export const FieldPropsSchema = z.object({
|
|
519
602
|
controlFirst: z.boolean().optional(), // When `true`, places the control before the label (for checkbox/switch layouts).
|
|
520
603
|
children: z.union([z.string(), z.number(), z.boolean(), z.null(), DynamicValueSchema]).optional(), // The form control element(s) to wrap (Input, Select, Checkbox, etc.).
|
|
@@ -564,6 +647,11 @@ export const InputGroupPropsSchema = z.object({
|
|
|
564
647
|
disabled: z.boolean().optional(),
|
|
565
648
|
});
|
|
566
649
|
|
|
650
|
+
export const JsonDisplayPropsSchema = z.object({
|
|
651
|
+
value: z.unknown(), // Value to render. Objects/arrays are stringified; strings are shown as-is.
|
|
652
|
+
className: z.string().optional(), // Additional CSS classes merged via `cn()`. Use reki semantic tokens only.
|
|
653
|
+
});
|
|
654
|
+
|
|
567
655
|
export const LabelPropsSchema = z.object({
|
|
568
656
|
children: z.union([z.string(), z.number(), z.boolean(), z.null(), DynamicValueSchema]).optional(), // The label content — can be a string or any React node.
|
|
569
657
|
showOptional: z.boolean().optional(), // When `true`, shows gray "(optional)" text after the label.
|
|
@@ -601,6 +689,24 @@ export const LinkPropsSchema = z.object({
|
|
|
601
689
|
render: z.union([z.string(), z.number(), z.boolean(), z.null(), DynamicValueSchema]).optional(), // Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accepts a `ReactElement` or a function that returns the element to render.
|
|
602
690
|
});
|
|
603
691
|
|
|
692
|
+
export const LinkChipPropsSchema = z.object({
|
|
693
|
+
label: z.string(), // Text label (truncated with a tooltip on overflow).
|
|
694
|
+
href: z.string(), // Destination href. Resolved through the configured `LinkProvider`.
|
|
695
|
+
tooltipLabel: z.string().optional(), // Tooltip content shown when the label overflows. Defaults to `label`.
|
|
696
|
+
size: z.enum(["small", "large"]).optional(), // Size of the chip.
|
|
697
|
+
accent: z.enum(["primary", "secondary"]).optional(), // Text emphasis.
|
|
698
|
+
isBold: z.boolean().optional(), // Renders the label in a medium font weight.
|
|
699
|
+
leftComponent: z.union([z.string(), z.number(), z.boolean(), z.null(), DynamicValueSchema]).optional(), // Node rendered before the label (e.g. an avatar or icon).
|
|
700
|
+
rightComponent: z.union([z.string(), z.number(), z.boolean(), z.null(), DynamicValueSchema]).optional(), // Node rendered after the label.
|
|
701
|
+
target: z.string().optional(), // Opens the link in a new tab.
|
|
702
|
+
className: z.string().optional(), // Additional CSS classes merged via `cn()`. Use reki semantic tokens only.
|
|
703
|
+
});
|
|
704
|
+
|
|
705
|
+
export const LinksDisplayPropsSchema = z.object({
|
|
706
|
+
links: z.array(z.unknown()), // Links to render, primary first.
|
|
707
|
+
className: z.string().optional(), // Additional CSS classes merged via `cn()`. Use reki semantic tokens only.
|
|
708
|
+
});
|
|
709
|
+
|
|
604
710
|
export const LoaderPropsSchema = z.object({
|
|
605
711
|
className: z.string().optional(), // Additional CSS classes merged via `cn()`.
|
|
606
712
|
size: z.enum(["sm", "base", "lg"]).optional(), // Size of the spinner. Use a preset name or a custom pixel number. - `"sm"` — 16px, for inline use - `"base"` — 24px, default size - `"lg"` — 32px, for prominent loading states
|
|
@@ -613,6 +719,17 @@ export const MenuBarPropsSchema = z.object({
|
|
|
613
719
|
optionIds: z.boolean().optional(), // When true, each option's `id` field is used for matching instead of its array index.
|
|
614
720
|
});
|
|
615
721
|
|
|
722
|
+
export const MenuItemPropsSchema = z.object({
|
|
723
|
+
text: z.string(), // Row label.
|
|
724
|
+
LeftIcon: z.unknown().optional(), // Optional leading icon.
|
|
725
|
+
leftComponent: z.union([z.string(), z.number(), z.boolean(), z.null(), DynamicValueSchema]).optional(), // Optional leading element (avatar, color sample, …) shown before the text.
|
|
726
|
+
rightComponent: z.union([z.string(), z.number(), z.boolean(), z.null(), DynamicValueSchema]).optional(), // Optional trailing element shown after the text.
|
|
727
|
+
selected: z.boolean().optional(), // Shows a trailing check mark when true.
|
|
728
|
+
focused: z.boolean().optional(), // Keyboard-focused / active styling.
|
|
729
|
+
disabled: z.boolean().optional(), // Disables the row.
|
|
730
|
+
className: z.string().optional(), // Additional CSS classes merged via `cn()`. Use reki semantic tokens only.
|
|
731
|
+
});
|
|
732
|
+
|
|
616
733
|
export const MeterPropsSchema = z.object({
|
|
617
734
|
customValue: z.string().optional(), // Custom formatted value text (e.g. "750 / 1,000") displayed instead of percentage.
|
|
618
735
|
label: z.string(), // Label text displayed above the meter track.
|
|
@@ -624,6 +741,20 @@ export const MeterPropsSchema = z.object({
|
|
|
624
741
|
min: z.number().optional(), // Minimum value of the meter (default: 0)
|
|
625
742
|
});
|
|
626
743
|
|
|
744
|
+
export const NotificationCounterPropsSchema = z.object({
|
|
745
|
+
count: z.number(), // Number to display. Values above `max` render as `{max}+`.
|
|
746
|
+
variant: z.enum(["primary", "secondary"]).optional(), // Visual variant. - `"primary"` — brand background (default) - `"secondary"` — neutral fill
|
|
747
|
+
className: z.string().optional(), // Additional CSS classes merged via `cn()`. Use reki semantic tokens only.
|
|
748
|
+
});
|
|
749
|
+
|
|
750
|
+
export const OverflowingTextPropsSchema = z.object({
|
|
751
|
+
text: z.string(), // Text to render, truncated when it overflows its container.
|
|
752
|
+
tooltipContent: z.union([z.string(), z.number(), z.boolean(), z.null(), DynamicValueSchema]).optional(), // Tooltip content shown when the text overflows. Defaults to `text`. Provide a custom node to show richer content than the raw string.
|
|
753
|
+
lines: z.number().optional(), // Maximum number of lines before clamping. `1` (default) truncates to a single line with an ellipsis; higher values clamp to that many lines.
|
|
754
|
+
alwaysShowTooltip: z.boolean().optional(), // Always show the tooltip on hover, even when the text is not overflowing.
|
|
755
|
+
className: z.string().optional(), // Additional CSS classes merged via `cn()`. Use reki semantic tokens only.
|
|
756
|
+
});
|
|
757
|
+
|
|
627
758
|
export const PaginationPropsSchema = z.object({
|
|
628
759
|
setPage: z.unknown(), // Callback when page changes
|
|
629
760
|
page: z.number().optional(), // Current page number (1-indexed).
|
|
@@ -636,6 +767,17 @@ export const PaginationPropsSchema = z.object({
|
|
|
636
767
|
text: z.unknown().optional(),
|
|
637
768
|
});
|
|
638
769
|
|
|
770
|
+
export const PhonesDisplayPropsSchema = z.object({
|
|
771
|
+
phones: z.array(z.string()), // Pre-formatted phone numbers, primary first.
|
|
772
|
+
className: z.string().optional(), // Additional CSS classes merged via `cn()`. Use reki semantic tokens only.
|
|
773
|
+
});
|
|
774
|
+
|
|
775
|
+
export const PillPropsSchema = z.object({
|
|
776
|
+
label: z.string(), // Text label.
|
|
777
|
+
icon: z.unknown().optional(), // Optional leading icon (phosphor or any SVG component).
|
|
778
|
+
className: z.string().optional(), // Additional CSS classes merged via `cn()`. Use reki semantic tokens only.
|
|
779
|
+
});
|
|
780
|
+
|
|
639
781
|
export const PopoverPropsSchema = z.object({
|
|
640
782
|
side: z.enum(["top", "bottom", "left", "right"]).optional(), // Which side of the trigger the popover appears on. - `"top"` — Above the trigger - `"bottom"` — Below the trigger - `"left"` — Left of the trigger - `"right"` — Right of the trigger
|
|
641
783
|
});
|
|
@@ -650,6 +792,17 @@ export const RadioPropsSchema = z.object({
|
|
|
650
792
|
onValueChange: z.unknown().optional(), // Callback fired when the selected value changes. The second argument carries native event details about the interaction.
|
|
651
793
|
});
|
|
652
794
|
|
|
795
|
+
export const RatingPropsSchema = z.object({
|
|
796
|
+
value: z.unknown(), // Current rating (1..max), or `null` for unrated.
|
|
797
|
+
readonly: z.boolean().optional(), // Renders as read-only (no hover/click).
|
|
798
|
+
className: z.string().optional(), // Additional CSS classes merged via `cn()`. Use reki semantic tokens only.
|
|
799
|
+
});
|
|
800
|
+
|
|
801
|
+
export const RecordBoardPropsSchema = z.object({
|
|
802
|
+
className: z.string().optional(), // Additional CSS classes
|
|
803
|
+
children: z.union([z.string(), z.number(), z.boolean(), z.null(), DynamicValueSchema]).optional(), // Child elements
|
|
804
|
+
});
|
|
805
|
+
|
|
653
806
|
export const SelectPropsSchema = z.object({
|
|
654
807
|
className: z.string().optional(), // Additional CSS classes merged via `cn()`.
|
|
655
808
|
size: z.enum(["xs", "sm", "base", "lg"]).optional(), // Size of the select trigger. Matches Input component sizes.
|
|
@@ -715,6 +868,13 @@ export const SidebarPropsSchema = z.object({
|
|
|
715
868
|
className: z.string().optional(), // Additional CSS classes for the wrapper div.
|
|
716
869
|
});
|
|
717
870
|
|
|
871
|
+
export const StatusPropsSchema = z.object({
|
|
872
|
+
text: z.string(), // Status label text.
|
|
873
|
+
isLoaderVisible: z.boolean().optional(), // Shows an inline loader after the text (e.g. while a transition runs).
|
|
874
|
+
weight: z.enum(["regular", "medium"]).optional(), // Font weight of the label.
|
|
875
|
+
className: z.string().optional(), // Additional CSS classes merged via `cn()`. Use reki semantic tokens only.
|
|
876
|
+
});
|
|
877
|
+
|
|
718
878
|
export const SurfacePropsSchema = z.object({
|
|
719
879
|
as: z.unknown().optional(),
|
|
720
880
|
render: z.union([z.string(), z.number(), z.boolean(), z.null(), DynamicValueSchema]).optional(), // Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accepts a `ReactElement` or a function that returns the element to render.
|
|
@@ -774,6 +934,15 @@ export const TabsPropsSchema = z.object({
|
|
|
774
934
|
onValueChange: z.unknown().optional(), // Callback when active tab changes
|
|
775
935
|
});
|
|
776
936
|
|
|
937
|
+
export const TagPropsSchema = z.object({
|
|
938
|
+
text: z.string(), // Text label rendered inside the tag (truncated with a tooltip on overflow).
|
|
939
|
+
icon: z.unknown().optional(), // Optional leading icon (phosphor or any SVG component).
|
|
940
|
+
variant: z.enum(["solid", "outline", "border"]).optional(), // Visual style. - `"solid"` — subtle colored background (default) - `"outline"` — transparent background with a colored ring - `"border"` — subtle background with a matching colored ring
|
|
941
|
+
weight: z.enum(["regular", "medium"]).optional(), // Font weight of the label. - `"regular"` (default) - `"medium"`
|
|
942
|
+
preventShrink: z.boolean().optional(), // Prevents the tag from shrinking inside flex containers.
|
|
943
|
+
className: z.string().optional(), // Additional CSS classes merged via `cn()`. Use reki semantic tokens only.
|
|
944
|
+
});
|
|
945
|
+
|
|
777
946
|
export const TextPropsSchema = z.object({
|
|
778
947
|
variant: z.enum(["heading1", "heading2", "heading3", "body", "secondary", "success", "error", "mono", "mono-secondary"]).optional(), // Text style variant. Determines color, font, and weight. - `"heading1"` — Large page title (30px, semibold) - `"heading2"` — Section title (24px, semibold) - `"heading3"` — Subsection title (18px, semibold) - `"body"` — Default body text - `"secondary"` — Muted text for secondary information - `"success"` — Success state text - `"error"` — Error state text - `"mono"` — Monospace text for code - `"mono-secondary"` — Muted monospace text
|
|
779
948
|
size: z.enum(["xs", "sm", "base", "lg"]).optional(), // Text size (only applies to body/secondary/success/error variants). - `"xs"` — 12px - `"sm"` — 14px - `"base"` — 16px - `"lg"` — 18px
|
|
@@ -783,6 +952,11 @@ export const TextPropsSchema = z.object({
|
|
|
783
952
|
children: z.union([z.string(), z.number(), z.boolean(), z.null(), DynamicValueSchema]).optional(), // Text content.
|
|
784
953
|
});
|
|
785
954
|
|
|
955
|
+
export const TimelinePropsSchema = z.object({
|
|
956
|
+
children: z.union([z.string(), z.number(), z.boolean(), z.null(), DynamicValueSchema]).optional(), // `Timeline.Item` elements.
|
|
957
|
+
className: z.string().optional(), // Additional CSS classes merged via `cn()`. Use reki semantic tokens only.
|
|
958
|
+
});
|
|
959
|
+
|
|
786
960
|
export const ToastyPropsSchema = z.object({
|
|
787
961
|
variant: z.enum(["default", "success", "error", "warning", "info"]).optional(),
|
|
788
962
|
className: z.string().optional(), // Additional CSS classes
|
|
@@ -803,49 +977,74 @@ export const TooltipPropsSchema = z.object({
|
|
|
803
977
|
/**
|
|
804
978
|
* All valid component type names
|
|
805
979
|
*/
|
|
806
|
-
export type RekiComponentType = "Autocomplete" | "Badge" | "Banner" | "Breadcrumbs" | "Button" | "Checkbox" | "ClipboardText" | "CloudflareLogo" | "Code" | "Collapsible" | "Combobox" | "CommandPalette" | "DatePicker" | "DateRangePicker" | "Dialog" | "DropdownMenu" | "Empty" | "Field" | "Grid" | "Input" | "InputArea" | "InputGroup" | "Label" | "LayerCard" | "Link" | "Loader" | "MenuBar" | "Meter" | "Pagination" | "Popover" | "Radio" | "Select" | "SensitiveInput" | "Sidebar" | "Surface" | "Switch" | "Table" | "TableOfContents" | "Tabs" | "Text" | "Toasty" | "Tooltip";
|
|
980
|
+
export type RekiComponentType = "ActorDisplay" | "AddressInput" | "ArrayDisplay" | "Autocomplete" | "Avatar" | "AvatarGroup" | "Badge" | "Banner" | "Breadcrumbs" | "Button" | "Checkbox" | "Chip" | "CircularProgressBar" | "ClipboardText" | "CloudflareLogo" | "Code" | "Collapsible" | "ColorSample" | "Combobox" | "CommandPalette" | "DataGrid" | "DatePicker" | "DateRangePicker" | "Dialog" | "DoubleTextInput" | "DropdownMenu" | "EmailsDisplay" | "Empty" | "ExpandableList" | "Field" | "Grid" | "Input" | "InputArea" | "InputGroup" | "JsonDisplay" | "Label" | "LayerCard" | "Link" | "LinkChip" | "LinksDisplay" | "Loader" | "MenuBar" | "MenuItem" | "Meter" | "NotificationCounter" | "OverflowingText" | "Pagination" | "PhonesDisplay" | "Pill" | "Popover" | "Radio" | "Rating" | "RecordBoard" | "Select" | "SensitiveInput" | "Sidebar" | "Status" | "Surface" | "Switch" | "Table" | "TableOfContents" | "Tabs" | "Tag" | "Text" | "Timeline" | "Toasty" | "Tooltip";
|
|
807
981
|
|
|
808
982
|
export const RekiComponentTypeSchema = z.enum([
|
|
983
|
+
"ActorDisplay",
|
|
984
|
+
"AddressInput",
|
|
985
|
+
"ArrayDisplay",
|
|
809
986
|
"Autocomplete",
|
|
987
|
+
"Avatar",
|
|
988
|
+
"AvatarGroup",
|
|
810
989
|
"Badge",
|
|
811
990
|
"Banner",
|
|
812
991
|
"Breadcrumbs",
|
|
813
992
|
"Button",
|
|
814
993
|
"Checkbox",
|
|
994
|
+
"Chip",
|
|
995
|
+
"CircularProgressBar",
|
|
815
996
|
"ClipboardText",
|
|
816
997
|
"CloudflareLogo",
|
|
817
998
|
"Code",
|
|
818
999
|
"Collapsible",
|
|
1000
|
+
"ColorSample",
|
|
819
1001
|
"Combobox",
|
|
820
1002
|
"CommandPalette",
|
|
1003
|
+
"DataGrid",
|
|
821
1004
|
"DatePicker",
|
|
822
1005
|
"DateRangePicker",
|
|
823
1006
|
"Dialog",
|
|
1007
|
+
"DoubleTextInput",
|
|
824
1008
|
"DropdownMenu",
|
|
1009
|
+
"EmailsDisplay",
|
|
825
1010
|
"Empty",
|
|
1011
|
+
"ExpandableList",
|
|
826
1012
|
"Field",
|
|
827
1013
|
"Grid",
|
|
828
1014
|
"Input",
|
|
829
1015
|
"InputArea",
|
|
830
1016
|
"InputGroup",
|
|
1017
|
+
"JsonDisplay",
|
|
831
1018
|
"Label",
|
|
832
1019
|
"LayerCard",
|
|
833
1020
|
"Link",
|
|
1021
|
+
"LinkChip",
|
|
1022
|
+
"LinksDisplay",
|
|
834
1023
|
"Loader",
|
|
835
1024
|
"MenuBar",
|
|
1025
|
+
"MenuItem",
|
|
836
1026
|
"Meter",
|
|
1027
|
+
"NotificationCounter",
|
|
1028
|
+
"OverflowingText",
|
|
837
1029
|
"Pagination",
|
|
1030
|
+
"PhonesDisplay",
|
|
1031
|
+
"Pill",
|
|
838
1032
|
"Popover",
|
|
839
1033
|
"Radio",
|
|
1034
|
+
"Rating",
|
|
1035
|
+
"RecordBoard",
|
|
840
1036
|
"Select",
|
|
841
1037
|
"SensitiveInput",
|
|
842
1038
|
"Sidebar",
|
|
1039
|
+
"Status",
|
|
843
1040
|
"Surface",
|
|
844
1041
|
"Switch",
|
|
845
1042
|
"Table",
|
|
846
1043
|
"TableOfContents",
|
|
847
1044
|
"Tabs",
|
|
1045
|
+
"Tag",
|
|
848
1046
|
"Text",
|
|
1047
|
+
"Timeline",
|
|
849
1048
|
"Toasty",
|
|
850
1049
|
"Tooltip",
|
|
851
1050
|
]);
|
|
@@ -854,46 +1053,71 @@ export const RekiComponentTypeSchema = z.enum([
|
|
|
854
1053
|
* Map of component type to its props schema
|
|
855
1054
|
*/
|
|
856
1055
|
export const ComponentPropsSchemas = {
|
|
1056
|
+
ActorDisplay: ActorDisplayPropsSchema,
|
|
1057
|
+
AddressInput: AddressInputPropsSchema,
|
|
1058
|
+
ArrayDisplay: ArrayDisplayPropsSchema,
|
|
857
1059
|
Autocomplete: AutocompletePropsSchema,
|
|
1060
|
+
Avatar: AvatarPropsSchema,
|
|
1061
|
+
AvatarGroup: AvatarGroupPropsSchema,
|
|
858
1062
|
Badge: BadgePropsSchema,
|
|
859
1063
|
Banner: BannerPropsSchema,
|
|
860
1064
|
Breadcrumbs: BreadcrumbsPropsSchema,
|
|
861
1065
|
Button: ButtonPropsSchema,
|
|
862
1066
|
Checkbox: CheckboxPropsSchema,
|
|
1067
|
+
Chip: ChipPropsSchema,
|
|
1068
|
+
CircularProgressBar: CircularProgressBarPropsSchema,
|
|
863
1069
|
ClipboardText: ClipboardTextPropsSchema,
|
|
864
1070
|
CloudflareLogo: CloudflareLogoPropsSchema,
|
|
865
1071
|
Code: CodePropsSchema,
|
|
866
1072
|
Collapsible: CollapsiblePropsSchema,
|
|
1073
|
+
ColorSample: ColorSamplePropsSchema,
|
|
867
1074
|
Combobox: ComboboxPropsSchema,
|
|
868
1075
|
CommandPalette: CommandPalettePropsSchema,
|
|
1076
|
+
DataGrid: DataGridPropsSchema,
|
|
869
1077
|
DatePicker: DatePickerPropsSchema,
|
|
870
1078
|
DateRangePicker: DateRangePickerPropsSchema,
|
|
871
1079
|
Dialog: DialogPropsSchema,
|
|
1080
|
+
DoubleTextInput: DoubleTextInputPropsSchema,
|
|
872
1081
|
DropdownMenu: DropdownMenuPropsSchema,
|
|
1082
|
+
EmailsDisplay: EmailsDisplayPropsSchema,
|
|
873
1083
|
Empty: EmptyPropsSchema,
|
|
1084
|
+
ExpandableList: ExpandableListPropsSchema,
|
|
874
1085
|
Field: FieldPropsSchema,
|
|
875
1086
|
Grid: GridPropsSchema,
|
|
876
1087
|
Input: InputPropsSchema,
|
|
877
1088
|
InputArea: InputAreaPropsSchema,
|
|
878
1089
|
InputGroup: InputGroupPropsSchema,
|
|
1090
|
+
JsonDisplay: JsonDisplayPropsSchema,
|
|
879
1091
|
Label: LabelPropsSchema,
|
|
880
1092
|
LayerCard: LayerCardPropsSchema,
|
|
881
1093
|
Link: LinkPropsSchema,
|
|
1094
|
+
LinkChip: LinkChipPropsSchema,
|
|
1095
|
+
LinksDisplay: LinksDisplayPropsSchema,
|
|
882
1096
|
Loader: LoaderPropsSchema,
|
|
883
1097
|
MenuBar: MenuBarPropsSchema,
|
|
1098
|
+
MenuItem: MenuItemPropsSchema,
|
|
884
1099
|
Meter: MeterPropsSchema,
|
|
1100
|
+
NotificationCounter: NotificationCounterPropsSchema,
|
|
1101
|
+
OverflowingText: OverflowingTextPropsSchema,
|
|
885
1102
|
Pagination: PaginationPropsSchema,
|
|
1103
|
+
PhonesDisplay: PhonesDisplayPropsSchema,
|
|
1104
|
+
Pill: PillPropsSchema,
|
|
886
1105
|
Popover: PopoverPropsSchema,
|
|
887
1106
|
Radio: RadioPropsSchema,
|
|
1107
|
+
Rating: RatingPropsSchema,
|
|
1108
|
+
RecordBoard: RecordBoardPropsSchema,
|
|
888
1109
|
Select: SelectPropsSchema,
|
|
889
1110
|
SensitiveInput: SensitiveInputPropsSchema,
|
|
890
1111
|
Sidebar: SidebarPropsSchema,
|
|
1112
|
+
Status: StatusPropsSchema,
|
|
891
1113
|
Surface: SurfacePropsSchema,
|
|
892
1114
|
Switch: SwitchPropsSchema,
|
|
893
1115
|
Table: TablePropsSchema,
|
|
894
1116
|
TableOfContents: TableOfContentsPropsSchema,
|
|
895
1117
|
Tabs: TabsPropsSchema,
|
|
1118
|
+
Tag: TagPropsSchema,
|
|
896
1119
|
Text: TextPropsSchema,
|
|
1120
|
+
Timeline: TimelinePropsSchema,
|
|
897
1121
|
Toasty: ToastyPropsSchema,
|
|
898
1122
|
Tooltip: TooltipPropsSchema,
|
|
899
1123
|
} as const;
|
|
@@ -952,4 +1176,4 @@ export function validateUITree(tree: unknown): SafeParseResult<UITree> {
|
|
|
952
1176
|
/**
|
|
953
1177
|
* List of all component names (for catalog generation)
|
|
954
1178
|
*/
|
|
955
|
-
export const REKI_COMPONENT_NAMES = ["Autocomplete", "Badge", "Banner", "Breadcrumbs", "Button", "Checkbox", "ClipboardText", "CloudflareLogo", "Code", "Collapsible", "Combobox", "CommandPalette", "DatePicker", "DateRangePicker", "Dialog", "DropdownMenu", "Empty", "Field", "Grid", "Input", "InputArea", "InputGroup", "Label", "LayerCard", "Link", "Loader", "MenuBar", "Meter", "Pagination", "Popover", "Radio", "Select", "SensitiveInput", "Sidebar", "Surface", "Switch", "Table", "TableOfContents", "Tabs", "Text", "Toasty", "Tooltip"] as const;
|
|
1179
|
+
export const REKI_COMPONENT_NAMES = ["ActorDisplay", "AddressInput", "ArrayDisplay", "Autocomplete", "Avatar", "AvatarGroup", "Badge", "Banner", "Breadcrumbs", "Button", "Checkbox", "Chip", "CircularProgressBar", "ClipboardText", "CloudflareLogo", "Code", "Collapsible", "ColorSample", "Combobox", "CommandPalette", "DataGrid", "DatePicker", "DateRangePicker", "Dialog", "DoubleTextInput", "DropdownMenu", "EmailsDisplay", "Empty", "ExpandableList", "Field", "Grid", "Input", "InputArea", "InputGroup", "JsonDisplay", "Label", "LayerCard", "Link", "LinkChip", "LinksDisplay", "Loader", "MenuBar", "MenuItem", "Meter", "NotificationCounter", "OverflowingText", "Pagination", "PhonesDisplay", "Pill", "Popover", "Radio", "Rating", "RecordBoard", "Select", "SensitiveInput", "Sidebar", "Status", "Surface", "Switch", "Table", "TableOfContents", "Tabs", "Tag", "Text", "Timeline", "Toasty", "Tooltip"] as const;
|
package/dist/.build-complete
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
1782693141731
|