@vlrc-fe/components 3.0.3 → 3.0.5
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 +29 -0
- package/README.md +10 -1
- package/bin/registry.mjs +1124 -0
- package/bin/vlrc.mjs +102 -7
- package/dist/ConfirmModal.cjs +268 -1
- package/dist/ConfirmModal.d.ts +5 -21
- package/dist/ConfirmModal.d.ts.map +1 -1
- package/dist/ConfirmModal.js +120 -111
- package/dist/DataTable/DataTable.cjs +203 -1
- package/dist/DataTable/DataTable.js +161 -120
- package/dist/DataTable/components/DataTableColumnHeader.cjs +214 -1
- package/dist/DataTable/components/DataTableColumnHeader.d.ts +3 -3
- package/dist/DataTable/components/DataTableColumnHeader.d.ts.map +1 -1
- package/dist/DataTable/components/DataTableColumnHeader.js +201 -103
- package/dist/DataTable/components/DataTableFacetedFilter.cjs +332 -1
- package/dist/DataTable/components/DataTableFacetedFilter.d.ts +3 -3
- package/dist/DataTable/components/DataTableFacetedFilter.d.ts.map +1 -1
- package/dist/DataTable/components/DataTableFacetedFilter.js +285 -181
- package/dist/DataTable/components/DataTablePagination.cjs +200 -1
- package/dist/DataTable/components/DataTablePagination.js +188 -91
- package/dist/DataTable/components/DataTableRowActions.cjs +172 -1
- package/dist/DataTable/components/DataTableRowActions.js +161 -62
- package/dist/DataTable/components/DataTableTable.cjs +100 -1
- package/dist/DataTable/components/DataTableTable.js +87 -35
- package/dist/DataTable/components/DataTableToolbar.cjs +112 -1
- package/dist/DataTable/components/DataTableToolbar.js +106 -44
- package/dist/DataTable/components/DataTableViewOptions.cjs +113 -1
- package/dist/DataTable/components/DataTableViewOptions.js +105 -44
- package/dist/DataTable/render/createColumns.cjs +84 -1
- package/dist/DataTable/render/createColumns.js +65 -44
- package/dist/DataTable/render/defaults.cjs +38 -1
- package/dist/DataTable/render/defaults.js +18 -13
- package/dist/Dropdown/Dropdown.cjs +255 -1
- package/dist/Dropdown/Dropdown.js +138 -108
- package/dist/Form/Form.cjs +439 -1
- package/dist/Form/Form.js +417 -206
- package/dist/Form/FormDatePicker/FormDatePicker.cjs +84 -1
- package/dist/Form/FormDatePicker/FormDatePicker.js +68 -65
- package/dist/Form/FormDatePicker/MonthPickerPanel.cjs +217 -1
- package/dist/Form/FormDatePicker/MonthPickerPanel.js +194 -101
- package/dist/Form/FormDatePicker/RangeDatePicker.cjs +144 -1
- package/dist/Form/FormDatePicker/RangeDatePicker.js +94 -77
- package/dist/Form/FormDatePicker/SingleDatePicker.cjs +191 -1
- package/dist/Form/FormDatePicker/SingleDatePicker.js +144 -114
- package/dist/Form/FormDatePicker/TimeInput.cjs +172 -1
- package/dist/Form/FormDatePicker/TimeInput.js +162 -79
- package/dist/Form/FormDatePicker/TimePicker.cjs +107 -1
- package/dist/Form/FormDatePicker/TimePicker.js +58 -43
- package/dist/Form/FormDatePicker/YearPickerPanel.cjs +184 -1
- package/dist/Form/FormDatePicker/YearPickerPanel.js +164 -84
- package/dist/Form/FormDatePicker/types.cjs +10 -1
- package/dist/Form/FormDatePicker/types.js +8 -3
- package/dist/Form/FormDatePicker/useFormDatePicker.cjs +70 -1
- package/dist/Form/FormDatePicker/useFormDatePicker.js +58 -31
- package/dist/Form/FormFileUpload/FileUpload.cjs +603 -1
- package/dist/Form/FormFileUpload/FileUpload.js +452 -306
- package/dist/Form/FormFileUpload/index.cjs +175 -1
- package/dist/Form/FormFileUpload/index.js +164 -50
- package/dist/Form/FormMultiSelect/FormMultiSelect.cjs +46 -1
- package/dist/Form/FormMultiSelect/FormMultiSelect.js +42 -22
- package/dist/Form/FormNumberInput/FormNumberInput.cjs +71 -1
- package/dist/Form/FormNumberInput/FormNumberInput.js +60 -58
- package/dist/Form/FormNumberInput/StepperControls.cjs +104 -1
- package/dist/Form/FormNumberInput/StepperControls.js +78 -43
- package/dist/Form/FormNumberInput/useFormNumberInput.cjs +72 -1
- package/dist/Form/FormNumberInput/useFormNumberInput.js +68 -39
- package/dist/Form/FormRadioGroup/FormRadio.cjs +65 -1
- package/dist/Form/FormRadioGroup/FormRadio.js +38 -38
- package/dist/Form/FormRadioGroup/useFormRadio.cjs +38 -1
- package/dist/Form/FormRadioGroup/useFormRadio.js +27 -16
- package/dist/Form/FormSelect/FormSelect.cjs +46 -1
- package/dist/Form/FormSelect/FormSelect.js +40 -26
- package/dist/Form/FormSelect/useFormSelect.cjs +58 -1
- package/dist/Form/FormSelect/useFormSelect.js +52 -43
- package/dist/Icons/Icons.cjs +155 -1
- package/dist/Icons/Icons.js +142 -142
- package/dist/Modal.cjs +131 -1
- package/dist/Modal.d.ts +2 -14
- package/dist/Modal.d.ts.map +1 -1
- package/dist/Modal.js +63 -54
- package/dist/MultiSelect/MultiSelect.cjs +210 -1
- package/dist/MultiSelect/MultiSelect.d.ts.map +1 -1
- package/dist/MultiSelect/MultiSelect.js +126 -117
- package/dist/MultiSelect/renderers.cjs +571 -1
- package/dist/MultiSelect/renderers.js +508 -309
- package/dist/MultiSelect/useMultiSelect.cjs +244 -1
- package/dist/MultiSelect/useMultiSelect.d.ts.map +1 -1
- package/dist/MultiSelect/useMultiSelect.js +208 -127
- package/dist/MultiSelect/utils.cjs +123 -1
- package/dist/MultiSelect/utils.js +79 -51
- package/dist/Select/BaseSelect.cjs +265 -1
- package/dist/Select/BaseSelect.js +165 -126
- package/dist/Select/MultiSelectTags.cjs +129 -1
- package/dist/Select/MultiSelectTags.js +82 -56
- package/dist/Typography/Blockquote.cjs +79 -1
- package/dist/Typography/Blockquote.js +40 -38
- package/dist/Typography/Code.cjs +131 -1
- package/dist/Typography/Code.js +64 -58
- package/dist/Typography/Link.cjs +139 -1
- package/dist/Typography/Link.d.ts +1 -2
- package/dist/Typography/Link.d.ts.map +1 -1
- package/dist/Typography/Link.js +73 -64
- package/dist/Typography/Paragraph.cjs +224 -1
- package/dist/Typography/Paragraph.d.ts +1 -2
- package/dist/Typography/Paragraph.d.ts.map +1 -1
- package/dist/Typography/Paragraph.js +118 -108
- package/dist/Typography/Text.cjs +223 -1
- package/dist/Typography/Text.d.ts +1 -2
- package/dist/Typography/Text.d.ts.map +1 -1
- package/dist/Typography/Text.js +117 -101
- package/dist/Typography/Title.cjs +220 -1
- package/dist/Typography/Title.d.ts +1 -2
- package/dist/Typography/Title.d.ts.map +1 -1
- package/dist/Typography/Title.js +126 -104
- package/dist/Typography/Typography.cjs +17 -1
- package/dist/Typography/Typography.d.ts +8 -4
- package/dist/Typography/Typography.d.ts.map +1 -1
- package/dist/Typography/Typography.js +14 -14
- package/dist/Typography/index.d.ts +1 -4
- package/dist/Typography/index.d.ts.map +1 -1
- package/dist/Typography/index.js +10 -13
- package/dist/Typography/tooltip.cjs +42 -1
- package/dist/Typography/tooltip.js +34 -14
- package/dist/Typography/types.cjs +20 -1
- package/dist/Typography/types.d.ts +4 -0
- package/dist/Typography/types.d.ts.map +1 -1
- package/dist/Typography/types.js +5 -2
- package/dist/Typography/utils.cjs +52 -1
- package/dist/Typography/utils.js +48 -21
- package/dist/Typography/weightStyles.cjs +58 -1
- package/dist/Typography/weightStyles.js +26 -25
- package/dist/_virtual/_rolldown/runtime.cjs +32 -1
- package/dist/_virtual/_rolldown/runtime.js +9 -7
- package/dist/assets/stylex.css +167 -9
- package/dist/astryx.cjs +9 -1
- package/dist/astryx.d.ts +0 -1
- package/dist/astryx.d.ts.map +1 -1
- package/dist/astryx.js +0 -1
- package/dist/index.cjs +779 -1
- package/dist/index.d.ts +2 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +119 -118
- package/dist/layout/Box.cjs +180 -1
- package/dist/layout/Box.d.ts +6 -8
- package/dist/layout/Box.d.ts.map +1 -1
- package/dist/layout/Box.js +116 -50
- package/dist/layout/Center.cjs +40 -1
- package/dist/layout/Center.d.ts +3 -3
- package/dist/layout/Center.d.ts.map +1 -1
- package/dist/layout/Center.js +39 -21
- package/dist/layout/Container.cjs +92 -1
- package/dist/layout/Container.d.ts +6 -8
- package/dist/layout/Container.d.ts.map +1 -1
- package/dist/layout/Container.js +46 -31
- package/dist/layout/Stack.cjs +199 -1
- package/dist/layout/Stack.d.ts +9 -9
- package/dist/layout/Stack.d.ts.map +1 -1
- package/dist/layout/Stack.js +186 -79
- package/dist/layout/index.d.ts +1 -1
- package/dist/layout/index.js +9 -9
- package/dist/lazyLoad.cjs +13 -1
- package/dist/lazyLoad.d.ts.map +1 -1
- package/dist/lazyLoad.js +9 -9
- package/dist/node_modules/.pnpm/@floating-ui_core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.cjs +551 -1
- package/dist/node_modules/.pnpm/@floating-ui_core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.js +440 -234
- package/dist/node_modules/.pnpm/@floating-ui_dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.cjs +546 -1
- package/dist/node_modules/.pnpm/@floating-ui_dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +452 -236
- package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.cjs +330 -1
- package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +272 -164
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.cjs +150 -1
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.cjs +132 -1
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +90 -74
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +92 -67
- package/dist/node_modules/.pnpm/@radix-ui_number@1.1.3/node_modules/@radix-ui/number/dist/index.cjs +11 -1
- package/dist/node_modules/.pnpm/@radix-ui_number@1.1.3/node_modules/@radix-ui/number/dist/index.js +8 -7
- package/dist/node_modules/.pnpm/@radix-ui_primitive@1.1.7/node_modules/@radix-ui/primitive/dist/index.cjs +48 -1
- package/dist/node_modules/.pnpm/@radix-ui_primitive@1.1.7/node_modules/@radix-ui/primitive/dist/index.js +34 -31
- package/dist/node_modules/.pnpm/@radix-ui_react-alert-dialog@1.1.23_@types_react-dom@19.3.0_@types_react@19.3.0__@types_023ac3f94ac95798b92bc4b7f556cbda/node_modules/@radix-ui/react-alert-dialog/dist/index.cjs +145 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-alert-dialog@1.1.23_@types_react-dom@19.3.0_@types_react@19.3.0__@types_023ac3f94ac95798b92bc4b7f556cbda/node_modules/@radix-ui/react-alert-dialog/dist/index.js +111 -73
- package/dist/node_modules/.pnpm/@radix-ui_react-aspect-ratio@1.1.15_@types_react-dom@19.3.0_@types_react@19.3.0__@types_3fe40fa8e2833eaf8803b46e02e4c30f/node_modules/@radix-ui/react-aspect-ratio/dist/index.cjs +38 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-aspect-ratio@1.1.15_@types_react-dom@19.3.0_@types_react@19.3.0__@types_3fe40fa8e2833eaf8803b46e02e4c30f/node_modules/@radix-ui/react-aspect-ratio/dist/index.js +19 -16
- package/dist/node_modules/.pnpm/@radix-ui_react-avatar@1.2.6_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_c3568bdf5c60d38014d320037c857c95/node_modules/@radix-ui/react-avatar/dist/index.cjs +126 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-avatar@1.2.6_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_c3568bdf5c60d38014d320037c857c95/node_modules/@radix-ui/react-avatar/dist/index.js +103 -72
- package/dist/node_modules/.pnpm/@radix-ui_react-collapsible@1.1.20_@types_react-dom@19.3.0_@types_react@19.3.0__@types__75f9b408b6aa016f78c6c390e6f84227/node_modules/@radix-ui/react-collapsible/dist/index.cjs +134 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-collapsible@1.1.20_@types_react-dom@19.3.0_@types_react@19.3.0__@types__75f9b408b6aa016f78c6c390e6f84227/node_modules/@radix-ui/react-collapsible/dist/index.js +113 -79
- package/dist/node_modules/.pnpm/@radix-ui_react-collection@1.1.15_@types_react-dom@19.3.0_@types_react@19.3.0__@types_r_5961dc5beb3cb19a205dfdbd3304cbe5/node_modules/@radix-ui/react-collection/dist/index.cjs +541 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-collection@1.1.15_@types_react-dom@19.3.0_@types_react@19.3.0__@types_r_5961dc5beb3cb19a205dfdbd3304cbe5/node_modules/@radix-ui/react-collection/dist/index.js +459 -331
- package/dist/node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.5_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-compose-refs/dist/index.cjs +39 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.5_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-compose-refs/dist/index.js +26 -22
- package/dist/node_modules/.pnpm/@radix-ui_react-context-menu@2.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types__30d9c1a1570dd32a7a328fd93feebae9/node_modules/@radix-ui/react-context-menu/dist/index.cjs +304 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-context-menu@2.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types__30d9c1a1570dd32a7a328fd93feebae9/node_modules/@radix-ui/react-context-menu/dist/index.js +234 -160
- package/dist/node_modules/.pnpm/@radix-ui_react-context@1.2.2_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-context/dist/index.cjs +108 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-context@1.2.2_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-context/dist/index.js +82 -67
- package/dist/node_modules/.pnpm/@radix-ui_react-direction@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-direction/dist/index.cjs +19 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-direction@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-direction/dist/index.js +12 -10
- package/dist/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@_221317ca07dfdaa6590fc49e548d4242/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs +275 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@_221317ca07dfdaa6590fc49e548d4242/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +228 -127
- package/dist/node_modules/.pnpm/@radix-ui_react-focus-guards@1.1.6_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-focus-guards/dist/index.cjs +53 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-focus-guards@1.1.6_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-focus-guards/dist/index.js +40 -22
- package/dist/node_modules/.pnpm/@radix-ui_react-focus-scope@1.1.16_@types_react-dom@19.3.0_@types_react@19.3.0__@types__3593711fa410ee31279d746c57990974/node_modules/@radix-ui/react-focus-scope/dist/index.cjs +215 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-focus-scope@1.1.16_@types_react-dom@19.3.0_@types_react@19.3.0__@types__3593711fa410ee31279d746c57990974/node_modules/@radix-ui/react-focus-scope/dist/index.js +171 -117
- package/dist/node_modules/.pnpm/@radix-ui_react-hover-card@1.1.23_@types_react-dom@19.3.0_@types_react@19.3.0__@types_r_a8ac333b78a7741970303e37358b886d/node_modules/@radix-ui/react-hover-card/dist/index.cjs +219 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-hover-card@1.1.23_@types_react-dom@19.3.0_@types_react@19.3.0__@types_r_a8ac333b78a7741970303e37358b886d/node_modules/@radix-ui/react-hover-card/dist/index.js +178 -118
- package/dist/node_modules/.pnpm/@radix-ui_react-id@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-id/dist/index.cjs +22 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-id@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-id/dist/index.js +17 -13
- package/dist/node_modules/.pnpm/@radix-ui_react-menu@2.1.24_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@1_bd1746795e703f342b2f4982589d4efb/node_modules/@radix-ui/react-menu/dist/index.cjs +802 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-menu@2.1.24_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@1_bd1746795e703f342b2f4982589d4efb/node_modules/@radix-ui/react-menu/dist/index.js +648 -422
- package/dist/node_modules/.pnpm/@radix-ui_react-menubar@1.1.24_@types_react-dom@19.3.0_@types_react@19.3.0__@types_reac_b8d55f7c7c6b477421e3cc1ba6fb334b/node_modules/@radix-ui/react-menubar/dist/index.cjs +410 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-menubar@1.1.24_@types_react-dom@19.3.0_@types_react@19.3.0__@types_reac_b8d55f7c7c6b477421e3cc1ba6fb334b/node_modules/@radix-ui/react-menubar/dist/index.js +313 -212
- package/dist/node_modules/.pnpm/@radix-ui_react-navigation-menu@1.2.22_@types_react-dom@19.3.0_@types_react@19.3.0__@ty_fde94e4aef42debd49119dde2ad3b250/node_modules/@radix-ui/react-navigation-menu/dist/index.cjs +741 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-navigation-menu@1.2.22_@types_react-dom@19.3.0_@types_react@19.3.0__@ty_fde94e4aef42debd49119dde2ad3b250/node_modules/@radix-ui/react-navigation-menu/dist/index.js +602 -417
- package/dist/node_modules/.pnpm/@radix-ui_react-popper@1.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_ca4fb1e7b10e21399fbf7b38c61d930c/node_modules/@radix-ui/react-popper/dist/index.cjs +246 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-popper@1.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_ca4fb1e7b10e21399fbf7b38c61d930c/node_modules/@radix-ui/react-popper/dist/index.js +195 -121
- package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.1.17_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react_dcf9598b366f9d4cb930092169158fb6/node_modules/@radix-ui/react-portal/dist/index.cjs +27 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.1.17_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react_dcf9598b366f9d4cb930092169158fb6/node_modules/@radix-ui/react-portal/dist/index.js +20 -17
- package/dist/node_modules/.pnpm/@radix-ui_react-presence@1.1.10_@types_react-dom@19.3.0_@types_react@19.3.0__@types_rea_d7b4951725c0f0b9fd732151cb937913/node_modules/@radix-ui/react-presence/dist/index.cjs +148 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-presence@1.1.10_@types_react-dom@19.3.0_@types_react@19.3.0__@types_rea_d7b4951725c0f0b9fd732151cb937913/node_modules/@radix-ui/react-presence/dist/index.js +115 -67
- package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.1.10_@types_react-dom@19.3.0_@types_react@19.3.0__@types_re_b879c40dbdb8ea08e1db9842f10f20a8/node_modules/@radix-ui/react-primitive/dist/index.cjs +55 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.1.10_@types_react-dom@19.3.0_@types_react@19.3.0__@types_re_b879c40dbdb8ea08e1db9842f10f20a8/node_modules/@radix-ui/react-primitive/dist/index.js +27 -21
- package/dist/node_modules/.pnpm/@radix-ui_react-roving-focus@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@types_43a41e6ed06e4781ce7b1fb0f0076623/node_modules/@radix-ui/react-roving-focus/dist/index.cjs +223 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-roving-focus@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@types_43a41e6ed06e4781ce7b1fb0f0076623/node_modules/@radix-ui/react-roving-focus/dist/index.js +179 -131
- package/dist/node_modules/.pnpm/@radix-ui_react-slider@1.4.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_0a49b18268a9d1d70ad7e785633a1513/node_modules/@radix-ui/react-slider/dist/index.cjs +576 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-slider@1.4.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_0a49b18268a9d1d70ad7e785633a1513/node_modules/@radix-ui/react-slider/dist/index.js +437 -308
- package/dist/node_modules/.pnpm/@radix-ui_react-switch@1.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_f8723a7bd506c0f648804ec2dc0f18e3/node_modules/@radix-ui/react-switch/dist/index.cjs +202 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-switch@1.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_f8723a7bd506c0f648804ec2dc0f18e3/node_modules/@radix-ui/react-switch/dist/index.js +160 -125
- package/dist/node_modules/.pnpm/@radix-ui_react-tabs@1.1.21_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@1_2c04ca1fb5fd914a25ee24a303bd8469/node_modules/@radix-ui/react-tabs/dist/index.cjs +159 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-tabs@1.1.21_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@1_2c04ca1fb5fd914a25ee24a303bd8469/node_modules/@radix-ui/react-tabs/dist/index.js +125 -93
- package/dist/node_modules/.pnpm/@radix-ui_react-toggle-group@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@types_e645c0ca626436d86b14232bd158d09b/node_modules/@radix-ui/react-toggle-group/dist/index.cjs +158 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-toggle-group@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@types_e645c0ca626436d86b14232bd158d09b/node_modules/@radix-ui/react-toggle-group/dist/index.js +128 -98
- package/dist/node_modules/.pnpm/@radix-ui_react-toggle@1.1.18_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react_f121473145ec675e8ab50657e8e97e06/node_modules/@radix-ui/react-toggle/dist/index.cjs +39 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-toggle@1.1.18_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react_f121473145ec675e8ab50657e8e97e06/node_modules/@radix-ui/react-toggle/dist/index.js +29 -24
- package/dist/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs +19 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +13 -11
- package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.2.6_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs +109 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.2.6_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +91 -68
- package/dist/node_modules/.pnpm/@radix-ui_react-use-effect-event@0.0.5_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-effect-event/dist/index.cjs +28 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-use-effect-event@0.0.5_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-effect-event/dist/index.js +22 -17
- package/dist/node_modules/.pnpm/@radix-ui_react-use-is-hydrated@0.1.3_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-is-hydrated/dist/index.cjs +33 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-use-is-hydrated@0.1.3_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-is-hydrated/dist/index.js +25 -19
- package/dist/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs +7 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +3 -3
- package/dist/node_modules/.pnpm/@radix-ui_react-use-previous@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-previous/dist/index.cjs +25 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-use-previous@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-previous/dist/index.js +18 -11
- package/dist/node_modules/.pnpm/@radix-ui_react-use-size@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-size/dist/index.cjs +47 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-use-size@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-size/dist/index.js +38 -28
- package/dist/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.2.11_@types_react-dom@19.3.0_@types_react@19.3.0__@ty_ef452cff5863a129db7ebc4b37ab07c3/node_modules/@radix-ui/react-visually-hidden/dist/index.cjs +38 -1
- package/dist/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.2.11_@types_react-dom@19.3.0_@types_react@19.3.0__@ty_ef452cff5863a129db7ebc4b37ab07c3/node_modules/@radix-ui/react-visually-hidden/dist/index.js +19 -15
- package/dist/node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.cjs +106 -1
- package/dist/node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.js +95 -34
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/addLeadingZeros.cjs +5 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/addLeadingZeros.js +3 -3
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/defaultOptions.cjs +6 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/defaultOptions.js +4 -4
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/formatters.cjs +423 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/formatters.js +237 -202
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/lightFormatters.cjs +45 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/lightFormatters.js +35 -32
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/longFormatters.cjs +42 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/longFormatters.js +37 -32
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.cjs +20 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +18 -5
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/normalizeDates.cjs +7 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/normalizeDates.js +5 -5
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/protectedTokens.cjs +27 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/protectedTokens.js +15 -12
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constants.cjs +45 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constants.js +41 -4
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constructFrom.cjs +45 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constructFrom.js +42 -4
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/differenceInCalendarDays.cjs +49 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/differenceInCalendarDays.js +46 -8
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/format.cjs +358 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/format.js +341 -45
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getDayOfYear.cjs +31 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getDayOfYear.js +28 -7
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeek.cjs +35 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeek.js +32 -8
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeekYear.cjs +44 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeekYear.js +41 -11
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeek.cjs +49 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeek.js +46 -8
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeekYear.cjs +61 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeekYear.js +58 -12
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isDate.cjs +38 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isDate.js +35 -3
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isValid.cjs +39 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isValid.js +36 -5
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.cjs +8 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +5 -5
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.cjs +50 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +45 -11
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchFn.cjs +27 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchFn.js +20 -14
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.cjs +18 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +13 -12
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.cjs +77 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +14 -5
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatLong.cjs +31 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatLong.js +6 -6
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.cjs +11 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +4 -3
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/localize.cjs +210 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/localize.js +197 -188
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/match.cjs +122 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/match.js +12 -12
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US.cjs +28 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US.js +20 -12
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfDay.cjs +34 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfDay.js +31 -5
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeek.cjs +37 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeek.js +32 -5
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeekYear.cjs +41 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeekYear.js +38 -7
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeek.cjs +45 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeek.js +42 -6
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeekYear.cjs +56 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeekYear.js +53 -8
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfYear.cjs +35 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfYear.js +32 -5
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/toDate.cjs +45 -1
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/toDate.js +42 -4
- package/dist/node_modules/.pnpm/embla-carousel-react@8.6.0_react@19.3.1/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.cjs +34 -1
- package/dist/node_modules/.pnpm/embla-carousel-react@8.6.0_react@19.3.1/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.js +32 -21
- package/dist/node_modules/.pnpm/embla-carousel-reactive-utils@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.cjs +39 -1
- package/dist/node_modules/.pnpm/embla-carousel-reactive-utils@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.js +27 -20
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.cjs +1391 -1
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.js +1178 -803
- package/dist/node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.cjs +7 -1
- package/dist/node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.js +3 -4
- package/dist/node_modules/.pnpm/input-otp@1.4.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/input-otp/dist/index.cjs +369 -2
- package/dist/node_modules/.pnpm/input-otp@1.4.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/input-otp/dist/index.js +282 -238
- package/dist/node_modules/.pnpm/react-hook-form@7.83.0_react@19.3.1/node_modules/react-hook-form/dist/index.esm.cjs +625 -1
- package/dist/node_modules/.pnpm/react-hook-form@7.83.0_react@19.3.1/node_modules/react-hook-form/dist/index.esm.js +545 -276
- package/dist/node_modules/.pnpm/react-number-format@5.4.5_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-number-format/dist/react-number-format.es.cjs +1033 -9
- package/dist/node_modules/.pnpm/react-number-format@5.4.5_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-number-format/dist/react-number-format.es.js +898 -460
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/component.cjs +47 -38
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/component.js +38 -64
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/constants.cjs +13 -1
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +9 -2
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/index.cjs +4 -1
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/utils.cjs +36 -1
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +25 -16
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/Combination.cjs +15 -1
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/Combination.js +10 -10
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/SideEffect.cjs +167 -4
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +144 -93
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/UI.cjs +63 -1
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/UI.js +45 -35
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.cjs +14 -1
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +11 -9
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/handleScroll.cjs +84 -1
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +75 -43
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/medium.cjs +3 -1
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/medium.js +3 -3
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/sidecar.cjs +6 -1
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/sidecar.js +5 -5
- package/dist/node_modules/.pnpm/react-resizable-panels@2.1.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-resizable-panels/dist/react-resizable-panels.browser.esm.cjs +1617 -1
- package/dist/node_modules/.pnpm/react-resizable-panels@2.1.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-resizable-panels/dist/react-resizable-panels.browser.esm.js +1332 -874
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/component.cjs +18 -1
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/component.js +15 -7
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/hook.cjs +26 -1
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/hook.js +20 -10
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/index.cjs +4 -1
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/singleton.cjs +40 -1
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/singleton.js +29 -16
- package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.cjs +36 -1
- package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.js +25 -14
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/assignRef.cjs +20 -1
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/assignRef.js +18 -3
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/useMergeRef.cjs +46 -1
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +38 -19
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/useRef.cjs +39 -1
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/useRef.js +29 -11
- package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.3.0_react@19.3.1/node_modules/use-sidecar/dist/es2015/exports.cjs +18 -1
- package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.3.0_react@19.3.1/node_modules/use-sidecar/dist/es2015/exports.js +13 -12
- package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.3.0_react@19.3.1/node_modules/use-sidecar/dist/es2015/medium.cjs +81 -1
- package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.3.0_react@19.3.1/node_modules/use-sidecar/dist/es2015/medium.js +58 -45
- package/dist/node_modules/.pnpm/vaul@1.1.2_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@19.3.0_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/vaul/dist/index.cjs +1252 -3
- package/dist/node_modules/.pnpm/vaul@1.1.2_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@19.3.0_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/vaul/dist/index.js +1003 -648
- package/dist/theme/index.cjs +63 -1
- package/dist/theme/index.js +31 -31
- package/dist/theme/spacing.cjs +93 -1
- package/dist/theme/spacing.js +52 -26
- package/dist/theme/tokens.stylex.cjs +210 -1
- package/dist/theme/tokens.stylex.js +58 -26
- package/dist/theme/types.cjs +13 -1
- package/dist/theme/types.js +4 -3
- package/dist/theme/width.cjs +39 -1
- package/dist/theme/width.js +16 -4
- package/dist/theme/zIndex.cjs +62 -1
- package/dist/theme/zIndex.d.ts +4 -4
- package/dist/theme/zIndex.d.ts.map +1 -1
- package/dist/theme/zIndex.js +44 -15
- package/dist/theme.css +167 -9
- package/dist/ui/accordion.cjs +431 -1
- package/dist/ui/accordion.d.ts +10 -10
- package/dist/ui/accordion.d.ts.map +1 -1
- package/dist/ui/accordion.js +276 -136
- package/dist/ui/action-bar.cjs +274 -1
- package/dist/ui/action-bar.d.ts +11 -11
- package/dist/ui/action-bar.d.ts.map +1 -1
- package/dist/ui/action-bar.js +204 -98
- package/dist/ui/alert-dialog.cjs +538 -1
- package/dist/ui/alert-dialog.d.ts +19 -19
- package/dist/ui/alert-dialog.d.ts.map +1 -1
- package/dist/ui/alert-dialog.js +459 -167
- package/dist/ui/alert.cjs +163 -1
- package/dist/ui/alert.d.ts +7 -7
- package/dist/ui/alert.d.ts.map +1 -1
- package/dist/ui/alert.js +111 -50
- package/dist/ui/aspect-ratio.cjs +24 -1
- package/dist/ui/aspect-ratio.d.ts +2 -2
- package/dist/ui/aspect-ratio.d.ts.map +1 -1
- package/dist/ui/aspect-ratio.js +22 -13
- package/dist/ui/avatar.cjs +340 -1
- package/dist/ui/avatar.d.ts +10 -10
- package/dist/ui/avatar.d.ts.map +1 -1
- package/dist/ui/avatar.js +226 -115
- package/dist/ui/badge-overflow.cjs +66 -1
- package/dist/ui/badge-overflow.d.ts +5 -5
- package/dist/ui/badge-overflow.d.ts.map +1 -1
- package/dist/ui/badge-overflow.js +34 -27
- package/dist/ui/badge.cjs +167 -1
- package/dist/ui/badge.d.ts +3 -3
- package/dist/ui/badge.d.ts.map +1 -1
- package/dist/ui/badge.js +48 -42
- package/dist/ui/breadcrumb.cjs +508 -1
- package/dist/ui/breadcrumb.d.ts +15 -15
- package/dist/ui/breadcrumb.d.ts.map +1 -1
- package/dist/ui/breadcrumb.js +386 -159
- package/dist/ui/button.cjs +425 -1
- package/dist/ui/button.d.ts +3 -3
- package/dist/ui/button.d.ts.map +1 -1
- package/dist/ui/button.js +137 -117
- package/dist/ui/calendar.cjs +625 -1
- package/dist/ui/calendar.d.ts +5 -5
- package/dist/ui/calendar.d.ts.map +1 -1
- package/dist/ui/calendar.js +309 -193
- package/dist/ui/card.cjs +401 -1
- package/dist/ui/card.d.ts +15 -15
- package/dist/ui/card.d.ts.map +1 -1
- package/dist/ui/card.js +300 -119
- package/dist/ui/carousel.cjs +332 -1
- package/dist/ui/carousel.d.ts +10 -10
- package/dist/ui/carousel.d.ts.map +1 -1
- package/dist/ui/carousel.js +245 -127
- package/dist/ui/checkbox.cjs +163 -1
- package/dist/ui/checkbox.d.ts +4 -4
- package/dist/ui/checkbox.d.ts.map +1 -1
- package/dist/ui/checkbox.js +62 -58
- package/dist/ui/circular-progress.cjs +144 -1
- package/dist/ui/circular-progress.d.ts +5 -5
- package/dist/ui/circular-progress.d.ts.map +1 -1
- package/dist/ui/circular-progress.js +85 -67
- package/dist/ui/code-block.cjs +823 -0
- package/dist/ui/code-block.d.ts +89 -0
- package/dist/ui/code-block.d.ts.map +1 -0
- package/dist/ui/code-block.js +813 -0
- package/dist/ui/collapsible.cjs +64 -1
- package/dist/ui/collapsible.d.ts +4 -4
- package/dist/ui/collapsible.d.ts.map +1 -1
- package/dist/ui/collapsible.js +58 -29
- package/dist/ui/command.cjs +556 -1
- package/dist/ui/command.d.ts +19 -19
- package/dist/ui/command.d.ts.map +1 -1
- package/dist/ui/command.js +432 -163
- package/dist/ui/compare-slider.cjs +169 -1
- package/dist/ui/compare-slider.d.ts +8 -7
- package/dist/ui/compare-slider.d.ts.map +1 -1
- package/dist/ui/compare-slider.js +106 -73
- package/dist/ui/context-menu.cjs +810 -1
- package/dist/ui/context-menu.d.ts +26 -26
- package/dist/ui/context-menu.d.ts.map +1 -1
- package/dist/ui/context-menu.js +693 -229
- package/dist/ui/copy-button.cjs +93 -1
- package/dist/ui/copy-button.d.ts +1 -2
- package/dist/ui/copy-button.d.ts.map +1 -1
- package/dist/ui/copy-button.js +56 -45
- package/dist/ui/dialog.cjs +411 -1
- package/dist/ui/dialog.d.ts +18 -18
- package/dist/ui/dialog.d.ts.map +1 -1
- package/dist/ui/dialog.js +319 -131
- package/dist/ui/drawer.cjs +478 -1
- package/dist/ui/drawer.d.ts +17 -17
- package/dist/ui/drawer.d.ts.map +1 -1
- package/dist/ui/drawer.js +396 -151
- package/dist/ui/dropdown-menu.cjs +638 -1
- package/dist/ui/dropdown-menu.d.ts +26 -26
- package/dist/ui/dropdown-menu.d.ts.map +1 -1
- package/dist/ui/dropdown-menu.js +511 -208
- package/dist/ui/editable.cjs +609 -1
- package/dist/ui/editable.d.ts +14 -14
- package/dist/ui/editable.d.ts.map +1 -1
- package/dist/ui/editable.js +479 -218
- package/dist/ui/empty.cjs +295 -1
- package/dist/ui/empty.d.ts +15 -15
- package/dist/ui/empty.d.ts.map +1 -1
- package/dist/ui/empty.js +267 -112
- package/dist/ui/field.cjs +621 -1
- package/dist/ui/field.d.ts +21 -21
- package/dist/ui/field.d.ts.map +1 -1
- package/dist/ui/field.js +468 -198
- package/dist/ui/file-upload-adapters.cjs +289 -1
- package/dist/ui/file-upload-adapters.d.ts +1 -2
- package/dist/ui/file-upload-adapters.d.ts.map +1 -1
- package/dist/ui/file-upload-adapters.js +244 -170
- package/dist/ui/file-upload.cjs +1480 -1
- package/dist/ui/file-upload.d.ts +22 -22
- package/dist/ui/file-upload.d.ts.map +1 -1
- package/dist/ui/file-upload.js +1064 -599
- package/dist/ui/flex.cjs +202 -1
- package/dist/ui/flex.d.ts +7 -6
- package/dist/ui/flex.d.ts.map +1 -1
- package/dist/ui/flex.js +111 -93
- package/dist/ui/form.cjs +453 -1
- package/dist/ui/form.d.ts +11 -11
- package/dist/ui/form.d.ts.map +1 -1
- package/dist/ui/form.js +421 -136
- package/dist/ui/gauge.cjs +125 -1
- package/dist/ui/gauge.d.ts +7 -6
- package/dist/ui/gauge.d.ts.map +1 -1
- package/dist/ui/gauge.js +60 -53
- package/dist/ui/grid.cjs +224 -1
- package/dist/ui/grid.d.ts +11 -7
- package/dist/ui/grid.d.ts.map +1 -1
- package/dist/ui/grid.js +126 -96
- package/dist/ui/hover-card.cjs +85 -1
- package/dist/ui/hover-card.d.ts +6 -6
- package/dist/ui/hover-card.d.ts.map +1 -1
- package/dist/ui/hover-card.js +57 -37
- package/dist/ui/index.d.ts +4 -0
- package/dist/ui/index.d.ts.map +1 -1
- package/dist/ui/input-group.cjs +322 -1
- package/dist/ui/input-group.d.ts +12 -12
- package/dist/ui/input-group.d.ts.map +1 -1
- package/dist/ui/input-group.js +203 -107
- package/dist/ui/input-otp.cjs +312 -1
- package/dist/ui/input-otp.d.ts +10 -10
- package/dist/ui/input-otp.d.ts.map +1 -1
- package/dist/ui/input-otp.js +217 -94
- package/dist/ui/input.cjs +388 -1
- package/dist/ui/input.d.ts +3 -3
- package/dist/ui/input.d.ts.map +1 -1
- package/dist/ui/input.js +137 -119
- package/dist/ui/item.cjs +585 -1
- package/dist/ui/item.d.ts +20 -20
- package/dist/ui/item.d.ts.map +1 -1
- package/dist/ui/item.js +460 -162
- package/dist/ui/kbd.cjs +115 -1
- package/dist/ui/kbd.d.ts +5 -5
- package/dist/ui/kbd.d.ts.map +1 -1
- package/dist/ui/kbd.js +42 -37
- package/dist/ui/label.cjs +67 -1
- package/dist/ui/label.d.ts +4 -4
- package/dist/ui/label.d.ts.map +1 -1
- package/dist/ui/label.js +51 -21
- package/dist/ui/marker.cjs +297 -0
- package/dist/ui/marker.d.ts +25 -0
- package/dist/ui/marker.d.ts.map +1 -0
- package/dist/ui/marker.js +293 -0
- package/dist/ui/masonry.cjs +56 -1
- package/dist/ui/masonry.d.ts +4 -4
- package/dist/ui/masonry.d.ts.map +1 -1
- package/dist/ui/masonry.js +40 -37
- package/dist/ui/menubar.cjs +907 -1
- package/dist/ui/menubar.d.ts +29 -29
- package/dist/ui/menubar.d.ts.map +1 -1
- package/dist/ui/menubar.js +737 -252
- package/dist/ui/navigation-menu.cjs +560 -1
- package/dist/ui/navigation-menu.d.ts +18 -18
- package/dist/ui/navigation-menu.d.ts.map +1 -1
- package/dist/ui/navigation-menu.js +442 -148
- package/dist/ui/pagination.cjs +575 -1
- package/dist/ui/pagination.d.ts +13 -13
- package/dist/ui/pagination.d.ts.map +1 -1
- package/dist/ui/pagination.js +422 -172
- package/dist/ui/popover.cjs +93 -1
- package/dist/ui/popover.d.ts +7 -7
- package/dist/ui/popover.d.ts.map +1 -1
- package/dist/ui/popover.js +61 -42
- package/dist/ui/progress.cjs +34 -1
- package/dist/ui/progress.d.ts +3 -3
- package/dist/ui/progress.d.ts.map +1 -1
- package/dist/ui/progress.js +21 -18
- package/dist/ui/questionnaire.cjs +682 -0
- package/dist/ui/questionnaire.d.ts +111 -0
- package/dist/ui/questionnaire.d.ts.map +1 -0
- package/dist/ui/questionnaire.js +670 -0
- package/dist/ui/radio-group.cjs +221 -1
- package/dist/ui/radio-group.d.ts +6 -6
- package/dist/ui/radio-group.d.ts.map +1 -1
- package/dist/ui/radio-group.js +125 -74
- package/dist/ui/rating.cjs +190 -1
- package/dist/ui/rating.d.ts +4 -3
- package/dist/ui/rating.d.ts.map +1 -1
- package/dist/ui/rating.js +96 -79
- package/dist/ui/resizable.cjs +174 -1
- package/dist/ui/resizable.d.ts +7 -7
- package/dist/ui/resizable.d.ts.map +1 -1
- package/dist/ui/resizable.js +150 -55
- package/dist/ui/responsive-dialog.cjs +400 -1
- package/dist/ui/responsive-dialog.d.ts +17 -17
- package/dist/ui/responsive-dialog.d.ts.map +1 -1
- package/dist/ui/responsive-dialog.js +372 -155
- package/dist/ui/row-col.cjs +508 -1
- package/dist/ui/row-col.d.ts +13 -11
- package/dist/ui/row-col.d.ts.map +1 -1
- package/dist/ui/row-col.js +238 -207
- package/dist/ui/scroll-area.cjs +129 -1
- package/dist/ui/scroll-area.d.ts +6 -6
- package/dist/ui/scroll-area.d.ts.map +1 -1
- package/dist/ui/scroll-area.js +92 -49
- package/dist/ui/segmented.cjs +169 -1
- package/dist/ui/segmented.d.ts +6 -5
- package/dist/ui/segmented.d.ts.map +1 -1
- package/dist/ui/segmented.js +75 -63
- package/dist/ui/select.cjs +484 -1
- package/dist/ui/select.d.ts +17 -17
- package/dist/ui/select.d.ts.map +1 -1
- package/dist/ui/select.js +353 -160
- package/dist/ui/separator.cjs +44 -1
- package/dist/ui/separator.d.ts +4 -4
- package/dist/ui/separator.d.ts.map +1 -1
- package/dist/ui/separator.js +17 -17
- package/dist/ui/sheet.cjs +462 -1
- package/dist/ui/sheet.d.ts +16 -16
- package/dist/ui/sheet.d.ts.map +1 -1
- package/dist/ui/sheet.js +331 -141
- package/dist/ui/sidebar.cjs +1452 -1
- package/dist/ui/sidebar.d.ts +48 -48
- package/dist/ui/sidebar.d.ts.map +1 -1
- package/dist/ui/sidebar.js +1057 -439
- package/dist/ui/signature-pad.cjs +741 -0
- package/dist/ui/signature-pad.d.ts +115 -0
- package/dist/ui/signature-pad.d.ts.map +1 -0
- package/dist/ui/signature-pad.js +731 -0
- package/dist/ui/skeleton.cjs +62 -1
- package/dist/ui/skeleton.d.ts +3 -3
- package/dist/ui/skeleton.d.ts.map +1 -1
- package/dist/ui/skeleton.js +50 -20
- package/dist/ui/slider.cjs +47 -1
- package/dist/ui/slider.d.ts +4 -4
- package/dist/ui/slider.d.ts.map +1 -1
- package/dist/ui/slider.js +27 -26
- package/dist/ui/sonner.cjs +28 -1
- package/dist/ui/sonner.js +24 -22
- package/dist/ui/spinner.cjs +73 -1
- package/dist/ui/spinner.d.ts +3 -3
- package/dist/ui/spinner.d.ts.map +1 -1
- package/dist/ui/spinner.js +29 -28
- package/dist/ui/stat.cjs +320 -1
- package/dist/ui/stat.d.ts +15 -15
- package/dist/ui/stat.d.ts.map +1 -1
- package/dist/ui/stat.js +275 -148
- package/dist/ui/stepper.cjs +785 -1
- package/dist/ui/stepper.d.ts +24 -24
- package/dist/ui/stepper.d.ts.map +1 -1
- package/dist/ui/stepper.js +594 -281
- package/dist/ui/switch.cjs +199 -1
- package/dist/ui/switch.d.ts +4 -4
- package/dist/ui/switch.d.ts.map +1 -1
- package/dist/ui/switch.js +79 -72
- package/dist/ui/table.cjs +435 -1
- package/dist/ui/table.d.ts +17 -17
- package/dist/ui/table.d.ts.map +1 -1
- package/dist/ui/table.js +369 -129
- package/dist/ui/tabs.cjs +340 -1
- package/dist/ui/tabs.d.ts +10 -10
- package/dist/ui/tabs.d.ts.map +1 -1
- package/dist/ui/tabs.js +204 -95
- package/dist/ui/tags-input.cjs +585 -1
- package/dist/ui/tags-input.d.ts +13 -13
- package/dist/ui/tags-input.d.ts.map +1 -1
- package/dist/ui/tags-input.js +446 -221
- package/dist/ui/textarea.cjs +119 -1
- package/dist/ui/textarea.d.ts +3 -3
- package/dist/ui/textarea.d.ts.map +1 -1
- package/dist/ui/textarea.js +37 -33
- package/dist/ui/timeline.cjs +583 -1
- package/dist/ui/timeline.d.ts +22 -22
- package/dist/ui/timeline.d.ts.map +1 -1
- package/dist/ui/timeline.js +409 -198
- package/dist/ui/toggle-group.cjs +128 -1
- package/dist/ui/toggle-group.d.ts +7 -7
- package/dist/ui/toggle-group.d.ts.map +1 -1
- package/dist/ui/toggle-group.js +92 -41
- package/dist/ui/toggle.cjs +145 -1
- package/dist/ui/toggle.d.ts +4 -4
- package/dist/ui/toggle.d.ts.map +1 -1
- package/dist/ui/toggle.js +38 -34
- package/dist/ui/tooltip.cjs +81 -1
- package/dist/ui/tooltip.d.ts +7 -7
- package/dist/ui/tooltip.d.ts.map +1 -1
- package/dist/ui/tooltip.js +50 -37
- package/dist/ui/useBreakpoint.cjs +91 -1
- package/dist/ui/useBreakpoint.js +66 -43
- package/dist/utils.cjs +4 -1
- package/dist/utils.d.ts +2 -12
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js +3 -6
- package/package.json +10 -2
package/bin/registry.mjs
ADDED
|
@@ -0,0 +1,1124 @@
|
|
|
1
|
+
// @ts-check
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Registry of VLRC and Richtext components for the VLRC CLI.
|
|
5
|
+
*/
|
|
6
|
+
export const VLRC_COMPONENTS = {
|
|
7
|
+
// --- Richtext & Editor ---
|
|
8
|
+
RichTextEditor: {
|
|
9
|
+
name: 'RichTextEditor',
|
|
10
|
+
displayName: 'Rich Text Editor',
|
|
11
|
+
package: '@vlrc-fe/components/richtext',
|
|
12
|
+
category: 'Form Controls',
|
|
13
|
+
keywords: ['richtext', 'wysiwyg', 'editor', 'lexical', 'markdown', 'astryx'],
|
|
14
|
+
import: "import { RichTextEditor } from '@vlrc-fe/components/richtext';",
|
|
15
|
+
description:
|
|
16
|
+
'A WYSIWYG rich-text editor built on Meta Lexical, styled with Astryx design tokens. Shares TextArea input visuals for resting border, hover ring, focus-within ring, and validation status.',
|
|
17
|
+
bestPractices: [
|
|
18
|
+
{
|
|
19
|
+
guidance: true,
|
|
20
|
+
description:
|
|
21
|
+
'Pass toolbar={<RichTextEditorToolbar />} to render formatting controls at the top of the field.',
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
guidance: true,
|
|
25
|
+
description:
|
|
26
|
+
'Persist content by serializing editorState.toJSON() in onChange; rehydrate via defaultValue or RichTextView.',
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
guidance: true,
|
|
30
|
+
description:
|
|
31
|
+
'GFM pipe tables import, edit, and export by default with header rows and column alignment.',
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
guidance: false,
|
|
35
|
+
description: 'Do not use for single-line text input; use TextInput instead.',
|
|
36
|
+
},
|
|
37
|
+
],
|
|
38
|
+
props: [
|
|
39
|
+
{
|
|
40
|
+
name: 'label',
|
|
41
|
+
type: 'string',
|
|
42
|
+
description: 'Label text for the editor. Always rendered for accessibility.',
|
|
43
|
+
required: true,
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
name: 'isLabelHidden',
|
|
47
|
+
type: 'boolean',
|
|
48
|
+
default: 'false',
|
|
49
|
+
description: 'Visually hide the label while keeping it accessible to screen readers.',
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
name: 'description',
|
|
53
|
+
type: 'string',
|
|
54
|
+
description: 'Description text displayed between the label and editor.',
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
name: 'defaultValue',
|
|
58
|
+
type: 'string',
|
|
59
|
+
description:
|
|
60
|
+
'Initial serialized editor state (JSON string from editorState.toJSON()). Read once on mount.',
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
name: 'onChange',
|
|
64
|
+
type: '(editorState: EditorState, editor: LexicalEditor) => void',
|
|
65
|
+
description:
|
|
66
|
+
'Fired when content changes. Serialize with editorState.toJSON() for persistence.',
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
name: 'placeholder',
|
|
70
|
+
type: 'string',
|
|
71
|
+
description: 'Placeholder text shown when editor is empty.',
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
name: 'isReadOnly',
|
|
75
|
+
type: 'boolean',
|
|
76
|
+
default: 'false',
|
|
77
|
+
description: 'Whether the editor is read-only (non-editable).',
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
name: 'isDisabled',
|
|
81
|
+
type: 'boolean',
|
|
82
|
+
default: 'false',
|
|
83
|
+
description: 'Whether the editor is disabled.',
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
name: 'status',
|
|
87
|
+
type: '{ type: "warning" | "error" | "success"; message?: string }',
|
|
88
|
+
description: 'Validation status border and message.',
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
name: 'size',
|
|
92
|
+
type: "'sm' | 'md' | 'lg'",
|
|
93
|
+
default: "'md'",
|
|
94
|
+
description: 'The size of the editor affecting internal padding.',
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
name: 'toolbar',
|
|
98
|
+
type: 'ReactNode',
|
|
99
|
+
description: 'Toolbar content rendered at top edge of the field.',
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
name: 'plugins',
|
|
103
|
+
type: 'ReactNode',
|
|
104
|
+
description: 'Additional Lexical plugins rendered inside the composer.',
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
name: 'hasMarkdownShortcuts',
|
|
108
|
+
type: 'boolean',
|
|
109
|
+
default: 'true',
|
|
110
|
+
description: 'Enable Markdown shortcut typing (e.g. "# " for headings).',
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
name: 'minHeight',
|
|
114
|
+
type: 'string | number',
|
|
115
|
+
default: "'4.5rem'",
|
|
116
|
+
description: 'Minimum height of the editable surface.',
|
|
117
|
+
},
|
|
118
|
+
{ name: 'xstyle', type: 'StyleXStyles', description: 'Meta StyleX style override.' },
|
|
119
|
+
],
|
|
120
|
+
},
|
|
121
|
+
|
|
122
|
+
RichTextView: {
|
|
123
|
+
name: 'RichTextView',
|
|
124
|
+
displayName: 'Rich Text View',
|
|
125
|
+
package: '@vlrc-fe/components/richtext',
|
|
126
|
+
category: 'Typography',
|
|
127
|
+
keywords: ['richtext', 'view', 'read-only', 'markdown', 'lexical'],
|
|
128
|
+
import: "import { RichTextView } from '@vlrc-fe/components/richtext';",
|
|
129
|
+
description:
|
|
130
|
+
'Read-only renderer for serialized Lexical editor state or Markdown documents, applying Astryx typography and token styling.',
|
|
131
|
+
bestPractices: [
|
|
132
|
+
{
|
|
133
|
+
guidance: true,
|
|
134
|
+
description:
|
|
135
|
+
'Use to safely render formatted rich text without mounting an interactive composer.',
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
guidance: true,
|
|
139
|
+
description: 'Pass custom nodes or code languages if serialized content uses extensions.',
|
|
140
|
+
},
|
|
141
|
+
],
|
|
142
|
+
props: [
|
|
143
|
+
{
|
|
144
|
+
name: 'value',
|
|
145
|
+
type: 'string | SerializedEditorState',
|
|
146
|
+
description: 'Serialized JSON string or Markdown string to render.',
|
|
147
|
+
required: true,
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
name: 'transformers',
|
|
151
|
+
type: 'ReadonlyArray<Transformer>',
|
|
152
|
+
description: 'Custom Markdown transformers for parsing.',
|
|
153
|
+
},
|
|
154
|
+
{ name: 'xstyle', type: 'StyleXStyles', description: 'Meta StyleX style override.' },
|
|
155
|
+
],
|
|
156
|
+
},
|
|
157
|
+
|
|
158
|
+
RichTextEditorToolbar: {
|
|
159
|
+
name: 'RichTextEditorToolbar',
|
|
160
|
+
displayName: 'Rich Text Editor Toolbar',
|
|
161
|
+
package: '@vlrc-fe/components/richtext',
|
|
162
|
+
category: 'Form Controls',
|
|
163
|
+
keywords: ['toolbar', 'richtext', 'formatting', 'buttons', 'undo', 'redo'],
|
|
164
|
+
import: "import { RichTextEditorToolbar } from '@vlrc-fe/components/richtext';",
|
|
165
|
+
description:
|
|
166
|
+
'Formatting toolbar for RichTextEditor featuring undo/redo, block format selector, inline formatting, links, and table insertion.',
|
|
167
|
+
bestPractices: [
|
|
168
|
+
{ guidance: true, description: 'Pass directly to the toolbar prop of RichTextEditor.' },
|
|
169
|
+
{ guidance: false, description: 'Do not render outside the Lexical composer context.' },
|
|
170
|
+
],
|
|
171
|
+
props: [
|
|
172
|
+
{
|
|
173
|
+
name: 'label',
|
|
174
|
+
type: 'string',
|
|
175
|
+
default: "'Text formatting'",
|
|
176
|
+
description: 'Accessible label for the toolbar.',
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
name: 'headingLevels',
|
|
180
|
+
type: "Array<'h1' | 'h2' | 'h3'>",
|
|
181
|
+
default: "['h1', 'h2', 'h3']",
|
|
182
|
+
description: 'Heading levels offered in block dropdown.',
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
name: 'size',
|
|
186
|
+
type: "'sm' | 'md' | 'lg'",
|
|
187
|
+
default: "'sm'",
|
|
188
|
+
description: 'Size of toolbar controls.',
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
name: 'hasLink',
|
|
192
|
+
type: 'boolean',
|
|
193
|
+
default: 'true',
|
|
194
|
+
description: 'Show link creation button and popover.',
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
name: 'endContent',
|
|
198
|
+
type: 'ReactNode',
|
|
199
|
+
description: 'Extra items at the end of the toolbar.',
|
|
200
|
+
},
|
|
201
|
+
{ name: 'xstyle', type: 'StyleXStyles', description: 'Meta StyleX style override.' },
|
|
202
|
+
],
|
|
203
|
+
},
|
|
204
|
+
|
|
205
|
+
NotionEditor: {
|
|
206
|
+
name: 'NotionEditor',
|
|
207
|
+
displayName: 'Notion-Style Block Editor',
|
|
208
|
+
package: '@vlrc-fe/editor',
|
|
209
|
+
category: 'Form Controls',
|
|
210
|
+
keywords: ['notion', 'editor', 'block', 'slash', 'floating-toolbar', 'table'],
|
|
211
|
+
import: "import { NotionEditor } from '@vlrc-fe/editor';",
|
|
212
|
+
description:
|
|
213
|
+
'Enterprise Notion-like Markdown and Rich-Text Editor built on Meta Lexical, Meta StyleX, and Astryx tokens. Features interactive Table modal & action menu, slash command (/), bubble toolbar, draggable blocks, code highlighting, and live tree view.',
|
|
214
|
+
bestPractices: [
|
|
215
|
+
{
|
|
216
|
+
guidance: true,
|
|
217
|
+
description:
|
|
218
|
+
'Use when you need a Notion-like document authoring experience with interactive block menus.',
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
guidance: true,
|
|
222
|
+
description:
|
|
223
|
+
'Leverage the built-in Table suite (InsertTableDialog, TableActionMenu, TableCellResizer) for spreadsheet-like grid editing.',
|
|
224
|
+
},
|
|
225
|
+
{ guidance: true, description: 'Listen to onChange to receive live serialized Markdown.' },
|
|
226
|
+
],
|
|
227
|
+
props: [
|
|
228
|
+
{
|
|
229
|
+
name: 'defaultValue',
|
|
230
|
+
type: 'string',
|
|
231
|
+
default: "''",
|
|
232
|
+
description: 'Initial document content in Markdown.',
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
name: 'onChange',
|
|
236
|
+
type: '(markdown: string, editorState: EditorState, editor: LexicalEditor) => void',
|
|
237
|
+
description: 'Fired when document content changes with serialized Markdown string.',
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
name: 'placeholder',
|
|
241
|
+
type: 'string',
|
|
242
|
+
default: '"Type \'/\' for commands, or write markdown..."',
|
|
243
|
+
description: 'Empty state placeholder.',
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
name: 'readOnly',
|
|
247
|
+
type: 'boolean',
|
|
248
|
+
default: 'false',
|
|
249
|
+
description: 'Disables editing and hides editing toolbars.',
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
name: 'showToolbar',
|
|
253
|
+
type: 'boolean',
|
|
254
|
+
default: 'true',
|
|
255
|
+
description: 'Displays the top rich formatting toolbar.',
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
name: 'showFloatingToolbar',
|
|
259
|
+
type: 'boolean',
|
|
260
|
+
default: 'true',
|
|
261
|
+
description: 'Displays the bubble toolbar on text selection.',
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
name: 'showSlashMenu',
|
|
265
|
+
type: 'boolean',
|
|
266
|
+
default: 'true',
|
|
267
|
+
description: 'Enables typing "/" to open block options.',
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
name: 'showDraggableBlocks',
|
|
271
|
+
type: 'boolean',
|
|
272
|
+
default: 'true',
|
|
273
|
+
description: 'Displays left gutter drag handles for block reordering.',
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
name: 'showTreeView',
|
|
277
|
+
type: 'boolean',
|
|
278
|
+
default: 'false',
|
|
279
|
+
description: 'Displays live AST debug inspector below the editor.',
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
name: 'enableTabIndentation',
|
|
283
|
+
type: 'boolean',
|
|
284
|
+
default: 'true',
|
|
285
|
+
description: 'Enables Tab/Shift+Tab for list and code indentation.',
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
name: 'enableCodeHighlighting',
|
|
289
|
+
type: 'boolean',
|
|
290
|
+
default: 'true',
|
|
291
|
+
description: 'Prism syntax highlighting for code fences.',
|
|
292
|
+
},
|
|
293
|
+
{ name: 'sx', type: 'StyleXStyles', description: 'Meta StyleX style override.' },
|
|
294
|
+
],
|
|
295
|
+
},
|
|
296
|
+
|
|
297
|
+
InsertTableDialog: {
|
|
298
|
+
name: 'InsertTableDialog',
|
|
299
|
+
displayName: 'Insert Table Dialog',
|
|
300
|
+
package: '@vlrc-fe/editor',
|
|
301
|
+
category: 'Form Controls',
|
|
302
|
+
keywords: ['table', 'insert', 'dialog', 'modal', 'dimensions', 'grid'],
|
|
303
|
+
import: "import { InsertTableDialog } from '@vlrc-fe/editor';",
|
|
304
|
+
description:
|
|
305
|
+
'Accessible configuration modal for inserting tables into Lexical rich-text editors. Asks for row count, column count, and header row toggle before dispatching INSERT_TABLE_COMMAND.',
|
|
306
|
+
bestPractices: [
|
|
307
|
+
{
|
|
308
|
+
guidance: true,
|
|
309
|
+
description:
|
|
310
|
+
'Use before inserting tables so users can specify grid dimensions instead of hardcoding fixed cells.',
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
guidance: true,
|
|
314
|
+
description: 'Clamps rows (1-50) and columns (1-20) for optimal document rendering.',
|
|
315
|
+
},
|
|
316
|
+
],
|
|
317
|
+
props: [
|
|
318
|
+
{
|
|
319
|
+
name: 'open',
|
|
320
|
+
type: 'boolean',
|
|
321
|
+
description: 'Controlled visibility state.',
|
|
322
|
+
required: true,
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
name: 'onOpenChange',
|
|
326
|
+
type: '(open: boolean) => void',
|
|
327
|
+
description: 'Callback fired when modal opens or closes.',
|
|
328
|
+
required: true,
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
name: 'onConfirm',
|
|
332
|
+
type: '(options: { rows: string; columns: string; includeHeaders: boolean }) => void',
|
|
333
|
+
description: 'Fired on form submit with dimensions.',
|
|
334
|
+
required: true,
|
|
335
|
+
},
|
|
336
|
+
],
|
|
337
|
+
},
|
|
338
|
+
|
|
339
|
+
TableActionMenuPlugin: {
|
|
340
|
+
name: 'TableActionMenuPlugin',
|
|
341
|
+
displayName: 'Table Action Menu Plugin',
|
|
342
|
+
package: '@vlrc-fe/editor',
|
|
343
|
+
category: 'Editor Plugins',
|
|
344
|
+
keywords: ['table', 'menu', 'context', 'cell', 'row', 'column', 'background-color'],
|
|
345
|
+
import: "import { TableActionMenuPlugin } from '@vlrc-fe/editor';",
|
|
346
|
+
description:
|
|
347
|
+
'Floating context action menu attached to the active table cell. Provides row/column insertion (above/below/left/right), deletion, header toggles, cell unmerging, and cell background color palette.',
|
|
348
|
+
bestPractices: [
|
|
349
|
+
{
|
|
350
|
+
guidance: true,
|
|
351
|
+
description: 'Mount inside LexicalComposer alongside TablePlugin and anchorElem.',
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
guidance: true,
|
|
355
|
+
description: 'Provides full Google Docs and Notion style cell manipulation.',
|
|
356
|
+
},
|
|
357
|
+
],
|
|
358
|
+
props: [
|
|
359
|
+
{
|
|
360
|
+
name: 'anchorElem',
|
|
361
|
+
type: 'HTMLElement',
|
|
362
|
+
description: 'Anchor DOM container for positioning the floating trigger button.',
|
|
363
|
+
required: true,
|
|
364
|
+
},
|
|
365
|
+
],
|
|
366
|
+
},
|
|
367
|
+
|
|
368
|
+
TableCellResizerPlugin: {
|
|
369
|
+
name: 'TableCellResizerPlugin',
|
|
370
|
+
displayName: 'Table Cell Resizer Plugin',
|
|
371
|
+
package: '@vlrc-fe/editor',
|
|
372
|
+
category: 'Editor Plugins',
|
|
373
|
+
keywords: ['table', 'resize', 'col-resize', 'drag', 'column-width'],
|
|
374
|
+
import: "import { TableCellResizerPlugin } from '@vlrc-fe/editor';",
|
|
375
|
+
description:
|
|
376
|
+
'Interactive drag-to-resize column width and row height resizer for table cells inside Lexical editors.',
|
|
377
|
+
bestPractices: [
|
|
378
|
+
{
|
|
379
|
+
guidance: true,
|
|
380
|
+
description: 'Enables click-and-drag border handles for fluid table layout customization.',
|
|
381
|
+
},
|
|
382
|
+
],
|
|
383
|
+
props: [
|
|
384
|
+
{
|
|
385
|
+
name: 'anchorElem',
|
|
386
|
+
type: 'HTMLElement',
|
|
387
|
+
description: 'Anchor DOM container for positioning drag handles.',
|
|
388
|
+
required: true,
|
|
389
|
+
},
|
|
390
|
+
],
|
|
391
|
+
},
|
|
392
|
+
|
|
393
|
+
TableHoverActionsPlugin: {
|
|
394
|
+
name: 'TableHoverActionsPlugin',
|
|
395
|
+
displayName: 'Table Hover Actions Plugin',
|
|
396
|
+
package: '@vlrc-fe/editor',
|
|
397
|
+
category: 'Editor Plugins',
|
|
398
|
+
keywords: ['table', 'hover', 'quick-add', 'plus-button', 'row', 'col'],
|
|
399
|
+
import: "import { TableHoverActionsPlugin } from '@vlrc-fe/editor';",
|
|
400
|
+
description:
|
|
401
|
+
'Floating quick "+" buttons on table cell borders for fast single-click row and column addition.',
|
|
402
|
+
bestPractices: [
|
|
403
|
+
{
|
|
404
|
+
guidance: true,
|
|
405
|
+
description: 'Hover near cell borders to reveal 1-click addition triggers.',
|
|
406
|
+
},
|
|
407
|
+
],
|
|
408
|
+
props: [
|
|
409
|
+
{
|
|
410
|
+
name: 'anchorElem',
|
|
411
|
+
type: 'HTMLElement',
|
|
412
|
+
description: 'Anchor DOM container.',
|
|
413
|
+
required: true,
|
|
414
|
+
},
|
|
415
|
+
],
|
|
416
|
+
},
|
|
417
|
+
|
|
418
|
+
// --- VLRC Components ---
|
|
419
|
+
SignaturePad: {
|
|
420
|
+
name: 'SignaturePad',
|
|
421
|
+
displayName: 'Signature Pad',
|
|
422
|
+
package: '@vlrc-fe/components',
|
|
423
|
+
category: 'Data Entry',
|
|
424
|
+
keywords: ['signature', 'canvas', 'pen', 'drawing', 'sign'],
|
|
425
|
+
import: "import { SignaturePad } from '@vlrc-fe/components';",
|
|
426
|
+
description:
|
|
427
|
+
'High-performance canvas digital signature pad supporting pressure smoothing, color selection, stroke width, undo, clear, and PNG export.',
|
|
428
|
+
bestPractices: [
|
|
429
|
+
{
|
|
430
|
+
guidance: true,
|
|
431
|
+
description: 'Use in contract signing, approval workflows, or form verification.',
|
|
432
|
+
},
|
|
433
|
+
{ guidance: true, description: 'Listen to onSave to receive the base64 PNG data URL.' },
|
|
434
|
+
],
|
|
435
|
+
props: [
|
|
436
|
+
{
|
|
437
|
+
name: 'onSave',
|
|
438
|
+
type: '(dataUrl: string) => void',
|
|
439
|
+
description: 'Callback fired with PNG base64 data URL.',
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
name: 'strokeColor',
|
|
443
|
+
type: 'string',
|
|
444
|
+
default: "'#0f172a'",
|
|
445
|
+
description: 'Pen stroke color token.',
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
name: 'strokeWidth',
|
|
449
|
+
type: 'number',
|
|
450
|
+
default: '2.5',
|
|
451
|
+
description: 'Pen stroke thickness in pixels.',
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
name: 'backgroundColor',
|
|
455
|
+
type: 'string',
|
|
456
|
+
default: "'#ffffff'",
|
|
457
|
+
description: 'Canvas background color.',
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
name: 'width',
|
|
461
|
+
type: 'number | string',
|
|
462
|
+
default: "'100%'",
|
|
463
|
+
description: 'Width of signature pad.',
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
name: 'height',
|
|
467
|
+
type: 'number',
|
|
468
|
+
default: '200',
|
|
469
|
+
description: 'Height of signature pad canvas in pixels.',
|
|
470
|
+
},
|
|
471
|
+
{
|
|
472
|
+
name: 'disabled',
|
|
473
|
+
type: 'boolean',
|
|
474
|
+
default: 'false',
|
|
475
|
+
description: 'Disables canvas interaction.',
|
|
476
|
+
},
|
|
477
|
+
{ name: 'sx', type: 'StyleXStyles', description: 'Meta StyleX style override.' },
|
|
478
|
+
],
|
|
479
|
+
},
|
|
480
|
+
|
|
481
|
+
Questionnaire: {
|
|
482
|
+
name: 'Questionnaire',
|
|
483
|
+
displayName: 'Questionnaire & Assessment',
|
|
484
|
+
package: '@vlrc-fe/components',
|
|
485
|
+
category: 'Data Entry',
|
|
486
|
+
keywords: ['questionnaire', 'survey', 'form', 'quiz', 'multi-step', 'assessment'],
|
|
487
|
+
import: "import { Questionnaire } from '@vlrc-fe/components';",
|
|
488
|
+
description:
|
|
489
|
+
'Multi-step interactive questionnaire and assessment engine supporting single choice, multiple choice, text inputs, ratings, and progress tracking.',
|
|
490
|
+
bestPractices: [
|
|
491
|
+
{
|
|
492
|
+
guidance: true,
|
|
493
|
+
description: 'Use for customer surveys, onboarding wizards, and multi-step assessments.',
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
guidance: true,
|
|
497
|
+
description: 'Enforces validation on mandatory questions before moving to the next step.',
|
|
498
|
+
},
|
|
499
|
+
],
|
|
500
|
+
props: [
|
|
501
|
+
{
|
|
502
|
+
name: 'questions',
|
|
503
|
+
type: 'QuestionnaireItem[]',
|
|
504
|
+
description: 'Array of questions and answer options.',
|
|
505
|
+
required: true,
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
name: 'onSubmit',
|
|
509
|
+
type: '(answers: Record<string, any>) => void',
|
|
510
|
+
description: 'Callback fired on completion.',
|
|
511
|
+
required: true,
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
name: 'onStepChange',
|
|
515
|
+
type: '(stepIndex: number) => void',
|
|
516
|
+
description: 'Fired when active step advances.',
|
|
517
|
+
},
|
|
518
|
+
{
|
|
519
|
+
name: 'allowSkip',
|
|
520
|
+
type: 'boolean',
|
|
521
|
+
default: 'false',
|
|
522
|
+
description: 'Allows skipping optional questions.',
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
name: 'showProgress',
|
|
526
|
+
type: 'boolean',
|
|
527
|
+
default: 'true',
|
|
528
|
+
description: 'Renders progress bar above questions.',
|
|
529
|
+
},
|
|
530
|
+
{ name: 'sx', type: 'StyleXStyles', description: 'Meta StyleX style override.' },
|
|
531
|
+
],
|
|
532
|
+
},
|
|
533
|
+
|
|
534
|
+
Marker: {
|
|
535
|
+
name: 'Marker',
|
|
536
|
+
displayName: 'Text Marker Highlight',
|
|
537
|
+
package: '@vlrc-fe/components',
|
|
538
|
+
category: 'Typography',
|
|
539
|
+
keywords: ['marker', 'highlight', 'fluorescent', 'pen', 'text-accent'],
|
|
540
|
+
import: "import { Marker } from '@vlrc-fe/components';",
|
|
541
|
+
description:
|
|
542
|
+
'Accessible text highlight and marker primitive supporting fluorescent, pen, and underline effects using design tokens.',
|
|
543
|
+
bestPractices: [
|
|
544
|
+
{
|
|
545
|
+
guidance: true,
|
|
546
|
+
description: 'Use to draw visual attention to key terms, phrases, or search results.',
|
|
547
|
+
},
|
|
548
|
+
],
|
|
549
|
+
props: [
|
|
550
|
+
{
|
|
551
|
+
name: 'variant',
|
|
552
|
+
type: "'fluorescent' | 'pen' | 'underline'",
|
|
553
|
+
default: "'fluorescent'",
|
|
554
|
+
description: 'Visual marker style.',
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
name: 'color',
|
|
558
|
+
type: "'yellow' | 'green' | 'blue' | 'pink' | 'purple'",
|
|
559
|
+
default: "'yellow'",
|
|
560
|
+
description: 'Color palette accent.',
|
|
561
|
+
},
|
|
562
|
+
{ name: 'as', type: 'ElementType', default: "'mark'", description: 'HTML tag to render.' },
|
|
563
|
+
{
|
|
564
|
+
name: 'children',
|
|
565
|
+
type: 'ReactNode',
|
|
566
|
+
description: 'Text content to highlight.',
|
|
567
|
+
required: true,
|
|
568
|
+
},
|
|
569
|
+
{ name: 'sx', type: 'StyleXStyles', description: 'Meta StyleX style override.' },
|
|
570
|
+
],
|
|
571
|
+
},
|
|
572
|
+
|
|
573
|
+
CompareSlider: {
|
|
574
|
+
name: 'CompareSlider',
|
|
575
|
+
displayName: 'Compare Slider',
|
|
576
|
+
package: '@vlrc-fe/components',
|
|
577
|
+
category: 'Media & Presentation',
|
|
578
|
+
keywords: ['compare', 'slider', 'before-after', 'split-view', 'image-comparison'],
|
|
579
|
+
import: "import { CompareSlider } from '@vlrc-fe/components';",
|
|
580
|
+
description:
|
|
581
|
+
'Interactive before/after split view comparison slider with smooth touch, mouse, and keyboard accessibility.',
|
|
582
|
+
bestPractices: [
|
|
583
|
+
{
|
|
584
|
+
guidance: true,
|
|
585
|
+
description:
|
|
586
|
+
'Use for visual comparisons (e.g. before/after photo retouching, dark/light theme previews).',
|
|
587
|
+
},
|
|
588
|
+
],
|
|
589
|
+
props: [
|
|
590
|
+
{
|
|
591
|
+
name: 'itemOne',
|
|
592
|
+
type: 'ReactNode',
|
|
593
|
+
description: 'Left / top content to compare.',
|
|
594
|
+
required: true,
|
|
595
|
+
},
|
|
596
|
+
{
|
|
597
|
+
name: 'itemTwo',
|
|
598
|
+
type: 'ReactNode',
|
|
599
|
+
description: 'Right / bottom content to compare.',
|
|
600
|
+
required: true,
|
|
601
|
+
},
|
|
602
|
+
{
|
|
603
|
+
name: 'orientation',
|
|
604
|
+
type: "'horizontal' | 'vertical'",
|
|
605
|
+
default: "'horizontal'",
|
|
606
|
+
description: 'Slider axis orientation.',
|
|
607
|
+
},
|
|
608
|
+
{
|
|
609
|
+
name: 'position',
|
|
610
|
+
type: 'number',
|
|
611
|
+
default: '50',
|
|
612
|
+
description: 'Divider position percentage (0-100).',
|
|
613
|
+
},
|
|
614
|
+
{
|
|
615
|
+
name: 'onPositionChange',
|
|
616
|
+
type: '(pos: number) => void',
|
|
617
|
+
description: 'Fired when divider moves.',
|
|
618
|
+
},
|
|
619
|
+
{ name: 'sx', type: 'StyleXStyles', description: 'Meta StyleX style override.' },
|
|
620
|
+
],
|
|
621
|
+
},
|
|
622
|
+
|
|
623
|
+
TagsInput: {
|
|
624
|
+
name: 'TagsInput',
|
|
625
|
+
displayName: 'Tags Input',
|
|
626
|
+
package: '@vlrc-fe/components',
|
|
627
|
+
category: 'Form Controls',
|
|
628
|
+
keywords: ['tags', 'chips', 'keywords', 'input', 'multivalue'],
|
|
629
|
+
import: "import { TagsInput } from '@vlrc-fe/components';",
|
|
630
|
+
description:
|
|
631
|
+
'Keyboard-friendly multi-tag input with auto-complete, badge removal, paste parsing, and delimiter triggers (Enter, comma).',
|
|
632
|
+
bestPractices: [
|
|
633
|
+
{
|
|
634
|
+
guidance: true,
|
|
635
|
+
description: 'Use for category labels, meta keywords, and multi-value tag management.',
|
|
636
|
+
},
|
|
637
|
+
],
|
|
638
|
+
props: [
|
|
639
|
+
{ name: 'value', type: 'string[]', description: 'Current array of tags.', required: true },
|
|
640
|
+
{
|
|
641
|
+
name: 'onChange',
|
|
642
|
+
type: '(tags: string[]) => void',
|
|
643
|
+
description: 'Callback fired when tags are added or removed.',
|
|
644
|
+
required: true,
|
|
645
|
+
},
|
|
646
|
+
{
|
|
647
|
+
name: 'placeholder',
|
|
648
|
+
type: 'string',
|
|
649
|
+
default: "'Add tag...'",
|
|
650
|
+
description: 'Input placeholder.',
|
|
651
|
+
},
|
|
652
|
+
{ name: 'maxTags', type: 'number', description: 'Maximum allowed tags.' },
|
|
653
|
+
{
|
|
654
|
+
name: 'validateTag',
|
|
655
|
+
type: '(tag: string) => boolean',
|
|
656
|
+
description: 'Validation predicate for new tags.',
|
|
657
|
+
},
|
|
658
|
+
{ name: 'disabled', type: 'boolean', default: 'false', description: 'Disables input.' },
|
|
659
|
+
{ name: 'size', type: "'sm' | 'md' | 'lg'", default: "'md'", description: 'Size tier.' },
|
|
660
|
+
{ name: 'sx', type: 'StyleXStyles', description: 'Meta StyleX style override.' },
|
|
661
|
+
],
|
|
662
|
+
},
|
|
663
|
+
|
|
664
|
+
Masonry: {
|
|
665
|
+
name: 'Masonry',
|
|
666
|
+
displayName: 'Masonry Layout Grid',
|
|
667
|
+
package: '@vlrc-fe/components',
|
|
668
|
+
category: 'Layout',
|
|
669
|
+
keywords: ['masonry', 'pinterest', 'grid', 'responsive', 'columns'],
|
|
670
|
+
import: "import { Masonry } from '@vlrc-fe/components';",
|
|
671
|
+
description:
|
|
672
|
+
'Responsive Pinterest-style masonry grid layout with token-spaced gutters and automatic column balancing.',
|
|
673
|
+
bestPractices: [
|
|
674
|
+
{
|
|
675
|
+
guidance: true,
|
|
676
|
+
description:
|
|
677
|
+
'Use for photo galleries, cards of differing heights, and portfolio showcases.',
|
|
678
|
+
},
|
|
679
|
+
],
|
|
680
|
+
props: [
|
|
681
|
+
{
|
|
682
|
+
name: 'columns',
|
|
683
|
+
type: 'number | { xs?: number; sm?: number; md?: number; lg?: number; xl?: number }',
|
|
684
|
+
default: '3',
|
|
685
|
+
description: 'Column count or responsive breakpoint mapping.',
|
|
686
|
+
},
|
|
687
|
+
{
|
|
688
|
+
name: 'gap',
|
|
689
|
+
type: 'SpacingToken | number',
|
|
690
|
+
default: "'md'",
|
|
691
|
+
description: 'Gutter spacing between masonry items.',
|
|
692
|
+
},
|
|
693
|
+
{
|
|
694
|
+
name: 'children',
|
|
695
|
+
type: 'ReactNode',
|
|
696
|
+
description: 'Items to lay out in columns.',
|
|
697
|
+
required: true,
|
|
698
|
+
},
|
|
699
|
+
{ name: 'sx', type: 'StyleXStyles', description: 'Meta StyleX style override.' },
|
|
700
|
+
],
|
|
701
|
+
},
|
|
702
|
+
|
|
703
|
+
Gauge: {
|
|
704
|
+
name: 'Gauge',
|
|
705
|
+
displayName: 'Gauge Speedometer',
|
|
706
|
+
package: '@vlrc-fe/components',
|
|
707
|
+
category: 'Data Visualization',
|
|
708
|
+
keywords: ['gauge', 'speedometer', 'meter', 'radial', 'progress', 'score'],
|
|
709
|
+
import: "import { Gauge } from '@vlrc-fe/components';",
|
|
710
|
+
description:
|
|
711
|
+
'Radial speedometer and metric gauge component with customizable arc angles, min/max thresholds, and status colors.',
|
|
712
|
+
bestPractices: [
|
|
713
|
+
{
|
|
714
|
+
guidance: true,
|
|
715
|
+
description:
|
|
716
|
+
'Use for health scores, capacity usage, performance indicators, and speed metrics.',
|
|
717
|
+
},
|
|
718
|
+
],
|
|
719
|
+
props: [
|
|
720
|
+
{ name: 'value', type: 'number', description: 'Current numeric value.', required: true },
|
|
721
|
+
{ name: 'min', type: 'number', default: '0', description: 'Minimum scale value.' },
|
|
722
|
+
{ name: 'max', type: 'number', default: '100', description: 'Maximum scale value.' },
|
|
723
|
+
{
|
|
724
|
+
name: 'size',
|
|
725
|
+
type: "'sm' | 'md' | 'lg' | number",
|
|
726
|
+
default: "'md'",
|
|
727
|
+
description: 'Diameter size.',
|
|
728
|
+
},
|
|
729
|
+
{
|
|
730
|
+
name: 'showValue',
|
|
731
|
+
type: 'boolean',
|
|
732
|
+
default: 'true',
|
|
733
|
+
description: 'Displays value label in arc center.',
|
|
734
|
+
},
|
|
735
|
+
{ name: 'label', type: 'string', description: 'Secondary descriptive text below value.' },
|
|
736
|
+
{
|
|
737
|
+
name: 'status',
|
|
738
|
+
type: "'default' | 'success' | 'warning' | 'error'",
|
|
739
|
+
default: "'default'",
|
|
740
|
+
description: 'Arc color token status.',
|
|
741
|
+
},
|
|
742
|
+
{ name: 'sx', type: 'StyleXStyles', description: 'Meta StyleX style override.' },
|
|
743
|
+
],
|
|
744
|
+
},
|
|
745
|
+
|
|
746
|
+
CircularProgress: {
|
|
747
|
+
name: 'CircularProgress',
|
|
748
|
+
displayName: 'Circular Progress Indicator',
|
|
749
|
+
package: '@vlrc-fe/components',
|
|
750
|
+
category: 'Feedback',
|
|
751
|
+
keywords: ['circular-progress', 'spinner', 'loader', 'radial-progress'],
|
|
752
|
+
import: "import { CircularProgress } from '@vlrc-fe/components';",
|
|
753
|
+
description:
|
|
754
|
+
'Circular radial loading and progress indicator with smooth SVG animations, indeterminate state, and token styling.',
|
|
755
|
+
bestPractices: [
|
|
756
|
+
{
|
|
757
|
+
guidance: true,
|
|
758
|
+
description: 'Use for upload progress, file transfers, or asynchronous action loading.',
|
|
759
|
+
},
|
|
760
|
+
],
|
|
761
|
+
props: [
|
|
762
|
+
{ name: 'value', type: 'number', default: '0', description: 'Percentage completed (0-100).' },
|
|
763
|
+
{
|
|
764
|
+
name: 'size',
|
|
765
|
+
type: "'sm' | 'md' | 'lg' | number",
|
|
766
|
+
default: "'md'",
|
|
767
|
+
description: 'Size diameter.',
|
|
768
|
+
},
|
|
769
|
+
{
|
|
770
|
+
name: 'thickness',
|
|
771
|
+
type: 'number',
|
|
772
|
+
default: '3',
|
|
773
|
+
description: 'Stroke thickness in pixels.',
|
|
774
|
+
},
|
|
775
|
+
{
|
|
776
|
+
name: 'indeterminate',
|
|
777
|
+
type: 'boolean',
|
|
778
|
+
default: 'false',
|
|
779
|
+
description: 'Enables continuous spinning loader.',
|
|
780
|
+
},
|
|
781
|
+
{
|
|
782
|
+
name: 'status',
|
|
783
|
+
type: "'default' | 'success' | 'warning' | 'error'",
|
|
784
|
+
default: "'default'",
|
|
785
|
+
description: 'Color status.',
|
|
786
|
+
},
|
|
787
|
+
{
|
|
788
|
+
name: 'showLabel',
|
|
789
|
+
type: 'boolean',
|
|
790
|
+
default: 'false',
|
|
791
|
+
description: 'Renders percentage label inside circle.',
|
|
792
|
+
},
|
|
793
|
+
{ name: 'sx', type: 'StyleXStyles', description: 'Meta StyleX style override.' },
|
|
794
|
+
],
|
|
795
|
+
},
|
|
796
|
+
|
|
797
|
+
Stepper: {
|
|
798
|
+
name: 'Stepper',
|
|
799
|
+
displayName: 'Stepper Workflow',
|
|
800
|
+
package: '@vlrc-fe/components',
|
|
801
|
+
category: 'Navigation',
|
|
802
|
+
keywords: ['stepper', 'steps', 'workflow', 'wizard', 'process'],
|
|
803
|
+
import: "import { Stepper } from '@vlrc-fe/components';",
|
|
804
|
+
description:
|
|
805
|
+
'Multi-step workflow progress navigator supporting horizontal and vertical orientations, completed icons, and clickable steps.',
|
|
806
|
+
bestPractices: [
|
|
807
|
+
{
|
|
808
|
+
guidance: true,
|
|
809
|
+
description: 'Use for multi-page checkout flows, onboarding wizards, and setup checklists.',
|
|
810
|
+
},
|
|
811
|
+
],
|
|
812
|
+
props: [
|
|
813
|
+
{
|
|
814
|
+
name: 'activeStep',
|
|
815
|
+
type: 'number',
|
|
816
|
+
default: '0',
|
|
817
|
+
description: 'Zero-indexed active step.',
|
|
818
|
+
},
|
|
819
|
+
{
|
|
820
|
+
name: 'steps',
|
|
821
|
+
type: 'Array<{ title: string; description?: string; icon?: ReactNode }>',
|
|
822
|
+
description: 'List of step definitions.',
|
|
823
|
+
required: true,
|
|
824
|
+
},
|
|
825
|
+
{
|
|
826
|
+
name: 'orientation',
|
|
827
|
+
type: "'horizontal' | 'vertical'",
|
|
828
|
+
default: "'horizontal'",
|
|
829
|
+
description: 'Layout axis.',
|
|
830
|
+
},
|
|
831
|
+
{
|
|
832
|
+
name: 'onStepClick',
|
|
833
|
+
type: '(stepIndex: number) => void',
|
|
834
|
+
description: 'Fired when a step header is clicked.',
|
|
835
|
+
},
|
|
836
|
+
{ name: 'size', type: "'sm' | 'md' | 'lg'", default: "'md'", description: 'Size tier.' },
|
|
837
|
+
{ name: 'sx', type: 'StyleXStyles', description: 'Meta StyleX style override.' },
|
|
838
|
+
],
|
|
839
|
+
},
|
|
840
|
+
|
|
841
|
+
Timeline: {
|
|
842
|
+
name: 'Timeline',
|
|
843
|
+
displayName: 'Event Timeline',
|
|
844
|
+
package: '@vlrc-fe/components',
|
|
845
|
+
category: 'Data Presentation',
|
|
846
|
+
keywords: ['timeline', 'events', 'history', 'activity-log', 'audit'],
|
|
847
|
+
import: "import { Timeline } from '@vlrc-fe/components';",
|
|
848
|
+
description:
|
|
849
|
+
'Chronological event timeline display with customizable markers, icons, line styles, and timestamps.',
|
|
850
|
+
bestPractices: [
|
|
851
|
+
{
|
|
852
|
+
guidance: true,
|
|
853
|
+
description: 'Use for audit logs, order tracking history, and project milestones.',
|
|
854
|
+
},
|
|
855
|
+
],
|
|
856
|
+
props: [
|
|
857
|
+
{
|
|
858
|
+
name: 'items',
|
|
859
|
+
type: 'TimelineItem[]',
|
|
860
|
+
description: 'Array of timeline events.',
|
|
861
|
+
required: true,
|
|
862
|
+
},
|
|
863
|
+
{
|
|
864
|
+
name: 'align',
|
|
865
|
+
type: "'left' | 'right' | 'alternate'",
|
|
866
|
+
default: "'left'",
|
|
867
|
+
description: 'Item content alignment relative to center line.',
|
|
868
|
+
},
|
|
869
|
+
{ name: 'reverse', type: 'boolean', default: 'false', description: 'Reverses item order.' },
|
|
870
|
+
{ name: 'sx', type: 'StyleXStyles', description: 'Meta StyleX style override.' },
|
|
871
|
+
],
|
|
872
|
+
},
|
|
873
|
+
|
|
874
|
+
CopyButton: {
|
|
875
|
+
name: 'CopyButton',
|
|
876
|
+
displayName: 'Copy Button',
|
|
877
|
+
package: '@vlrc-fe/components',
|
|
878
|
+
category: 'Buttons',
|
|
879
|
+
keywords: ['copy', 'clipboard', 'button', 'copy-to-clipboard'],
|
|
880
|
+
import: "import { CopyButton } from '@vlrc-fe/components';",
|
|
881
|
+
description:
|
|
882
|
+
'Accessible dedicated clipboard copy button with feedback check animation, tooltip, and error handling.',
|
|
883
|
+
bestPractices: [
|
|
884
|
+
{
|
|
885
|
+
guidance: true,
|
|
886
|
+
description: 'Use next to code snippets, API keys, URLs, or transaction IDs.',
|
|
887
|
+
},
|
|
888
|
+
],
|
|
889
|
+
props: [
|
|
890
|
+
{
|
|
891
|
+
name: 'value',
|
|
892
|
+
type: 'string',
|
|
893
|
+
description: 'Text string to copy to clipboard.',
|
|
894
|
+
required: true,
|
|
895
|
+
},
|
|
896
|
+
{ name: 'onCopy', type: '() => void', description: 'Callback fired after successful copy.' },
|
|
897
|
+
{
|
|
898
|
+
name: 'timeout',
|
|
899
|
+
type: 'number',
|
|
900
|
+
default: '2000',
|
|
901
|
+
description: 'Duration in ms to display checkmark icon.',
|
|
902
|
+
},
|
|
903
|
+
{
|
|
904
|
+
name: 'size',
|
|
905
|
+
type: "'xs' | 'sm' | 'md' | 'lg'",
|
|
906
|
+
default: "'sm'",
|
|
907
|
+
description: 'Button size.',
|
|
908
|
+
},
|
|
909
|
+
{
|
|
910
|
+
name: 'variant',
|
|
911
|
+
type: "'ghost' | 'outline' | 'default'",
|
|
912
|
+
default: "'ghost'",
|
|
913
|
+
description: 'Button appearance variant.',
|
|
914
|
+
},
|
|
915
|
+
{ name: 'sx', type: 'StyleXStyles', description: 'Meta StyleX style override.' },
|
|
916
|
+
],
|
|
917
|
+
},
|
|
918
|
+
|
|
919
|
+
DataTable: {
|
|
920
|
+
name: 'DataTable',
|
|
921
|
+
displayName: 'Enterprise Data Table',
|
|
922
|
+
package: '@vlrc-fe/components',
|
|
923
|
+
category: 'Table & List',
|
|
924
|
+
keywords: ['datatable', 'table', 'grid', 'tanstack-table', 'virtualized', 'faceted-filter'],
|
|
925
|
+
import: "import { DataTable } from '@vlrc-fe/components/DataTable';",
|
|
926
|
+
description:
|
|
927
|
+
'High-performance enterprise data table powered by TanStack Table v8 and Astryx design tokens. Supports faceted filtering, sorting, pagination, row selection, and loading skeletons.',
|
|
928
|
+
bestPractices: [
|
|
929
|
+
{
|
|
930
|
+
guidance: true,
|
|
931
|
+
description: 'Use for administrative dashboards, data grids, and large record lists.',
|
|
932
|
+
},
|
|
933
|
+
{
|
|
934
|
+
guidance: true,
|
|
935
|
+
description:
|
|
936
|
+
'Combine with DataTableColumnHeader and DataTableFacetedFilter for advanced column control.',
|
|
937
|
+
},
|
|
938
|
+
],
|
|
939
|
+
props: [
|
|
940
|
+
{
|
|
941
|
+
name: 'columns',
|
|
942
|
+
type: 'ColumnDef<TData, TValue>[]',
|
|
943
|
+
description: 'TanStack column definition schemas.',
|
|
944
|
+
required: true,
|
|
945
|
+
},
|
|
946
|
+
{ name: 'data', type: 'TData[]', description: 'Row data records.', required: true },
|
|
947
|
+
{ name: 'filterKey', type: 'string', description: 'Column key for global text search.' },
|
|
948
|
+
{
|
|
949
|
+
name: 'filterableColumns',
|
|
950
|
+
type: 'Array<{ id: string; title: string; options: Option[] }>',
|
|
951
|
+
description: 'Faceted filter dropdown configurations.',
|
|
952
|
+
},
|
|
953
|
+
{
|
|
954
|
+
name: 'selectable',
|
|
955
|
+
type: 'boolean',
|
|
956
|
+
default: 'false',
|
|
957
|
+
description: 'Enables row checkbox selection.',
|
|
958
|
+
},
|
|
959
|
+
{
|
|
960
|
+
name: 'paginated',
|
|
961
|
+
type: 'boolean',
|
|
962
|
+
default: 'true',
|
|
963
|
+
description: 'Enables pagination controls.',
|
|
964
|
+
},
|
|
965
|
+
{ name: 'pageSize', type: 'number', default: '10', description: 'Rows per page.' },
|
|
966
|
+
{
|
|
967
|
+
name: 'loading',
|
|
968
|
+
type: 'boolean',
|
|
969
|
+
default: 'false',
|
|
970
|
+
description: 'Displays loading skeleton rows.',
|
|
971
|
+
},
|
|
972
|
+
{ name: 'sx', type: 'StyleXStyles', description: 'Meta StyleX style override.' },
|
|
973
|
+
],
|
|
974
|
+
},
|
|
975
|
+
|
|
976
|
+
ResponsiveDialog: {
|
|
977
|
+
name: 'ResponsiveDialog',
|
|
978
|
+
displayName: 'Responsive Modal Dialog / Drawer',
|
|
979
|
+
package: '@vlrc-fe/components',
|
|
980
|
+
category: 'Overlays',
|
|
981
|
+
keywords: ['dialog', 'drawer', 'responsive-dialog', 'modal', 'mobile-drawer'],
|
|
982
|
+
import: "import { ResponsiveDialog } from '@vlrc-fe/components';",
|
|
983
|
+
description:
|
|
984
|
+
'Adaptive modal dialog that renders as a desktop Dialog on md+ screens and transforms seamlessly into a native touch Drawer on mobile devices.',
|
|
985
|
+
bestPractices: [
|
|
986
|
+
{
|
|
987
|
+
guidance: true,
|
|
988
|
+
description:
|
|
989
|
+
'Use for modals that must provide an ergonomic native experience across mobile and desktop.',
|
|
990
|
+
},
|
|
991
|
+
],
|
|
992
|
+
props: [
|
|
993
|
+
{
|
|
994
|
+
name: 'open',
|
|
995
|
+
type: 'boolean',
|
|
996
|
+
description: 'Controlled visibility state.',
|
|
997
|
+
required: true,
|
|
998
|
+
},
|
|
999
|
+
{
|
|
1000
|
+
name: 'onOpenChange',
|
|
1001
|
+
type: '(open: boolean) => void',
|
|
1002
|
+
description: 'Visibility change callback.',
|
|
1003
|
+
required: true,
|
|
1004
|
+
},
|
|
1005
|
+
{ name: 'title', type: 'string', description: 'Accessible dialog title.' },
|
|
1006
|
+
{ name: 'description', type: 'string', description: 'Accessible description.' },
|
|
1007
|
+
{ name: 'children', type: 'ReactNode', description: 'Modal content body.', required: true },
|
|
1008
|
+
{ name: 'trigger', type: 'ReactNode', description: 'Optional trigger element.' },
|
|
1009
|
+
{ name: 'footer', type: 'ReactNode', description: 'Optional action buttons footer.' },
|
|
1010
|
+
],
|
|
1011
|
+
},
|
|
1012
|
+
|
|
1013
|
+
FormDatePicker: {
|
|
1014
|
+
name: 'FormDatePicker',
|
|
1015
|
+
displayName: 'Form Date Picker',
|
|
1016
|
+
package: '@vlrc-fe/components',
|
|
1017
|
+
category: 'Form Controls',
|
|
1018
|
+
keywords: ['datepicker', 'calendar', 'form-field', 'react-hook-form', 'date'],
|
|
1019
|
+
import: "import { FormDatePicker } from '@vlrc-fe/components/Form';",
|
|
1020
|
+
description:
|
|
1021
|
+
'Accessible calendar date picker field wrapper designed for react-hook-form, featuring popover calendar, presets, and validation display.',
|
|
1022
|
+
bestPractices: [
|
|
1023
|
+
{
|
|
1024
|
+
guidance: true,
|
|
1025
|
+
description: 'Use inside a <Form> container with control and name bindings.',
|
|
1026
|
+
},
|
|
1027
|
+
],
|
|
1028
|
+
props: [
|
|
1029
|
+
{ name: 'name', type: 'string', description: 'Form field property path.', required: true },
|
|
1030
|
+
{
|
|
1031
|
+
name: 'control',
|
|
1032
|
+
type: 'Control<any>',
|
|
1033
|
+
description: 'React Hook Form control object.',
|
|
1034
|
+
required: true,
|
|
1035
|
+
},
|
|
1036
|
+
{ name: 'label', type: 'string', description: 'Field label.' },
|
|
1037
|
+
{
|
|
1038
|
+
name: 'placeholder',
|
|
1039
|
+
type: 'string',
|
|
1040
|
+
default: "'Select date...'",
|
|
1041
|
+
description: 'Input trigger placeholder.',
|
|
1042
|
+
},
|
|
1043
|
+
{ name: 'disabled', type: 'boolean', default: 'false', description: 'Disables field.' },
|
|
1044
|
+
],
|
|
1045
|
+
},
|
|
1046
|
+
};
|
|
1047
|
+
|
|
1048
|
+
/**
|
|
1049
|
+
* Format a component record into Astryx CLI human-readable markdown.
|
|
1050
|
+
* @param {typeof VLRC_COMPONENTS[keyof typeof VLRC_COMPONENTS]} comp
|
|
1051
|
+
* @param {{ propsOnly?: boolean }} [options]
|
|
1052
|
+
*/
|
|
1053
|
+
export function formatComponentDoc(comp, options = {}) {
|
|
1054
|
+
const { propsOnly = false } = options;
|
|
1055
|
+
|
|
1056
|
+
let propsMarkdown =
|
|
1057
|
+
'## Props\n\n| Prop | Type | Default | Description |\n|------|------|---------|-------------|\n';
|
|
1058
|
+
for (const p of comp.props || []) {
|
|
1059
|
+
const req = p.required ? ' **(required)**' : '';
|
|
1060
|
+
const def = p.default || '-';
|
|
1061
|
+
propsMarkdown += `| \`${p.name}\` | \`${p.type}\` | ${def} | ${p.description}${req} |\n`;
|
|
1062
|
+
}
|
|
1063
|
+
|
|
1064
|
+
if (propsOnly) {
|
|
1065
|
+
return `package: ${comp.package}\n\n${propsMarkdown}`;
|
|
1066
|
+
}
|
|
1067
|
+
|
|
1068
|
+
let bestPracticesMd = '';
|
|
1069
|
+
if (comp.bestPractices && comp.bestPractices.length > 0) {
|
|
1070
|
+
bestPracticesMd = '## Best Practices\n\n';
|
|
1071
|
+
for (const bp of comp.bestPractices) {
|
|
1072
|
+
const prefix = bp.guidance ? '- **Do:**' : "- **Don't:**";
|
|
1073
|
+
bestPracticesMd += `${prefix} ${bp.description}\n`;
|
|
1074
|
+
}
|
|
1075
|
+
bestPracticesMd += '\n';
|
|
1076
|
+
}
|
|
1077
|
+
|
|
1078
|
+
return `package: ${comp.package}
|
|
1079
|
+
|
|
1080
|
+
# ${comp.name}
|
|
1081
|
+
|
|
1082
|
+
${comp.description}
|
|
1083
|
+
|
|
1084
|
+
**Import:** \`${comp.import}\`
|
|
1085
|
+
|
|
1086
|
+
${bestPracticesMd}${propsMarkdown}`;
|
|
1087
|
+
}
|
|
1088
|
+
|
|
1089
|
+
/**
|
|
1090
|
+
* Format a component into typed JSON envelope matching Astryx CLI spec.
|
|
1091
|
+
* @param {typeof VLRC_COMPONENTS[keyof typeof VLRC_COMPONENTS]} comp
|
|
1092
|
+
*/
|
|
1093
|
+
export function formatComponentJson(comp) {
|
|
1094
|
+
return JSON.stringify(
|
|
1095
|
+
{
|
|
1096
|
+
apiVersion: 1,
|
|
1097
|
+
type: 'component.detail',
|
|
1098
|
+
package: comp.package,
|
|
1099
|
+
data: {
|
|
1100
|
+
name: comp.name,
|
|
1101
|
+
displayName: comp.displayName,
|
|
1102
|
+
category: comp.category,
|
|
1103
|
+
keywords: comp.keywords,
|
|
1104
|
+
props: comp.props,
|
|
1105
|
+
usage: {
|
|
1106
|
+
description: comp.description,
|
|
1107
|
+
bestPractices: comp.bestPractices,
|
|
1108
|
+
},
|
|
1109
|
+
package: comp.package,
|
|
1110
|
+
import: comp.import,
|
|
1111
|
+
sourceAvailable: true,
|
|
1112
|
+
},
|
|
1113
|
+
meta: {
|
|
1114
|
+
answeredBy: {
|
|
1115
|
+
cli: '0.7.16',
|
|
1116
|
+
core: '0.7.16',
|
|
1117
|
+
copy: 'vlrc-bridge',
|
|
1118
|
+
},
|
|
1119
|
+
},
|
|
1120
|
+
},
|
|
1121
|
+
null,
|
|
1122
|
+
2,
|
|
1123
|
+
);
|
|
1124
|
+
}
|