@rowsncolumns/ui 15.0.38
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/LICENSE.md +100 -0
- package/dist/cjs/arrow/index.d.ts +17 -0
- package/dist/cjs/arrow/index.d.ts.map +1 -0
- package/dist/cjs/arrow/index.js +46 -0
- package/dist/cjs/button/index.d.ts +14 -0
- package/dist/cjs/button/index.d.ts.map +1 -0
- package/dist/cjs/button/index.js +46 -0
- package/dist/cjs/calendar/index.d.ts +5 -0
- package/dist/cjs/calendar/index.d.ts.map +1 -0
- package/dist/cjs/calendar/index.js +13 -0
- package/dist/cjs/card/index.d.ts +10 -0
- package/dist/cjs/card/index.d.ts.map +1 -0
- package/dist/cjs/card/index.js +32 -0
- package/dist/cjs/cell-tooltip/index.d.ts +17 -0
- package/dist/cjs/cell-tooltip/index.d.ts.map +1 -0
- package/dist/cjs/cell-tooltip/index.js +38 -0
- package/dist/cjs/circular-loader/index.d.ts +9 -0
- package/dist/cjs/circular-loader/index.d.ts.map +1 -0
- package/dist/cjs/circular-loader/index.js +11 -0
- package/dist/cjs/color-picker/index.d.ts +12 -0
- package/dist/cjs/color-picker/index.d.ts.map +1 -0
- package/dist/cjs/color-picker/index.js +101 -0
- package/dist/cjs/color-picker/style.d.ts +5 -0
- package/dist/cjs/color-picker/style.d.ts.map +1 -0
- package/dist/cjs/color-picker/style.js +11 -0
- package/dist/cjs/command/index.d.ts +74 -0
- package/dist/cjs/command/index.d.ts.map +1 -0
- package/dist/cjs/command/index.js +37 -0
- package/dist/cjs/conditional-wrapper/index.d.ts +9 -0
- package/dist/cjs/conditional-wrapper/index.d.ts.map +1 -0
- package/dist/cjs/conditional-wrapper/index.js +4 -0
- package/dist/cjs/dialog/index.d.ts +17 -0
- package/dist/cjs/dialog/index.d.ts.map +1 -0
- package/dist/cjs/dialog/index.js +50 -0
- package/dist/cjs/dropdown/index.d.ts +34 -0
- package/dist/cjs/dropdown/index.d.ts.map +1 -0
- package/dist/cjs/dropdown/index.js +73 -0
- package/dist/cjs/editor/constants.d.ts +7 -0
- package/dist/cjs/editor/constants.d.ts.map +1 -0
- package/dist/cjs/editor/constants.js +50 -0
- package/dist/cjs/editor/editor-error-boundary.d.ts +3 -0
- package/dist/cjs/editor/editor-error-boundary.d.ts.map +1 -0
- package/dist/cjs/editor/editor-error-boundary.js +9 -0
- package/dist/cjs/editor/style.d.ts +12 -0
- package/dist/cjs/editor/style.d.ts.map +1 -0
- package/dist/cjs/editor/style.js +24 -0
- package/dist/cjs/editor/suggestions-dropdown.d.ts +25 -0
- package/dist/cjs/editor/suggestions-dropdown.d.ts.map +1 -0
- package/dist/cjs/editor/suggestions-dropdown.js +120 -0
- package/dist/cjs/editor-pm/constants.d.ts +2 -0
- package/dist/cjs/editor-pm/constants.d.ts.map +1 -0
- package/dist/cjs/editor-pm/constants.js +2 -0
- package/dist/cjs/editor-pm/decoration-plugin.d.ts +15 -0
- package/dist/cjs/editor-pm/decoration-plugin.d.ts.map +1 -0
- package/dist/cjs/editor-pm/decoration-plugin.js +38 -0
- package/dist/cjs/editor-pm/helpers.d.ts +197 -0
- package/dist/cjs/editor-pm/helpers.d.ts.map +1 -0
- package/dist/cjs/editor-pm/helpers.js +1170 -0
- package/dist/cjs/editor-pm/index.d.ts +10 -0
- package/dist/cjs/editor-pm/index.d.ts.map +1 -0
- package/dist/cjs/editor-pm/index.js +9 -0
- package/dist/cjs/editor-pm/mention-nodeview.d.ts +31 -0
- package/dist/cjs/editor-pm/mention-nodeview.d.ts.map +1 -0
- package/dist/cjs/editor-pm/mention-nodeview.js +105 -0
- package/dist/cjs/editor-pm/mentions-dropdown.d.ts +13 -0
- package/dist/cjs/editor-pm/mentions-dropdown.d.ts.map +1 -0
- package/dist/cjs/editor-pm/mentions-dropdown.js +19 -0
- package/dist/cjs/editor-pm/mentions-plugin.d.ts +18 -0
- package/dist/cjs/editor-pm/mentions-plugin.d.ts.map +1 -0
- package/dist/cjs/editor-pm/mentions-plugin.js +72 -0
- package/dist/cjs/editor-pm/placeholder-plugin.d.ts +4 -0
- package/dist/cjs/editor-pm/placeholder-plugin.d.ts.map +1 -0
- package/dist/cjs/editor-pm/placeholder-plugin.js +20 -0
- package/dist/cjs/editor-pm/prosemirror-editor.d.ts +493 -0
- package/dist/cjs/editor-pm/prosemirror-editor.d.ts.map +1 -0
- package/dist/cjs/editor-pm/prosemirror-editor.js +1145 -0
- package/dist/cjs/editor-pm/schema.d.ts +3 -0
- package/dist/cjs/editor-pm/schema.d.ts.map +1 -0
- package/dist/cjs/editor-pm/schema.js +183 -0
- package/dist/cjs/editor-pm/types.d.ts +8 -0
- package/dist/cjs/editor-pm/types.d.ts.map +1 -0
- package/dist/cjs/editor-pm/types.js +1 -0
- package/dist/cjs/editor-pm/unfocused-selection-plugin.d.ts +25 -0
- package/dist/cjs/editor-pm/unfocused-selection-plugin.d.ts.map +1 -0
- package/dist/cjs/editor-pm/unfocused-selection-plugin.js +61 -0
- package/dist/cjs/editor-pm/use-dropdown-change-pm.d.ts +24 -0
- package/dist/cjs/editor-pm/use-dropdown-change-pm.d.ts.map +1 -0
- package/dist/cjs/editor-pm/use-dropdown-change-pm.js +140 -0
- package/dist/cjs/editor-pm/use-editor-change-pm.d.ts +29 -0
- package/dist/cjs/editor-pm/use-editor-change-pm.d.ts.map +1 -0
- package/dist/cjs/editor-pm/use-editor-change-pm.js +154 -0
- package/dist/cjs/editor-pm/use-editor-decorator-pm.d.ts +17 -0
- package/dist/cjs/editor-pm/use-editor-decorator-pm.d.ts.map +1 -0
- package/dist/cjs/editor-pm/use-editor-decorator-pm.js +59 -0
- package/dist/cjs/editor-pm/use-editor-keydown-pm.d.ts +21 -0
- package/dist/cjs/editor-pm/use-editor-keydown-pm.d.ts.map +1 -0
- package/dist/cjs/editor-pm/use-editor-keydown-pm.js +81 -0
- package/dist/cjs/editor-pm/use-mention-keydown.d.ts +11 -0
- package/dist/cjs/editor-pm/use-mention-keydown.d.ts.map +1 -0
- package/dist/cjs/editor-pm/use-mention-keydown.js +59 -0
- package/dist/cjs/editor-pm/use-parameter-suggestions.d.ts +19 -0
- package/dist/cjs/editor-pm/use-parameter-suggestions.d.ts.map +1 -0
- package/dist/cjs/editor-pm/use-parameter-suggestions.js +79 -0
- package/dist/cjs/editor-pm/use-parameter-suggestions.test.d.ts +2 -0
- package/dist/cjs/editor-pm/use-parameter-suggestions.test.d.ts.map +1 -0
- package/dist/cjs/editor-pm/use-parameter-suggestions.test.js +122 -0
- package/dist/cjs/eye-dropper/index.d.ts +10 -0
- package/dist/cjs/eye-dropper/index.d.ts.map +1 -0
- package/dist/cjs/eye-dropper/index.js +24 -0
- package/dist/cjs/function-info/helpers.d.ts +10 -0
- package/dist/cjs/function-info/helpers.d.ts.map +1 -0
- package/dist/cjs/function-info/helpers.js +20 -0
- package/dist/cjs/function-info/index.d.ts +11 -0
- package/dist/cjs/function-info/index.d.ts.map +1 -0
- package/dist/cjs/function-info/index.js +71 -0
- package/dist/cjs/function-info/style.d.ts +7 -0
- package/dist/cjs/function-info/style.d.ts.map +1 -0
- package/dist/cjs/function-info/style.js +13 -0
- package/dist/cjs/hex-color-picker/index.d.ts +8 -0
- package/dist/cjs/hex-color-picker/index.d.ts.map +1 -0
- package/dist/cjs/hex-color-picker/index.js +47 -0
- package/dist/cjs/hooks/use-cycle-reference.d.ts +16 -0
- package/dist/cjs/hooks/use-cycle-reference.d.ts.map +1 -0
- package/dist/cjs/hooks/use-cycle-reference.js +72 -0
- package/dist/cjs/hooks/use-dropdown-categories.d.ts +9 -0
- package/dist/cjs/hooks/use-dropdown-categories.d.ts.map +1 -0
- package/dist/cjs/hooks/use-dropdown-categories.js +45 -0
- package/dist/cjs/hooks/use-dropdown.d.ts +38 -0
- package/dist/cjs/hooks/use-dropdown.d.ts.map +1 -0
- package/dist/cjs/hooks/use-dropdown.js +236 -0
- package/dist/cjs/hooks/use-isomorphic-layout-effect.ts.d.ts +6 -0
- package/dist/cjs/hooks/use-isomorphic-layout-effect.ts.d.ts.map +1 -0
- package/dist/cjs/hooks/use-isomorphic-layout-effect.ts.js +8 -0
- package/dist/cjs/hooks/use-modal.d.ts +28 -0
- package/dist/cjs/hooks/use-modal.d.ts.map +1 -0
- package/dist/cjs/hooks/use-modal.js +101 -0
- package/dist/cjs/hooks/use-visibility.d.ts +2 -0
- package/dist/cjs/hooks/use-visibility.d.ts.map +1 -0
- package/dist/cjs/hooks/use-visibility.js +12 -0
- package/dist/cjs/icon-button/index.d.ts +15 -0
- package/dist/cjs/icon-button/index.d.ts.map +1 -0
- package/dist/cjs/icon-button/index.js +34 -0
- package/dist/cjs/index.d.ts +34 -0
- package/dist/cjs/index.d.ts.map +1 -0
- package/dist/cjs/index.js +33 -0
- package/dist/cjs/input/index.d.ts +9 -0
- package/dist/cjs/input/index.d.ts.map +1 -0
- package/dist/cjs/input/index.js +9 -0
- package/dist/cjs/popover/index.d.ts +13 -0
- package/dist/cjs/popover/index.d.ts.map +1 -0
- package/dist/cjs/popover/index.js +29 -0
- package/dist/cjs/progress/index.d.ts +10 -0
- package/dist/cjs/progress/index.d.ts.map +1 -0
- package/dist/cjs/progress/index.js +15 -0
- package/dist/cjs/select/index.d.ts +14 -0
- package/dist/cjs/select/index.d.ts.map +1 -0
- package/dist/cjs/select/index.js +46 -0
- package/dist/cjs/separator/index.d.ts +5 -0
- package/dist/cjs/separator/index.d.ts.map +1 -0
- package/dist/cjs/separator/index.js +10 -0
- package/dist/cjs/skeleton/index.d.ts +7 -0
- package/dist/cjs/skeleton/index.d.ts.map +1 -0
- package/dist/cjs/skeleton/index.js +11 -0
- package/dist/cjs/stack/index.d.ts +11 -0
- package/dist/cjs/stack/index.d.ts.map +1 -0
- package/dist/cjs/stack/index.js +22 -0
- package/dist/cjs/tabs/index.d.ts +8 -0
- package/dist/cjs/tabs/index.d.ts.map +1 -0
- package/dist/cjs/tabs/index.js +21 -0
- package/dist/cjs/tooltip/index.d.ts +12 -0
- package/dist/cjs/tooltip/index.d.ts.map +1 -0
- package/dist/cjs/tooltip/index.js +20 -0
- package/dist/cjs/tsconfig.cjs.tsbuildinfo +1 -0
- package/dist/cjs/utils.d.ts +3 -0
- package/dist/cjs/utils.d.ts.map +1 -0
- package/dist/cjs/utils.js +9 -0
- package/dist/cjs/vitest.config.d.ts +3 -0
- package/dist/cjs/vitest.config.d.ts.map +1 -0
- package/dist/cjs/vitest.config.js +21 -0
- package/dist/esm/arrow/index.d.ts +17 -0
- package/dist/esm/arrow/index.d.ts.map +1 -0
- package/dist/esm/arrow/index.js +45 -0
- package/dist/esm/button/index.d.ts +14 -0
- package/dist/esm/button/index.d.ts.map +1 -0
- package/dist/esm/button/index.js +44 -0
- package/dist/esm/calendar/index.d.ts +5 -0
- package/dist/esm/calendar/index.d.ts.map +1 -0
- package/dist/esm/calendar/index.js +34 -0
- package/dist/esm/card/index.d.ts +10 -0
- package/dist/esm/card/index.d.ts.map +1 -0
- package/dist/esm/card/index.js +24 -0
- package/dist/esm/cell-tooltip/index.d.ts +17 -0
- package/dist/esm/cell-tooltip/index.d.ts.map +1 -0
- package/dist/esm/cell-tooltip/index.js +31 -0
- package/dist/esm/circular-loader/index.d.ts +9 -0
- package/dist/esm/circular-loader/index.d.ts.map +1 -0
- package/dist/esm/circular-loader/index.js +7 -0
- package/dist/esm/color-picker/index.d.ts +12 -0
- package/dist/esm/color-picker/index.d.ts.map +1 -0
- package/dist/esm/color-picker/index.js +99 -0
- package/dist/esm/color-picker/style.d.ts +5 -0
- package/dist/esm/color-picker/style.d.ts.map +1 -0
- package/dist/esm/color-picker/style.js +7 -0
- package/dist/esm/command/index.d.ts +74 -0
- package/dist/esm/command/index.d.ts.map +1 -0
- package/dist/esm/command/index.js +18 -0
- package/dist/esm/conditional-wrapper/index.d.ts +9 -0
- package/dist/esm/conditional-wrapper/index.d.ts.map +1 -0
- package/dist/esm/conditional-wrapper/index.js +1 -0
- package/dist/esm/dialog/index.d.ts +17 -0
- package/dist/esm/dialog/index.d.ts.map +1 -0
- package/dist/esm/dialog/index.js +30 -0
- package/dist/esm/dropdown/index.d.ts +34 -0
- package/dist/esm/dropdown/index.d.ts.map +1 -0
- package/dist/esm/dropdown/index.js +42 -0
- package/dist/esm/editor/constants.d.ts +7 -0
- package/dist/esm/editor/constants.d.ts.map +1 -0
- package/dist/esm/editor/constants.js +51 -0
- package/dist/esm/editor/editor-error-boundary.d.ts +3 -0
- package/dist/esm/editor/editor-error-boundary.d.ts.map +1 -0
- package/dist/esm/editor/editor-error-boundary.js +9 -0
- package/dist/esm/editor/style.d.ts +12 -0
- package/dist/esm/editor/style.d.ts.map +1 -0
- package/dist/esm/editor/style.js +17 -0
- package/dist/esm/editor/suggestions-dropdown.d.ts +25 -0
- package/dist/esm/editor/suggestions-dropdown.d.ts.map +1 -0
- package/dist/esm/editor/suggestions-dropdown.js +115 -0
- package/dist/esm/editor-pm/constants.d.ts +2 -0
- package/dist/esm/editor-pm/constants.d.ts.map +1 -0
- package/dist/esm/editor-pm/constants.js +2 -0
- package/dist/esm/editor-pm/decoration-plugin.d.ts +15 -0
- package/dist/esm/editor-pm/decoration-plugin.d.ts.map +1 -0
- package/dist/esm/editor-pm/decoration-plugin.js +38 -0
- package/dist/esm/editor-pm/helpers.d.ts +197 -0
- package/dist/esm/editor-pm/helpers.d.ts.map +1 -0
- package/dist/esm/editor-pm/helpers.js +1113 -0
- package/dist/esm/editor-pm/index.d.ts +10 -0
- package/dist/esm/editor-pm/index.d.ts.map +1 -0
- package/dist/esm/editor-pm/index.js +9 -0
- package/dist/esm/editor-pm/mention-nodeview.d.ts +31 -0
- package/dist/esm/editor-pm/mention-nodeview.d.ts.map +1 -0
- package/dist/esm/editor-pm/mention-nodeview.js +88 -0
- package/dist/esm/editor-pm/mentions-dropdown.d.ts +13 -0
- package/dist/esm/editor-pm/mentions-dropdown.d.ts.map +1 -0
- package/dist/esm/editor-pm/mentions-dropdown.js +17 -0
- package/dist/esm/editor-pm/mentions-plugin.d.ts +18 -0
- package/dist/esm/editor-pm/mentions-plugin.d.ts.map +1 -0
- package/dist/esm/editor-pm/mentions-plugin.js +92 -0
- package/dist/esm/editor-pm/placeholder-plugin.d.ts +4 -0
- package/dist/esm/editor-pm/placeholder-plugin.d.ts.map +1 -0
- package/dist/esm/editor-pm/placeholder-plugin.js +20 -0
- package/dist/esm/editor-pm/prosemirror-editor.d.ts +493 -0
- package/dist/esm/editor-pm/prosemirror-editor.d.ts.map +1 -0
- package/dist/esm/editor-pm/prosemirror-editor.js +1135 -0
- package/dist/esm/editor-pm/schema.d.ts +3 -0
- package/dist/esm/editor-pm/schema.d.ts.map +1 -0
- package/dist/esm/editor-pm/schema.js +179 -0
- package/dist/esm/editor-pm/types.d.ts +8 -0
- package/dist/esm/editor-pm/types.d.ts.map +1 -0
- package/dist/esm/editor-pm/types.js +1 -0
- package/dist/esm/editor-pm/unfocused-selection-plugin.d.ts +25 -0
- package/dist/esm/editor-pm/unfocused-selection-plugin.d.ts.map +1 -0
- package/dist/esm/editor-pm/unfocused-selection-plugin.js +61 -0
- package/dist/esm/editor-pm/use-dropdown-change-pm.d.ts +24 -0
- package/dist/esm/editor-pm/use-dropdown-change-pm.d.ts.map +1 -0
- package/dist/esm/editor-pm/use-dropdown-change-pm.js +137 -0
- package/dist/esm/editor-pm/use-editor-change-pm.d.ts +29 -0
- package/dist/esm/editor-pm/use-editor-change-pm.d.ts.map +1 -0
- package/dist/esm/editor-pm/use-editor-change-pm.js +152 -0
- package/dist/esm/editor-pm/use-editor-decorator-pm.d.ts +17 -0
- package/dist/esm/editor-pm/use-editor-decorator-pm.d.ts.map +1 -0
- package/dist/esm/editor-pm/use-editor-decorator-pm.js +57 -0
- package/dist/esm/editor-pm/use-editor-keydown-pm.d.ts +21 -0
- package/dist/esm/editor-pm/use-editor-keydown-pm.d.ts.map +1 -0
- package/dist/esm/editor-pm/use-editor-keydown-pm.js +79 -0
- package/dist/esm/editor-pm/use-mention-keydown.d.ts +11 -0
- package/dist/esm/editor-pm/use-mention-keydown.d.ts.map +1 -0
- package/dist/esm/editor-pm/use-mention-keydown.js +57 -0
- package/dist/esm/editor-pm/use-parameter-suggestions.d.ts +19 -0
- package/dist/esm/editor-pm/use-parameter-suggestions.d.ts.map +1 -0
- package/dist/esm/editor-pm/use-parameter-suggestions.js +66 -0
- package/dist/esm/editor-pm/use-parameter-suggestions.test.d.ts +2 -0
- package/dist/esm/editor-pm/use-parameter-suggestions.test.d.ts.map +1 -0
- package/dist/esm/editor-pm/use-parameter-suggestions.test.js +66 -0
- package/dist/esm/eye-dropper/index.d.ts +10 -0
- package/dist/esm/eye-dropper/index.d.ts.map +1 -0
- package/dist/esm/eye-dropper/index.js +23 -0
- package/dist/esm/function-info/helpers.d.ts +10 -0
- package/dist/esm/function-info/helpers.d.ts.map +1 -0
- package/dist/esm/function-info/helpers.js +20 -0
- package/dist/esm/function-info/index.d.ts +11 -0
- package/dist/esm/function-info/index.d.ts.map +1 -0
- package/dist/esm/function-info/index.js +68 -0
- package/dist/esm/function-info/style.d.ts +7 -0
- package/dist/esm/function-info/style.d.ts.map +1 -0
- package/dist/esm/function-info/style.js +10 -0
- package/dist/esm/hex-color-picker/index.d.ts +8 -0
- package/dist/esm/hex-color-picker/index.d.ts.map +1 -0
- package/dist/esm/hex-color-picker/index.js +44 -0
- package/dist/esm/hooks/use-cycle-reference.d.ts +16 -0
- package/dist/esm/hooks/use-cycle-reference.d.ts.map +1 -0
- package/dist/esm/hooks/use-cycle-reference.js +70 -0
- package/dist/esm/hooks/use-dropdown-categories.d.ts +9 -0
- package/dist/esm/hooks/use-dropdown-categories.d.ts.map +1 -0
- package/dist/esm/hooks/use-dropdown-categories.js +38 -0
- package/dist/esm/hooks/use-dropdown.d.ts +38 -0
- package/dist/esm/hooks/use-dropdown.d.ts.map +1 -0
- package/dist/esm/hooks/use-dropdown.js +236 -0
- package/dist/esm/hooks/use-isomorphic-layout-effect.ts.d.ts +6 -0
- package/dist/esm/hooks/use-isomorphic-layout-effect.ts.d.ts.map +1 -0
- package/dist/esm/hooks/use-isomorphic-layout-effect.ts.js +8 -0
- package/dist/esm/hooks/use-modal.d.ts +28 -0
- package/dist/esm/hooks/use-modal.d.ts.map +1 -0
- package/dist/esm/hooks/use-modal.js +93 -0
- package/dist/esm/hooks/use-visibility.d.ts +2 -0
- package/dist/esm/hooks/use-visibility.d.ts.map +1 -0
- package/dist/esm/hooks/use-visibility.js +12 -0
- package/dist/esm/icon-button/index.d.ts +15 -0
- package/dist/esm/icon-button/index.d.ts.map +1 -0
- package/dist/esm/icon-button/index.js +32 -0
- package/dist/esm/index.d.ts +34 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +33 -0
- package/dist/esm/input/index.d.ts +9 -0
- package/dist/esm/input/index.d.ts.map +1 -0
- package/dist/esm/input/index.js +7 -0
- package/dist/esm/popover/index.d.ts +13 -0
- package/dist/esm/popover/index.d.ts.map +1 -0
- package/dist/esm/popover/index.js +22 -0
- package/dist/esm/progress/index.d.ts +10 -0
- package/dist/esm/progress/index.d.ts.map +1 -0
- package/dist/esm/progress/index.js +12 -0
- package/dist/esm/select/index.d.ts +14 -0
- package/dist/esm/select/index.d.ts.map +1 -0
- package/dist/esm/select/index.js +30 -0
- package/dist/esm/separator/index.d.ts +5 -0
- package/dist/esm/separator/index.d.ts.map +1 -0
- package/dist/esm/separator/index.js +6 -0
- package/dist/esm/skeleton/index.d.ts +7 -0
- package/dist/esm/skeleton/index.d.ts.map +1 -0
- package/dist/esm/skeleton/index.js +9 -0
- package/dist/esm/stack/index.d.ts +11 -0
- package/dist/esm/stack/index.d.ts.map +1 -0
- package/dist/esm/stack/index.js +20 -0
- package/dist/esm/tabs/index.d.ts +8 -0
- package/dist/esm/tabs/index.d.ts.map +1 -0
- package/dist/esm/tabs/index.js +11 -0
- package/dist/esm/tooltip/index.d.ts +12 -0
- package/dist/esm/tooltip/index.d.ts.map +1 -0
- package/dist/esm/tooltip/index.js +13 -0
- package/dist/esm/tsconfig.esm.tsbuildinfo +1 -0
- package/dist/esm/utils.d.ts +3 -0
- package/dist/esm/utils.d.ts.map +1 -0
- package/dist/esm/utils.js +5 -0
- package/dist/esm/vitest.config.d.ts +3 -0
- package/dist/esm/vitest.config.d.ts.map +1 -0
- package/dist/esm/vitest.config.js +21 -0
- package/package.json +78 -0
package/LICENSE.md
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
# Rows n' Columns Commercial License Agreement
|
|
2
|
+
|
|
3
|
+
This Rows n' Columns Commercial License Agreement (the "Agreement") governs
|
|
4
|
+
the use of the Rows n' Columns software packages published under the
|
|
5
|
+
`@rowsncolumns` npm scope, including associated JavaScript, WebAssembly
|
|
6
|
+
binaries, stylesheets, type definitions and documentation (the "Software").
|
|
7
|
+
|
|
8
|
+
The Software is **not** open source. Downloading or installing the Software
|
|
9
|
+
from a public package registry does not grant any right to use it beyond the
|
|
10
|
+
evaluation use described below.
|
|
11
|
+
|
|
12
|
+
## 1. Definitions
|
|
13
|
+
|
|
14
|
+
- **"Licensor"** means Rows n' Columns (rowsncolumns.app).
|
|
15
|
+
- **"Licensee"** means the individual or legal entity identified in an Order.
|
|
16
|
+
- **"Order"** means a purchase of a license for the Software from Licensor,
|
|
17
|
+
identified by an order ID and associated with a License Key.
|
|
18
|
+
- **"License Key"** means the signed key issued by Licensor that identifies
|
|
19
|
+
the Licensee, license tier, and Update Window.
|
|
20
|
+
- **"Update Window"** means the period stated in the Order during which
|
|
21
|
+
Software versions released by Licensor are covered by the License Key.
|
|
22
|
+
|
|
23
|
+
## 2. License Grant
|
|
24
|
+
|
|
25
|
+
Subject to payment of the applicable fees and compliance with this Agreement,
|
|
26
|
+
Licensor grants Licensee a non-exclusive, non-transferable, worldwide license
|
|
27
|
+
to use, and to distribute in compiled form as an embedded component of
|
|
28
|
+
Licensee's own applications, any version of the Software released during the
|
|
29
|
+
Update Window, in accordance with the license tier stated in the Order.
|
|
30
|
+
|
|
31
|
+
This grant is perpetual for versions released during the Update Window:
|
|
32
|
+
Licensee may continue to use those versions after the Update Window ends.
|
|
33
|
+
Versions released after the Update Window ends require a new or renewed
|
|
34
|
+
Order.
|
|
35
|
+
|
|
36
|
+
## 3. Evaluation Use
|
|
37
|
+
|
|
38
|
+
The Software may be used without a License Key solely for internal
|
|
39
|
+
evaluation and development purposes. Evaluation use in production, or
|
|
40
|
+
removal or suppression of evaluation notices, is not permitted.
|
|
41
|
+
|
|
42
|
+
## 4. Restrictions
|
|
43
|
+
|
|
44
|
+
Except as expressly permitted by this Agreement or by applicable law that
|
|
45
|
+
cannot be contractually waived, Licensee shall not:
|
|
46
|
+
|
|
47
|
+
1. redistribute, resell, sublicense, or otherwise make the Software
|
|
48
|
+
available as a standalone product, library, or development component;
|
|
49
|
+
2. use the Software to build a product that competes with the Software;
|
|
50
|
+
3. remove, alter, or circumvent License Key validation, evaluation notices,
|
|
51
|
+
watermarks, or copyright notices in the Software;
|
|
52
|
+
4. share License Keys with any third party, or use a License Key outside
|
|
53
|
+
the scope of the tier stated in the Order;
|
|
54
|
+
5. reverse engineer, decompile, or disassemble the Software except to the
|
|
55
|
+
extent permitted by applicable law.
|
|
56
|
+
|
|
57
|
+
## 5. Ownership
|
|
58
|
+
|
|
59
|
+
The Software is licensed, not sold. Licensor and its licensors retain all
|
|
60
|
+
right, title, and interest in and to the Software, including all
|
|
61
|
+
intellectual property rights.
|
|
62
|
+
|
|
63
|
+
## 6. Third-Party Components
|
|
64
|
+
|
|
65
|
+
The Software may include third-party open-source components. Those
|
|
66
|
+
components remain governed by their own license terms, which are included
|
|
67
|
+
with the applicable component and are not limited by this Agreement.
|
|
68
|
+
|
|
69
|
+
## 7. Termination
|
|
70
|
+
|
|
71
|
+
This Agreement terminates automatically upon material breach by Licensee
|
|
72
|
+
that remains uncured 30 days after written notice. Upon termination,
|
|
73
|
+
Licensee must cease use and distribution of the Software, except that
|
|
74
|
+
end-user copies of Licensee applications already distributed in compliance
|
|
75
|
+
with this Agreement are unaffected.
|
|
76
|
+
|
|
77
|
+
## 8. Warranty Disclaimer
|
|
78
|
+
|
|
79
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
80
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
81
|
+
FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
|
|
82
|
+
|
|
83
|
+
## 9. Limitation of Liability
|
|
84
|
+
|
|
85
|
+
TO THE MAXIMUM EXTENT PERMITTED BY LAW, IN NO EVENT SHALL LICENSOR BE LIABLE
|
|
86
|
+
FOR ANY INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL, OR PUNITIVE DAMAGES,
|
|
87
|
+
OR ANY LOSS OF PROFITS, DATA, OR GOODWILL, ARISING OUT OF OR RELATED TO THIS
|
|
88
|
+
AGREEMENT, AND LICENSOR'S AGGREGATE LIABILITY SHALL NOT EXCEED THE FEES PAID
|
|
89
|
+
BY LICENSEE IN THE TWELVE MONTHS PRECEDING THE CLAIM.
|
|
90
|
+
|
|
91
|
+
## 10. General
|
|
92
|
+
|
|
93
|
+
This Agreement constitutes the entire agreement between the parties
|
|
94
|
+
concerning the Software and supersedes any prior agreements. If any
|
|
95
|
+
provision is held unenforceable, the remainder remains in effect. Failure to
|
|
96
|
+
enforce a provision is not a waiver.
|
|
97
|
+
|
|
98
|
+
For licensing inquiries, visit <https://www.rowsncolumns.app/pricing>.
|
|
99
|
+
|
|
100
|
+
Copyright © Rows n' Columns. All rights reserved.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface ArrowProps {
|
|
3
|
+
x1: number;
|
|
4
|
+
y1: number;
|
|
5
|
+
x2: number;
|
|
6
|
+
y2: number;
|
|
7
|
+
color?: string;
|
|
8
|
+
strokeWidth?: number;
|
|
9
|
+
circleRadius?: number;
|
|
10
|
+
showCircle?: boolean;
|
|
11
|
+
showTableIcon?: boolean;
|
|
12
|
+
tableIconSize?: number;
|
|
13
|
+
onStartClick?: () => void;
|
|
14
|
+
}
|
|
15
|
+
export declare const Arrow: ({ x1, y1, x2, y2, color, strokeWidth, circleRadius, showCircle, showTableIcon, tableIconSize, onStartClick, }: ArrowProps) => React.JSX.Element;
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../arrow/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,UAAU,UAAU;IAClB,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC3B;AAED,eAAO,MAAM,KAAK,GAAI,+GAYnB,UAAU,sBAiIZ,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export var Arrow = function (_a) {
|
|
3
|
+
var x1 = _a.x1, y1 = _a.y1, x2 = _a.x2, y2 = _a.y2, _b = _a.color, color = _b === void 0 ? "#4169E1" : _b, _c = _a.strokeWidth, strokeWidth = _c === void 0 ? 1 : _c, _d = _a.circleRadius, circleRadius = _d === void 0 ? 4 : _d, _e = _a.showCircle, showCircle = _e === void 0 ? true : _e, _f = _a.showTableIcon, showTableIcon = _f === void 0 ? true : _f, _g = _a.tableIconSize, tableIconSize = _g === void 0 ? 16 : _g, onStartClick = _a.onStartClick;
|
|
4
|
+
// Calculate the bounding box for the SVG
|
|
5
|
+
var minX = Math.min(x1, x2);
|
|
6
|
+
var minY = Math.min(y1, y2);
|
|
7
|
+
var maxX = Math.max(x1, x2);
|
|
8
|
+
var maxY = Math.max(y1, y2);
|
|
9
|
+
// Add padding for the arrow head, circle, and table icon
|
|
10
|
+
var padding = 30;
|
|
11
|
+
var width = maxX - minX + padding * 2;
|
|
12
|
+
var height = maxY - minY + padding * 2;
|
|
13
|
+
// Adjust coordinates relative to SVG viewBox
|
|
14
|
+
var adjustedX1 = x1 - minX + padding;
|
|
15
|
+
var adjustedY1 = y1 - minY + padding;
|
|
16
|
+
var adjustedX2 = x2 - minX + padding;
|
|
17
|
+
var adjustedY2 = y2 - minY + padding;
|
|
18
|
+
// Generate unique ID for this arrow instance
|
|
19
|
+
var arrowId = "arrow-".concat(Math.random().toString(36).substr(2, 9));
|
|
20
|
+
// Table icon position (to the left of the circle)
|
|
21
|
+
var tableIconX = adjustedX1 - circleRadius - tableIconSize - 4;
|
|
22
|
+
var tableIconY = adjustedY1 - tableIconSize / 2;
|
|
23
|
+
return (React.createElement("svg", { width: width, height: height, style: {
|
|
24
|
+
position: "absolute",
|
|
25
|
+
left: minX - padding,
|
|
26
|
+
top: minY - padding,
|
|
27
|
+
pointerEvents: "none",
|
|
28
|
+
} },
|
|
29
|
+
React.createElement("defs", null,
|
|
30
|
+
React.createElement("marker", { id: arrowId, markerWidth: "10", markerHeight: "10", refX: "9", refY: "3", orient: "auto" },
|
|
31
|
+
React.createElement("polygon", { points: "0 0, 10 3, 0 6", fill: color }))),
|
|
32
|
+
React.createElement("line", { x1: adjustedX1, y1: adjustedY1, x2: adjustedX2, y2: adjustedY2, stroke: color, strokeWidth: strokeWidth, markerEnd: "url(#".concat(arrowId, ")") }),
|
|
33
|
+
showCircle && (React.createElement("circle", { cx: adjustedX1, cy: adjustedY1, r: circleRadius, fill: color, style: {
|
|
34
|
+
pointerEvents: onStartClick ? "auto" : "none",
|
|
35
|
+
cursor: onStartClick ? "pointer" : "default",
|
|
36
|
+
}, onClick: onStartClick })),
|
|
37
|
+
showTableIcon && (React.createElement("g", { transform: "translate(".concat(tableIconX, ", ").concat(tableIconY, ")"), style: {
|
|
38
|
+
pointerEvents: onStartClick ? "auto" : "none",
|
|
39
|
+
cursor: onStartClick ? "pointer" : "default",
|
|
40
|
+
}, onClick: onStartClick },
|
|
41
|
+
React.createElement("rect", { width: tableIconSize, height: tableIconSize, fill: "none", stroke: "#666", strokeWidth: "1.5", rx: "2" }),
|
|
42
|
+
React.createElement("line", { x1: tableIconSize / 3, y1: "0", x2: tableIconSize / 3, y2: tableIconSize, stroke: "#666", strokeWidth: "1.5" }),
|
|
43
|
+
React.createElement("line", { x1: (tableIconSize / 3) * 2, y1: "0", x2: (tableIconSize / 3) * 2, y2: tableIconSize, stroke: "#666", strokeWidth: "1.5" }),
|
|
44
|
+
React.createElement("line", { x1: "0", y1: tableIconSize / 3, x2: tableIconSize, y2: tableIconSize / 3, stroke: "#666", strokeWidth: "1.5" }),
|
|
45
|
+
React.createElement("line", { x1: "0", y1: (tableIconSize / 3) * 2, x2: tableIconSize, y2: (tableIconSize / 3) * 2, stroke: "#666", strokeWidth: "1.5" })))));
|
|
46
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { VariantProps } from "class-variance-authority";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
declare const buttonVariants: (props?: ({
|
|
4
|
+
variant?: "primary" | "secondary" | "ghost" | "unstyled" | "outline" | "link" | "warning" | "success" | null | undefined;
|
|
5
|
+
size?: "default" | "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
6
|
+
isFullWidth?: boolean | null | undefined;
|
|
7
|
+
align?: "center" | null | undefined;
|
|
8
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
9
|
+
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
10
|
+
asChild?: boolean;
|
|
11
|
+
}
|
|
12
|
+
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
13
|
+
export { Button, buttonVariants };
|
|
14
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../button/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE7D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,QAAA,MAAM,cAAc;;;;;mFAyCnB,CAAC;AAEF,MAAM,WAAW,WACf,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EACnD,YAAY,CAAC,OAAO,cAAc,CAAC;IACrC,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,QAAA,MAAM,MAAM,uFAYX,CAAC;AAGF,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { __assign, __rest } from "tslib";
|
|
2
|
+
import { Slot } from "@radix-ui/react-slot";
|
|
3
|
+
import { cva } from "class-variance-authority";
|
|
4
|
+
import * as React from "react";
|
|
5
|
+
import { cn } from "./../utils";
|
|
6
|
+
var buttonVariants = cva("inline-flex items-center border-none bg-transparent font-normal rounded-sm text-xs transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-0 text-rnc-foreground disabled:text-rnc-foreground/40 disabled:pointer-events-none ring-offset-background py-2 px-3 shrink-0 font-system", {
|
|
7
|
+
variants: {
|
|
8
|
+
variant: {
|
|
9
|
+
primary: "bg-rnc-primary text-rnc-primary-foreground disabled:text-rnc-primary-foreground/80 hover:bg-rnc-primary/90",
|
|
10
|
+
secondary: "bg-rnc-secondary text-rnc-secondary-foreground hover:bg-rnc-secondary/80",
|
|
11
|
+
ghost: "hover:bg-rnc-accent hover:text-rnc-accent-foreground",
|
|
12
|
+
unstyled: "",
|
|
13
|
+
outline: "border-solid border border-rnc-border hover:bg-rnc-accent focus:bg-rnc-accent",
|
|
14
|
+
link: "underline underline-offset-2 text-rnc-primary p-0 hover:text-rnc-accent-foreground",
|
|
15
|
+
warning: "bg-rnc-warning text-rnc-warning-foreground hover:bg-rnc-warning/90",
|
|
16
|
+
success: "bg-rnc-success hover:bg-rnc-success/90 text-rnc-warning-foreground",
|
|
17
|
+
},
|
|
18
|
+
size: {
|
|
19
|
+
default: "",
|
|
20
|
+
xs: "text-xs",
|
|
21
|
+
sm: "text-sm",
|
|
22
|
+
md: "text-base",
|
|
23
|
+
lg: "text-lg",
|
|
24
|
+
xl: "text-xl",
|
|
25
|
+
},
|
|
26
|
+
isFullWidth: {
|
|
27
|
+
true: {
|
|
28
|
+
width: "100%",
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
align: {
|
|
32
|
+
center: "justify-center",
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
defaultVariants: {
|
|
36
|
+
variant: "ghost",
|
|
37
|
+
size: "xs",
|
|
38
|
+
},
|
|
39
|
+
});
|
|
40
|
+
var Button = React.forwardRef(function (_a, ref) {
|
|
41
|
+
var className = _a.className, variant = _a.variant, size = _a.size, _b = _a.asChild, asChild = _b === void 0 ? false : _b, props = __rest(_a, ["className", "variant", "size", "asChild"]);
|
|
42
|
+
var Comp = asChild ? Slot : "button";
|
|
43
|
+
return (React.createElement(Comp, __assign({ className: cn(buttonVariants({ variant: variant, size: size, className: className })), ref: ref, type: "button" }, props)));
|
|
44
|
+
});
|
|
45
|
+
Button.displayName = "Button";
|
|
46
|
+
export { Button, buttonVariants };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { DayPicker } from "react-day-picker";
|
|
3
|
+
export type CalendarProps = React.ComponentProps<typeof DayPicker>;
|
|
4
|
+
export declare const Calendar: ({ className, classNames, showOutsideDays, ...props }: CalendarProps) => React.JSX.Element;
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../calendar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAK7C,MAAM,MAAM,aAAa,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,CAAC;AAEnE,eAAO,MAAM,QAAQ,GAAI,sDAKtB,aAAa,sBA8Cf,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { __assign, __rest } from "tslib";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import { DayPicker } from "react-day-picker";
|
|
4
|
+
import { buttonVariants } from "../button";
|
|
5
|
+
import { cn } from "../utils";
|
|
6
|
+
import { TriangleLeftIcon, TriangleRightIcon } from "@rowsncolumns/icons";
|
|
7
|
+
export var Calendar = function (_a) {
|
|
8
|
+
var className = _a.className, classNames = _a.classNames, _b = _a.showOutsideDays, showOutsideDays = _b === void 0 ? true : _b, props = __rest(_a, ["className", "classNames", "showOutsideDays"]);
|
|
9
|
+
return (React.createElement(DayPicker, __assign({ showOutsideDays: showOutsideDays, className: className, classNames: __assign({ months: "flex flex-col sm:flex-row space-y-4 sm:space-x-4 sm:space-y-0", month: "space-y-4", caption: "flex justify-center pt-1 relative items-center font-system", caption_label: "text-sm font-medium font-system", nav: "space-x-1 flex items-center", nav_button: cn(buttonVariants({ variant: "outline", align: "center" }), "h-5 w-5 bg-transparent p-0 opacity-50 hover:opacity-100"), nav_button_previous: "absolute left-1", nav_button_next: "absolute right-1", table: "w-full border-collapse space-y-1", head_row: "flex", head_cell: "text-muted-foreground rounded-md w-7 font-normal font-system text-[0.8rem] text-center", row: "flex w-full mt-2", cell: "h-7 w-7 text-center text-sm p-0 relative [&:has([aria-selected].day-range-end)]:rounded-r-md [&:has([aria-selected].day-outside)]:bg-rnc-accent/50 [&:has([aria-selected])]:bg-rnc-accent first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md focus-within:relative focus-within:z-20", day: cn(buttonVariants({ variant: "ghost", align: "center" }), "h-7 w-7 p-0 font-normal aria-selected:opacity-100"), day_range_end: "day-range-end", day_selected: "!bg-rnc-primary text-rnc-primary-foreground hover:bg-rnc-primary/90 hover:text-rnc-primary-foreground", day_today: "!bg-rnc-accent text-rnc-accent-foreground", day_outside: "day-outside text-rnc-muted-foreground opacity-50 aria-selected:bg-rnc-accent/50 aria-selected:text-rnc-muted-foreground aria-selected:opacity-30", day_disabled: "text-rnc-muted-foreground opacity-50", day_range_middle: "aria-selected:bg-rnc-accent aria-selected:text-rnc-accent-foreground", day_hidden: "invisible" }, classNames), components: {
|
|
10
|
+
IconLeft: function () { return React.createElement(TriangleLeftIcon, { className: "h-4 w-4" }); },
|
|
11
|
+
IconRight: function () { return React.createElement(TriangleRightIcon, { className: "h-4 w-4" }); },
|
|
12
|
+
} }, props)));
|
|
13
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare function Card({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
3
|
+
declare function CardHeader({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
4
|
+
declare function CardTitle({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
5
|
+
declare function CardDescription({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
6
|
+
declare function CardAction({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
7
|
+
declare function CardContent({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
8
|
+
declare function CardFooter({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
9
|
+
export { Card, CardHeader, CardFooter, CardTitle, CardAction, CardDescription, CardContent, };
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../card/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,iBAAS,IAAI,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,qBAWjE;AAED,iBAAS,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,qBAWvE;AAED,iBAAS,SAAS,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,qBAQtE;AAED,iBAAS,eAAe,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,qBAQ5E;AAED,iBAAS,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,qBAWvE;AAED,iBAAS,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,qBAQxE;AAED,iBAAS,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,qBAQvE;AAED,OAAO,EACL,IAAI,EACJ,UAAU,EACV,UAAU,EACV,SAAS,EACT,UAAU,EACV,eAAe,EACf,WAAW,GACZ,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { __assign, __rest } from "tslib";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import { cn } from "../utils";
|
|
4
|
+
function Card(_a) {
|
|
5
|
+
var className = _a.className, props = __rest(_a, ["className"]);
|
|
6
|
+
return (React.createElement("div", __assign({ "data-slot": "card", className: cn("bg-card text-card-foreground flex flex-col gap-3 rounded-xl border border-solid border-rnc-border py-3 shadow-md text-sm", className) }, props)));
|
|
7
|
+
}
|
|
8
|
+
function CardHeader(_a) {
|
|
9
|
+
var className = _a.className, props = __rest(_a, ["className"]);
|
|
10
|
+
return (React.createElement("div", __assign({ "data-slot": "card-header", className: cn("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6", className) }, props)));
|
|
11
|
+
}
|
|
12
|
+
function CardTitle(_a) {
|
|
13
|
+
var className = _a.className, props = __rest(_a, ["className"]);
|
|
14
|
+
return (React.createElement("div", __assign({ "data-slot": "card-title", className: cn("leading-none font-semibold", className) }, props)));
|
|
15
|
+
}
|
|
16
|
+
function CardDescription(_a) {
|
|
17
|
+
var className = _a.className, props = __rest(_a, ["className"]);
|
|
18
|
+
return (React.createElement("div", __assign({ "data-slot": "card-description", className: cn("text-muted-foreground text-sm", className) }, props)));
|
|
19
|
+
}
|
|
20
|
+
function CardAction(_a) {
|
|
21
|
+
var className = _a.className, props = __rest(_a, ["className"]);
|
|
22
|
+
return (React.createElement("div", __assign({ "data-slot": "card-action", className: cn("col-start-2 row-span-2 row-start-1 self-start justify-self-end", className) }, props)));
|
|
23
|
+
}
|
|
24
|
+
function CardContent(_a) {
|
|
25
|
+
var className = _a.className, props = __rest(_a, ["className"]);
|
|
26
|
+
return (React.createElement("div", __assign({ "data-slot": "card-content", className: cn("px-3", className) }, props)));
|
|
27
|
+
}
|
|
28
|
+
function CardFooter(_a) {
|
|
29
|
+
var className = _a.className, props = __rest(_a, ["className"]);
|
|
30
|
+
return (React.createElement("div", __assign({ "data-slot": "card-footer", className: cn("flex items-center px-3 [.border-t]:pt-6", className) }, props)));
|
|
31
|
+
}
|
|
32
|
+
export { Card, CardHeader, CardFooter, CardTitle, CardAction, CardDescription, CardContent, };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { VariantProps } from "class-variance-authority";
|
|
2
|
+
import React from "react";
|
|
3
|
+
declare const cellTooltipVariants: (props?: ({
|
|
4
|
+
variant?: "link" | "none" | "note" | "error" | "invalid" | "custom" | null | undefined;
|
|
5
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
6
|
+
export declare const tooltipTitleVariants: (props?: ({
|
|
7
|
+
variant?: "link" | "none" | "note" | "error" | "invalid" | "custom" | null | undefined;
|
|
8
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
9
|
+
export declare const CellTooltip: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & VariantProps<(props?: ({
|
|
10
|
+
variant?: "link" | "none" | "note" | "error" | "invalid" | "custom" | null | undefined;
|
|
11
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string> & React.RefAttributes<HTMLDivElement>>;
|
|
12
|
+
export declare const CellTooltipTitle: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & VariantProps<(props?: ({
|
|
13
|
+
variant?: "link" | "none" | "note" | "error" | "invalid" | "custom" | null | undefined;
|
|
14
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string> & React.RefAttributes<HTMLDivElement>>;
|
|
15
|
+
export type CellTooltipVariants = VariantProps<typeof cellTooltipVariants>;
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../cell-tooltip/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE7D,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,QAAA,MAAM,mBAAmB;;mFAcxB,CAAC;AAEF,eAAO,MAAM,oBAAoB;;mFAW/B,CAAC;AAEH,eAAO,MAAM,WAAW;;2HAUtB,CAAC;AAIH,eAAO,MAAM,gBAAgB;;2HAU3B,CAAC;AAIH,MAAM,MAAM,mBAAmB,GAAG,YAAY,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { __assign, __rest } from "tslib";
|
|
2
|
+
import { cva } from "class-variance-authority";
|
|
3
|
+
import React from "react";
|
|
4
|
+
import { cn } from "../utils";
|
|
5
|
+
var cellTooltipVariants = cva("absolute left-0 top-0 bg-rnc-background text-rnc-foreground p-2 shadow-md rounded-md text-sm break-words min-w-[160px] max-w-[300px] border-t-0 border-r-0 border-b-0 border-l-4 border-solid flex flex-col", {
|
|
6
|
+
variants: {
|
|
7
|
+
variant: {
|
|
8
|
+
error: "border-l-rnc-destructive",
|
|
9
|
+
invalid: "border-l-rnc-warning",
|
|
10
|
+
link: "border-l-blue-700",
|
|
11
|
+
none: "border-l-none",
|
|
12
|
+
note: "p-0 max-w-none border-l-0",
|
|
13
|
+
custom: "p-0 border-l-0 rounded-none bg-transparent shadow-none",
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
});
|
|
17
|
+
export var tooltipTitleVariants = cva("font-bold font-system", {
|
|
18
|
+
variants: {
|
|
19
|
+
variant: {
|
|
20
|
+
error: "text-rnc-destructive",
|
|
21
|
+
invalid: "text-rnc-warning",
|
|
22
|
+
link: "text-blue-700",
|
|
23
|
+
none: "text-transparent",
|
|
24
|
+
note: "",
|
|
25
|
+
custom: "",
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
});
|
|
29
|
+
export var CellTooltip = React.forwardRef(function (_a, ref) {
|
|
30
|
+
var className = _a.className, variant = _a.variant, props = __rest(_a, ["className", "variant"]);
|
|
31
|
+
return (React.createElement("div", __assign({ ref: ref, className: cn(cellTooltipVariants({ variant: variant }), className) }, props)));
|
|
32
|
+
});
|
|
33
|
+
CellTooltip.displayName = "CellTooltip";
|
|
34
|
+
export var CellTooltipTitle = React.forwardRef(function (_a, ref) {
|
|
35
|
+
var className = _a.className, variant = _a.variant, props = __rest(_a, ["className", "variant"]);
|
|
36
|
+
return (React.createElement("div", __assign({ ref: ref, className: cn(tooltipTitleVariants({ variant: variant }), className) }, props)));
|
|
37
|
+
});
|
|
38
|
+
CellTooltipTitle.displayName = "CellTooltipTitle";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { LoadingIcon } from "@rowsncolumns/icons";
|
|
2
|
+
import React, { ComponentProps } from "react";
|
|
3
|
+
type CircularLoaderProps = ComponentProps<"div"> & {
|
|
4
|
+
label?: React.ReactNode;
|
|
5
|
+
iconProps?: ComponentProps<typeof LoadingIcon>;
|
|
6
|
+
};
|
|
7
|
+
export declare const CircularLoader: React.ForwardRefExoticComponent<Omit<CircularLoaderProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../circular-loader/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI9C,KAAK,mBAAmB,GAAG,cAAc,CAAC,KAAK,CAAC,GAAG;IACjD,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,SAAS,CAAC,EAAE,cAAc,CAAC,OAAO,WAAW,CAAC,CAAC;CAChD,CAAC;AAEF,eAAO,MAAM,cAAc,yGAmBzB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { __assign, __rest } from "tslib";
|
|
2
|
+
import { LoadingIcon } from "@rowsncolumns/icons";
|
|
3
|
+
import React from "react";
|
|
4
|
+
import { cn } from "../utils";
|
|
5
|
+
export var CircularLoader = React.forwardRef(function (_a, ref) {
|
|
6
|
+
var className = _a.className, label = _a.label, iconProps = _a.iconProps, props = __rest(_a, ["className", "label", "iconProps"]);
|
|
7
|
+
return (React.createElement("div", __assign({ ref: ref, className: cn("flex flex-1 gap-2 text-sm font-system bg-rnc-background text-rnc-foreground items-center justify-center", className) }, props),
|
|
8
|
+
React.createElement(LoadingIcon, __assign({ size: 30, className: "h-6 w-6 animate-spin" }, iconProps)),
|
|
9
|
+
typeof label === "string" ? (React.createElement("span", { className: "whitespace-pre-line" }, label)) : (label)));
|
|
10
|
+
});
|
|
11
|
+
CircularLoader.displayName = "CircularLoader";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ComponentProps } from "react";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { Stack } from "../stack";
|
|
4
|
+
type ColorPickerProps = {
|
|
5
|
+
colors?: string[];
|
|
6
|
+
value?: string;
|
|
7
|
+
size?: number;
|
|
8
|
+
onChange?: (value: string) => void;
|
|
9
|
+
} & Pick<ComponentProps<typeof Stack>, "className" | "direction">;
|
|
10
|
+
export declare const ColorPicker: ({ colors, value, onChange, size, ...rest }: ColorPickerProps) => React.JSX.Element;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../color-picker/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAsFjC,KAAK,gBAAgB,GAAG;IACtB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,KAAK,CAAC,EAAE,WAAW,GAAG,WAAW,CAAC,CAAC;AAElE,eAAO,MAAM,WAAW,GAAI,4CAMzB,gBAAgB,sBA0BlB,CAAC"}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { __assign, __rest } from "tslib";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { Stack } from "../stack";
|
|
4
|
+
import { StyledColorBox } from "./style";
|
|
5
|
+
var colorSet = [
|
|
6
|
+
"#000000",
|
|
7
|
+
"#434343",
|
|
8
|
+
"#666666",
|
|
9
|
+
"#999999",
|
|
10
|
+
"#b7b7b7",
|
|
11
|
+
"#cccccc",
|
|
12
|
+
"#d9d9d9",
|
|
13
|
+
"#efefef",
|
|
14
|
+
"#f3f3f3",
|
|
15
|
+
"#ffffff",
|
|
16
|
+
"#980000",
|
|
17
|
+
"#ff0000",
|
|
18
|
+
"#ff9900",
|
|
19
|
+
"#ffff00",
|
|
20
|
+
"#00ff00",
|
|
21
|
+
"#00ffff",
|
|
22
|
+
"#4a86e8",
|
|
23
|
+
"#0000ff",
|
|
24
|
+
"#9900ff",
|
|
25
|
+
"#ff00ff",
|
|
26
|
+
"#e6b8af",
|
|
27
|
+
"#f4cccc",
|
|
28
|
+
"#fce5cd",
|
|
29
|
+
"#fff2cc",
|
|
30
|
+
"#d9ead3",
|
|
31
|
+
"#d0e0e3",
|
|
32
|
+
"#c9daf8",
|
|
33
|
+
"#cfe2f3",
|
|
34
|
+
"#d9d2e9",
|
|
35
|
+
"#ead1dc",
|
|
36
|
+
"#dd7e6b",
|
|
37
|
+
"#ea9999",
|
|
38
|
+
"#f9cb9c",
|
|
39
|
+
"#ffe599",
|
|
40
|
+
"#b6d7a8",
|
|
41
|
+
"#a2c4c9",
|
|
42
|
+
"#a4c2f4",
|
|
43
|
+
"#9fc5e8",
|
|
44
|
+
"#b4a7d6",
|
|
45
|
+
"#d5a6bd",
|
|
46
|
+
"#cc4125",
|
|
47
|
+
"#e06666",
|
|
48
|
+
"#f6b26b",
|
|
49
|
+
"#ffd966",
|
|
50
|
+
"#93c47d",
|
|
51
|
+
"#76a5af",
|
|
52
|
+
"#6d9eeb",
|
|
53
|
+
"#6fa8dc",
|
|
54
|
+
"#8e7cc3",
|
|
55
|
+
"#c27ba0",
|
|
56
|
+
"#a61c00",
|
|
57
|
+
"#cc0000",
|
|
58
|
+
"#e69138",
|
|
59
|
+
"#f1c232",
|
|
60
|
+
"#6aa84f",
|
|
61
|
+
"#45818e",
|
|
62
|
+
"#3c78d8",
|
|
63
|
+
"#3d85c6",
|
|
64
|
+
"#674ea7",
|
|
65
|
+
"#a64d79",
|
|
66
|
+
"#85200c",
|
|
67
|
+
"#990000",
|
|
68
|
+
"#b45f06",
|
|
69
|
+
"#bf9000",
|
|
70
|
+
"#38761d",
|
|
71
|
+
"#134f5c",
|
|
72
|
+
"#1155cc",
|
|
73
|
+
"#0b5394",
|
|
74
|
+
"#351c75",
|
|
75
|
+
"#741b47",
|
|
76
|
+
"#5b0f00",
|
|
77
|
+
"#660000",
|
|
78
|
+
"#783f04",
|
|
79
|
+
"#7f6000",
|
|
80
|
+
"#274e13",
|
|
81
|
+
"#0c343d",
|
|
82
|
+
"#1c4587",
|
|
83
|
+
"#073763",
|
|
84
|
+
"#20124d",
|
|
85
|
+
"#4c1130",
|
|
86
|
+
];
|
|
87
|
+
export var ColorPicker = function (_a) {
|
|
88
|
+
var _b = _a.colors, colors = _b === void 0 ? colorSet : _b, value = _a.value, onChange = _a.onChange, _c = _a.size, size = _c === void 0 ? 16 : _c, rest = __rest(_a, ["colors", "value", "onChange", "size"]);
|
|
89
|
+
return (React.createElement(Stack, __assign({ className: "gap-0" }, rest), colors.map(function (color, idx) {
|
|
90
|
+
var canSelect = !!onChange;
|
|
91
|
+
var active = color.toLowerCase() === (value === null || value === void 0 ? void 0 : value.toLowerCase());
|
|
92
|
+
return (React.createElement(StyledColorBox, { key: idx, style: {
|
|
93
|
+
backgroundColor: color,
|
|
94
|
+
width: size,
|
|
95
|
+
height: size,
|
|
96
|
+
boxShadow: active
|
|
97
|
+
? "rgba(0, 0, 0,0.8) 0px 0px 0px 1px inset"
|
|
98
|
+
: undefined,
|
|
99
|
+
}, canSelect: canSelect, type: "button", disabled: !onChange, onClick: function () { return onChange === null || onChange === void 0 ? void 0 : onChange(color); } }));
|
|
100
|
+
})));
|
|
101
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export declare const StyledColorBox: React.ForwardRefExoticComponent<Omit<import("../button").ButtonProps & React.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
3
|
+
canSelect?: boolean;
|
|
4
|
+
} & React.RefAttributes<HTMLButtonElement>>;
|
|
5
|
+
//# sourceMappingURL=style.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../color-picker/style.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,eAAO,MAAM,cAAc;gBAGX,OAAO;2CAcrB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { __assign, __rest } from "tslib";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { Button } from "../button";
|
|
4
|
+
import { cn } from "../utils";
|
|
5
|
+
export var StyledColorBox = React.forwardRef(function (_a, ref) {
|
|
6
|
+
var className = _a.className, canSelect = _a.canSelect, props = __rest(_a, ["className", "canSelect"]);
|
|
7
|
+
return (React.createElement(Button, __assign({ ref: ref, className: cn("w-4 h-4 min-w-0 min-h-0 rounded-none p-0", canSelect
|
|
8
|
+
? "hover:shadow-[rgba(0,0,0,0.8)_0px_0px_0px_1px_inset]"
|
|
9
|
+
: undefined, className) }, props)));
|
|
10
|
+
});
|
|
11
|
+
StyledColorBox.displayName = "StyledColorBox";
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
export declare const Command: React.ForwardRefExoticComponent<Omit<{
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
} & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
5
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
6
|
+
} & {
|
|
7
|
+
asChild?: boolean;
|
|
8
|
+
}, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
9
|
+
label?: string;
|
|
10
|
+
shouldFilter?: boolean;
|
|
11
|
+
filter?: (value: string, search: string, keywords?: string[]) => number;
|
|
12
|
+
defaultValue?: string;
|
|
13
|
+
value?: string;
|
|
14
|
+
onValueChange?: (value: string) => void;
|
|
15
|
+
loop?: boolean;
|
|
16
|
+
disablePointerSelection?: boolean;
|
|
17
|
+
vimBindings?: boolean;
|
|
18
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
19
|
+
export declare const CommandInput: React.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React.InputHTMLAttributes<HTMLInputElement>> & {
|
|
20
|
+
ref?: React.Ref<HTMLInputElement>;
|
|
21
|
+
} & {
|
|
22
|
+
asChild?: boolean;
|
|
23
|
+
}, "asChild" | "key" | keyof React.InputHTMLAttributes<HTMLInputElement>>, "type" | "value" | "onChange"> & {
|
|
24
|
+
value?: string;
|
|
25
|
+
onValueChange?: (search: string) => void;
|
|
26
|
+
} & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
27
|
+
export declare const CommandList: React.ForwardRefExoticComponent<Omit<{
|
|
28
|
+
children?: React.ReactNode;
|
|
29
|
+
} & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
30
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
31
|
+
} & {
|
|
32
|
+
asChild?: boolean;
|
|
33
|
+
}, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
34
|
+
label?: string;
|
|
35
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
36
|
+
export declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
|
|
37
|
+
children?: React.ReactNode;
|
|
38
|
+
} & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
39
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
40
|
+
} & {
|
|
41
|
+
asChild?: boolean;
|
|
42
|
+
}, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
43
|
+
export declare const CommandGroup: React.ForwardRefExoticComponent<Omit<{
|
|
44
|
+
children?: React.ReactNode;
|
|
45
|
+
} & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
46
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
47
|
+
} & {
|
|
48
|
+
asChild?: boolean;
|
|
49
|
+
}, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>>, "value" | "heading"> & {
|
|
50
|
+
heading?: React.ReactNode;
|
|
51
|
+
value?: string;
|
|
52
|
+
forceMount?: boolean;
|
|
53
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
54
|
+
export declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
55
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
56
|
+
} & {
|
|
57
|
+
asChild?: boolean;
|
|
58
|
+
}, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
59
|
+
alwaysRender?: boolean;
|
|
60
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
61
|
+
export declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
|
|
62
|
+
children?: React.ReactNode;
|
|
63
|
+
} & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
64
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
65
|
+
} & {
|
|
66
|
+
asChild?: boolean;
|
|
67
|
+
}, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>>, "disabled" | "value" | "onSelect"> & {
|
|
68
|
+
disabled?: boolean;
|
|
69
|
+
onSelect?: (value: string) => void;
|
|
70
|
+
value?: string;
|
|
71
|
+
keywords?: string[];
|
|
72
|
+
forceMount?: boolean;
|
|
73
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
74
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../command/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;sFAYlB,CAAC;AAGH,eAAO,MAAM,YAAY;;;;;;;0FAcvB,CAAC;AAGH,eAAO,MAAM,WAAW;;;;;;;;sFAStB,CAAC;AAGH,eAAO,MAAM,YAAY;;;;;;uJASvB,CAAC;AAGH,eAAO,MAAM,YAAY;;;;;;;;;;sFAYvB,CAAC;AAGH,eAAO,MAAM,gBAAgB;;;;;;sFAS3B,CAAC;AAGH,eAAO,MAAM,WAAW;;;;;;;;;;;;sFAYtB,CAAC"}
|