onekijs-ui 0.9.2 → 0.15.2
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/dist/components/accordion/AccordionService.d.ts +7 -0
- package/dist/components/accordion/components/AccordionComponent.d.ts +16 -0
- package/dist/components/accordion/components/AccordionContainer.d.ts +4 -0
- package/dist/components/accordion/components/AccordionPanel.d.ts +4 -0
- package/dist/components/accordion/components/AccordionPanelTitle.d.ts +4 -0
- package/dist/components/accordion/hooks/useAccordionPanel.d.ts +3 -0
- package/dist/components/accordion/hooks/useAccordionService.d.ts +5 -0
- package/dist/components/accordion/hooks/useAccordionState.d.ts +4 -0
- package/dist/components/accordion/index.d.ts +16 -0
- package/dist/components/accordion/style.d.ts +3 -0
- package/dist/components/accordion/typings.d.ts +45 -0
- package/dist/components/button/DropdownButton.d.ts +3 -0
- package/dist/components/button/SubmitButton.d.ts +4 -0
- package/dist/components/button/components/ButtonComponent.d.ts +4 -0
- package/dist/components/button/components/DropdownButtonComponent.d.ts +4 -0
- package/dist/components/button/index.d.ts +3 -3
- package/dist/components/button/style.d.ts +5 -4
- package/dist/components/button/typings.d.ts +19 -4
- package/dist/components/card/FormCard.d.ts +4 -0
- package/dist/components/card/components/CardComponent.d.ts +4 -0
- package/dist/components/card/components/CardTitle.d.ts +4 -0
- package/dist/components/card/index.d.ts +2 -0
- package/dist/components/card/style.d.ts +3 -0
- package/dist/components/card/typings.d.ts +24 -0
- package/dist/components/checkbox/FormCheckbox.d.ts +4 -0
- package/dist/components/checkbox/components/CheckboxComponent.d.ts +4 -0
- package/dist/components/checkbox/index.d.ts +3 -0
- package/dist/components/checkbox/style.d.ts +4 -0
- package/dist/components/checkbox/typings.d.ts +14 -0
- package/dist/components/dashboard/DashboardService.d.ts +27 -0
- package/dist/components/dashboard/components/DashboardBody.d.ts +5 -0
- package/dist/components/dashboard/components/DashboardComponent.d.ts +7 -0
- package/dist/components/dashboard/components/DashboardContainer.d.ts +5 -0
- package/dist/components/dashboard/components/DashboardFooter.d.ts +2 -0
- package/dist/components/dashboard/components/DashboardHeader.d.ts +2 -0
- package/dist/components/dashboard/components/DashboardLeft.d.ts +2 -0
- package/dist/components/dashboard/components/DashboardOverlay.d.ts +6 -0
- package/dist/components/dashboard/components/DashboardRight.d.ts +2 -0
- package/dist/components/dashboard/components/DashboardToggler.d.ts +5 -0
- package/dist/components/dashboard/hoc/dashboardHorizontalPanel.d.ts +4 -0
- package/dist/components/dashboard/hoc/dashboardVerticalPanel.d.ts +4 -0
- package/dist/components/dashboard/hooks/useDashboard.d.ts +5 -0
- package/dist/components/dashboard/hooks/useDashboardService.d.ts +5 -0
- package/dist/components/dashboard/hooks/useDashboardState.d.ts +5 -0
- package/dist/components/dashboard/index.d.ts +4 -0
- package/dist/components/dashboard/typings.d.ts +96 -0
- package/dist/components/dashboard/utils/dashboardArea.d.ts +3 -0
- package/dist/components/dashboard/utils/dashboardLength.d.ts +5 -0
- package/dist/components/dropdown/components/DropdownComponent.d.ts +4 -4
- package/dist/components/dropdown/hooks/useDropdown.d.ts +5 -0
- package/dist/components/dropdown/index.d.ts +2 -3
- package/dist/components/dropdown/style.d.ts +4 -4
- package/dist/components/dropdown/typings.d.ts +24 -5
- package/dist/components/field/FieldDescription.d.ts +3 -0
- package/dist/components/field/FieldHelp.d.ts +3 -0
- package/dist/components/field/FieldLayout.d.ts +2 -0
- package/dist/components/field/components/FieldDescriptionComponent.d.ts +4 -0
- package/dist/components/field/components/FieldHelpComponent.d.ts +4 -0
- package/dist/components/field/components/FieldLayoutComponent.d.ts +4 -0
- package/dist/components/field/hooks/useFieldLayout.d.ts +4 -0
- package/dist/components/field/style.d.ts +5 -0
- package/dist/components/field/typings.d.ts +53 -0
- package/dist/components/field/util.d.ts +9 -0
- package/dist/components/grid/Col.d.ts +4 -0
- package/dist/components/grid/Row.d.ts +4 -0
- package/dist/components/grid/style.d.ts +4 -0
- package/dist/components/grid/typings.d.ts +33 -0
- package/dist/components/icon/CloseAllIcon.d.ts +4 -0
- package/dist/components/icon/CrossIcon.d.ts +3 -0
- package/dist/components/icon/FileIcon.d.ts +4 -0
- package/dist/components/icon/FolderIcon.d.ts +4 -0
- package/dist/components/icon/LoadingIcon.d.ts +4 -3
- package/dist/components/icon/MenuIcon.d.ts +4 -0
- package/dist/components/icon/RemoveIcon.d.ts +4 -0
- package/dist/components/icon/SearchIcon.d.ts +4 -0
- package/dist/components/icon/TogglerIcon.d.ts +4 -0
- package/dist/components/icon/typings.d.ts +14 -0
- package/dist/components/input/FormInput.d.ts +4 -0
- package/dist/components/input/components/InputComponent.d.ts +4 -0
- package/dist/components/input/index.d.ts +3 -0
- package/dist/components/input/style.d.ts +4 -0
- package/dist/components/input/typings.d.ts +14 -0
- package/dist/components/label/components/LabelComponent.d.ts +4 -0
- package/dist/components/label/index.d.ts +3 -0
- package/dist/components/label/style.d.ts +4 -0
- package/dist/components/label/typings.d.ts +16 -0
- package/dist/components/list/components/ArrayListComponent.d.ts +4 -0
- package/dist/components/list/components/CollectionListComponent.d.ts +4 -0
- package/dist/components/list/components/ListBodyComponent.d.ts +4 -0
- package/dist/components/list/components/ListComponent.d.ts +4 -4
- package/dist/components/list/components/ListItemComponent.d.ts +6 -4
- package/dist/components/list/components/LoadingItem.d.ts +5 -0
- package/dist/components/list/components/StandardListComponent.d.ts +4 -4
- package/dist/components/list/components/VirtualListComponent.d.ts +4 -4
- package/dist/components/list/hooks/useListController.d.ts +4 -0
- package/dist/components/list/hooks/useListService.d.ts +5 -0
- package/dist/components/list/hooks/useListState.d.ts +5 -0
- package/dist/components/list/hooks/useListView.d.ts +22 -0
- package/dist/components/list/index.d.ts +3 -3
- package/dist/components/list/style.d.ts +4 -4
- package/dist/components/list/typings.d.ts +121 -35
- package/dist/components/list/utils.d.ts +3 -4
- package/dist/components/modal/components/ModalComponent.d.ts +4 -0
- package/dist/components/modal/index.d.ts +2 -0
- package/dist/components/modal/style.d.ts +3 -0
- package/dist/components/modal/typings.d.ts +19 -0
- package/dist/components/properties/components/PropertiesComponent.d.ts +4 -0
- package/dist/components/properties/components/Property.d.ts +4 -0
- package/dist/components/properties/hooks/usePropertiesContext.d.ts +5 -0
- package/dist/components/properties/index.d.ts +3 -0
- package/dist/components/properties/style.d.ts +3 -0
- package/dist/components/properties/typings.d.ts +26 -0
- package/dist/components/resizer/ResizerService.d.ts +17 -0
- package/dist/components/resizer/components/ResizerComponent.d.ts +4 -0
- package/dist/components/resizer/components/ResizerHorizontalSplitter.d.ts +4 -0
- package/dist/components/resizer/components/ResizerVerticalSplitter.d.ts +4 -0
- package/dist/components/resizer/index.d.ts +2 -0
- package/dist/components/resizer/style.d.ts +4 -0
- package/dist/components/resizer/typings.d.ts +34 -0
- package/dist/components/select/FormSelect.d.ts +4 -0
- package/dist/components/select/SelectService.d.ts +5 -0
- package/dist/components/select/components/ArraySelectComponent.d.ts +4 -0
- package/dist/components/select/components/ControllerSelectComponent.d.ts +4 -0
- package/dist/components/select/components/SelectComponent.d.ts +4 -4
- package/dist/components/select/components/SelectIconComponent.d.ts +4 -4
- package/dist/components/select/components/SelectInputComponent.d.ts +4 -4
- package/dist/components/select/components/SelectNotFoundComponent.d.ts +4 -0
- package/dist/components/select/components/SelectOptionComponent.d.ts +6 -4
- package/dist/components/select/components/SelectTokenComponent.d.ts +4 -0
- package/dist/components/select/components/SelectTokensComponent.d.ts +4 -0
- package/dist/components/select/hooks/useSelectConfig.d.ts +4 -0
- package/dist/components/select/hooks/useSelectController.d.ts +6 -0
- package/dist/components/select/index.d.ts +3 -3
- package/dist/components/select/style.d.ts +4 -4
- package/dist/components/select/typings.d.ts +95 -37
- package/dist/components/tab/TabsService.d.ts +24 -0
- package/dist/components/tab/components/ControlledTabsComponent.d.ts +4 -0
- package/dist/components/tab/components/Tab.d.ts +4 -0
- package/dist/components/tab/components/TabTitle.d.ts +4 -0
- package/dist/components/tab/components/TabsComponent.d.ts +4 -0
- package/dist/components/tab/components/TabsContainer.d.ts +4 -0
- package/dist/components/tab/components/UncontrolledTabsComponent.d.ts +4 -0
- package/dist/components/tab/hooks/useTab.d.ts +5 -0
- package/dist/components/tab/hooks/useTabsController.d.ts +3 -0
- package/dist/components/tab/hooks/useTabsService.d.ts +5 -0
- package/dist/components/tab/hooks/useTabsState.d.ts +4 -0
- package/dist/components/tab/index.d.ts +2 -0
- package/dist/components/tab/style.d.ts +3 -0
- package/dist/components/tab/typings.d.ts +54 -0
- package/dist/components/table/FormTable.d.ts +4 -0
- package/dist/components/table/TableService.d.ts +18 -0
- package/dist/components/table/columns/useCheckboxColumn.d.ts +3 -0
- package/dist/components/table/columns/useColumn.d.ts +3 -0
- package/dist/components/table/columns/useInputColumn.d.ts +3 -0
- package/dist/components/table/columns/useLinkColumn.d.ts +3 -0
- package/dist/components/table/columns/useSelectColumn.d.ts +3 -0
- package/dist/components/table/components/ArrayTableComponent.d.ts +4 -0
- package/dist/components/table/components/ControllerTableComponent.d.ts +4 -0
- package/dist/components/table/components/FormTableComponent.d.ts +4 -0
- package/dist/components/table/components/TableBodyCellComponent.d.ts +4 -0
- package/dist/components/table/components/TableBodyComponent.d.ts +4 -0
- package/dist/components/table/components/TableBodyRowComponent.d.ts +4 -0
- package/dist/components/table/components/TableComponent.d.ts +4 -0
- package/dist/components/table/components/TableFooterCellComponent.d.ts +4 -0
- package/dist/components/table/components/TableFooterComponent.d.ts +4 -0
- package/dist/components/table/components/TableHeaderComponent.d.ts +4 -0
- package/dist/components/table/components/TableHeaderFilterComponent.d.ts +4 -0
- package/dist/components/table/components/TableHeaderTitleComponent.d.ts +5 -0
- package/dist/components/table/components/TableLoadingComponent.d.ts +3 -0
- package/dist/components/table/components/TableLoadingRowComponent.d.ts +3 -0
- package/dist/components/table/components/TableNotFoundComponent.d.ts +4 -0
- package/dist/components/table/components/TableSortComponent.d.ts +4 -0
- package/dist/components/table/components/cells/CheckboxCellComponent.d.ts +4 -0
- package/dist/components/table/components/cells/DefaultCellComponent.d.ts +4 -0
- package/dist/components/table/components/cells/ExpandedCellComponent.d.ts +4 -0
- package/dist/components/table/components/cells/InputCellComponent.d.ts +4 -0
- package/dist/components/table/components/cells/SelectCellComponent.d.ts +6 -0
- package/dist/components/table/components/filters/TableInputFilterComponent.d.ts +4 -0
- package/dist/components/table/components/hoc/linkCellComponent.d.ts +4 -0
- package/dist/components/table/hooks/useFormTableContext.d.ts +5 -0
- package/dist/components/table/hooks/useTableColumns.d.ts +3 -0
- package/dist/components/table/hooks/useTableConfig.d.ts +4 -0
- package/dist/components/table/hooks/useTableController.d.ts +5 -0
- package/dist/components/table/hooks/useTableInitialState.d.ts +3 -0
- package/dist/components/table/hooks/useTableItems.d.ts +3 -0
- package/dist/components/table/hooks/useTableService.d.ts +5 -0
- package/dist/components/table/hooks/useTableState.d.ts +4 -0
- package/dist/components/table/index.d.ts +3 -0
- package/dist/components/table/style.d.ts +3 -0
- package/dist/components/table/typings.d.ts +218 -0
- package/dist/components/table/util.d.ts +5 -0
- package/dist/components/tag/components/TagComponent.d.ts +4 -0
- package/dist/components/tag/index.d.ts +2 -0
- package/dist/components/tag/style.d.ts +3 -0
- package/dist/components/tag/typings.d.ts +16 -0
- package/dist/components/tooltip/components/TooltipComponent.d.ts +4 -0
- package/dist/components/tooltip/index.d.ts +2 -0
- package/dist/components/tooltip/style.d.ts +4 -0
- package/dist/components/tooltip/typings.d.ts +10 -0
- package/dist/components/tree/TreeService.d.ts +23 -0
- package/dist/components/tree/components/ArrayTreeComponent.d.ts +4 -0
- package/dist/components/tree/components/ControllerTreeComponent.d.ts +4 -0
- package/dist/components/tree/components/TreeBodyComponent.d.ts +4 -0
- package/dist/components/tree/components/TreeComponent.d.ts +4 -0
- package/dist/components/tree/components/TreeItemComponent.d.ts +6 -0
- package/dist/components/tree/components/TreeListComponent.d.ts +4 -0
- package/dist/components/tree/components/VirtualTreeBodyComponent.d.ts +4 -0
- package/dist/components/tree/components/VirtualTreeListComponent.d.ts +4 -0
- package/dist/components/tree/hooks/useTreeConfig.d.ts +4 -0
- package/dist/components/tree/hooks/useTreeController.d.ts +5 -0
- package/dist/components/tree/hooks/useTreeInitialState.d.ts +5 -0
- package/dist/components/tree/hooks/useTreeItems.d.ts +3 -0
- package/dist/components/tree/hooks/useTreeService.d.ts +5 -0
- package/dist/components/tree/hooks/useTreeState.d.ts +4 -0
- package/dist/components/tree/index.d.ts +3 -0
- package/dist/components/tree/style.d.ts +3 -0
- package/dist/components/tree/typings.d.ts +87 -0
- package/dist/components/wizard/WizardModal.d.ts +2 -0
- package/dist/components/wizard/WizardService.d.ts +17 -0
- package/dist/components/wizard/components/ControlledWizardComponent.d.ts +4 -0
- package/dist/components/wizard/components/Step.d.ts +4 -0
- package/dist/components/wizard/components/StepTitle.d.ts +4 -0
- package/dist/components/wizard/components/UncontrolledWizardComponent.d.ts +4 -0
- package/dist/components/wizard/components/WizardComponent.d.ts +4 -0
- package/dist/components/wizard/components/WizardContainer.d.ts +4 -0
- package/dist/components/wizard/components/WizardModalComponent.d.ts +4 -0
- package/dist/components/wizard/hooks/useStep.d.ts +5 -0
- package/dist/components/wizard/hooks/useWizardController.d.ts +3 -0
- package/dist/components/wizard/hooks/useWizardService.d.ts +5 -0
- package/dist/components/wizard/hooks/useWizardState.d.ts +4 -0
- package/dist/components/wizard/index.d.ts +2 -0
- package/dist/components/wizard/style.d.ts +4 -0
- package/dist/components/wizard/typings.d.ts +41 -0
- package/dist/index.d.ts +167 -33
- package/dist/index.js +9945 -5
- package/dist/index.js.map +1 -0
- package/dist/index.module.js +9546 -0
- package/dist/index.module.js.map +1 -0
- package/dist/styles/alignment.d.ts +13 -13
- package/dist/styles/animation.d.ts +10 -9
- package/dist/styles/background.d.ts +11 -11
- package/dist/styles/border.d.ts +39 -39
- package/dist/styles/display.d.ts +6 -5
- package/dist/styles/effects.d.ts +2 -2
- package/dist/styles/flex.d.ts +9 -9
- package/dist/styles/fragmentation.d.ts +6 -6
- package/dist/styles/grid.d.ts +28 -28
- package/dist/styles/icon.d.ts +4 -0
- package/dist/styles/image.d.ts +5 -5
- package/dist/styles/interactivity.d.ts +16 -16
- package/dist/styles/list.d.ts +5 -5
- package/dist/styles/overflow.d.ts +6 -6
- package/dist/styles/position.d.ts +10 -9
- package/dist/styles/size.d.ts +12 -13
- package/dist/styles/spacing.d.ts +16 -16
- package/dist/styles/svg.d.ts +5 -4
- package/dist/styles/table.d.ts +8 -8
- package/dist/styles/transform.d.ts +8 -8
- package/dist/styles/transition.d.ts +5 -5
- package/dist/styles/typings.d.ts +528 -20
- package/dist/styles/typography.d.ts +49 -49
- package/dist/theme/base.d.ts +4 -0
- package/dist/theme/tailwind.d.ts +5 -0
- package/dist/utils/color.d.ts +10 -7
- package/dist/utils/dom.d.ts +9 -0
- package/dist/utils/event.d.ts +2 -1
- package/dist/utils/formatter.d.ts +7 -7
- package/dist/utils/popper.d.ts +4 -4
- package/dist/utils/size.d.ts +3 -0
- package/dist/utils/style.d.ts +9 -7
- package/package.json +36 -24
- package/src/components/accordion/AccordionService.ts +36 -0
- package/src/components/accordion/components/AccordionComponent.tsx +37 -0
- package/src/components/accordion/components/AccordionContainer.tsx +11 -0
- package/src/components/accordion/components/AccordionPanel.tsx +74 -0
- package/src/components/accordion/components/AccordionPanelTitle.tsx +14 -0
- package/src/components/accordion/hooks/useAccordionPanel.ts +19 -0
- package/src/components/accordion/hooks/useAccordionService.ts +11 -0
- package/src/components/accordion/hooks/useAccordionState.ts +7 -0
- package/src/components/accordion/index.ts +23 -0
- package/src/components/accordion/style.ts +72 -0
- package/src/components/accordion/typings.ts +50 -0
- package/src/components/button/DropdownButton.tsx +9 -0
- package/src/components/button/SubmitButton.tsx +58 -0
- package/src/components/button/components/ButtonComponent.tsx +24 -0
- package/src/components/button/components/DropdownButtonComponent.tsx +82 -0
- package/src/components/button/index.tsx +1 -1
- package/src/components/button/style.ts +84 -8
- package/src/components/button/typings.ts +19 -2
- package/src/components/card/FormCard.tsx +24 -0
- package/src/components/card/components/CardComponent.tsx +83 -0
- package/src/components/card/components/CardTitle.tsx +14 -0
- package/src/components/card/index.tsx +9 -0
- package/src/components/card/style.ts +68 -0
- package/src/components/card/typings.ts +28 -0
- package/src/components/checkbox/FormCheckbox.tsx +26 -0
- package/src/components/checkbox/components/CheckboxComponent.tsx +42 -0
- package/src/components/checkbox/index.tsx +9 -0
- package/src/components/checkbox/style.ts +103 -0
- package/src/components/checkbox/typings.ts +18 -0
- package/src/components/dashboard/DashboardService.ts +412 -0
- package/src/components/dashboard/components/DashboardBody.tsx +138 -0
- package/src/components/dashboard/components/DashboardComponent.tsx +36 -0
- package/src/components/dashboard/components/DashboardContainer.tsx +64 -0
- package/src/components/dashboard/components/DashboardFooter.tsx +4 -0
- package/src/components/dashboard/components/DashboardHeader.tsx +4 -0
- package/src/components/dashboard/components/DashboardLeft.tsx +4 -0
- package/src/components/dashboard/components/DashboardOverlay.tsx +29 -0
- package/src/components/dashboard/components/DashboardRight.tsx +4 -0
- package/src/components/dashboard/components/DashboardToggler.tsx +17 -0
- package/src/components/dashboard/hoc/dashboardHorizontalPanel.tsx +145 -0
- package/src/components/dashboard/hoc/dashboardVerticalPanel.tsx +148 -0
- package/src/components/dashboard/hooks/useDashboard.tsx +21 -0
- package/src/components/dashboard/hooks/useDashboardService.ts +11 -0
- package/src/components/dashboard/hooks/useDashboardState.ts +11 -0
- package/src/components/dashboard/index.tsx +13 -0
- package/src/components/dashboard/typings.ts +124 -0
- package/src/components/dashboard/utils/dashboardArea.ts +27 -0
- package/src/components/dashboard/utils/dashboardLength.ts +42 -0
- package/src/components/dropdown/components/DropdownComponent.tsx +201 -23
- package/src/components/dropdown/hooks/useDropdown.tsx +21 -0
- package/src/components/dropdown/style.ts +10 -28
- package/src/components/dropdown/typings.ts +26 -4
- package/src/components/field/FieldDescription.tsx +9 -0
- package/src/components/field/FieldHelp.tsx +9 -0
- package/src/components/field/FieldLayout.tsx +9 -0
- package/src/components/field/components/FieldDescriptionComponent.tsx +14 -0
- package/src/components/field/components/FieldHelpComponent.tsx +22 -0
- package/src/components/field/components/FieldLayoutComponent.tsx +174 -0
- package/src/components/field/hooks/useFieldLayout.ts +36 -0
- package/src/components/field/style.ts +59 -0
- package/src/components/field/typings.ts +67 -0
- package/src/components/field/util.ts +47 -0
- package/src/components/grid/Col.tsx +33 -0
- package/src/components/grid/Row.tsx +35 -0
- package/src/components/grid/style.ts +93 -0
- package/src/components/grid/typings.ts +35 -0
- package/src/components/icon/CloseAllIcon.tsx +38 -0
- package/src/components/icon/CrossIcon.tsx +30 -0
- package/src/components/icon/FileIcon.tsx +36 -0
- package/src/components/icon/FolderIcon.tsx +36 -0
- package/src/components/icon/LoadingIcon.tsx +26 -23
- package/src/components/icon/MenuIcon.tsx +34 -0
- package/src/components/icon/RemoveIcon.tsx +36 -0
- package/src/components/icon/SearchIcon.tsx +38 -0
- package/src/components/icon/TogglerIcon.tsx +126 -0
- package/src/components/icon/typings.ts +15 -0
- package/src/components/input/FormInput.tsx +26 -0
- package/src/components/input/components/InputComponent.tsx +46 -0
- package/src/components/input/index.tsx +9 -0
- package/src/components/input/style.ts +85 -0
- package/src/components/input/typings.ts +17 -0
- package/src/components/label/components/LabelComponent.tsx +39 -0
- package/src/components/label/index.tsx +9 -0
- package/src/components/label/style.ts +64 -0
- package/src/components/label/typings.ts +17 -0
- package/src/components/list/components/ArrayListComponent.tsx +11 -0
- package/src/components/list/components/CollectionListComponent.tsx +77 -0
- package/src/components/list/components/ListBodyComponent.tsx +250 -0
- package/src/components/list/components/ListComponent.tsx +11 -25
- package/src/components/list/components/ListItemComponent.tsx +16 -4
- package/src/components/list/components/LoadingItem.tsx +24 -0
- package/src/components/list/components/StandardListComponent.tsx +23 -21
- package/src/components/list/components/VirtualListComponent.tsx +93 -110
- package/src/components/list/hooks/useListController.ts +19 -0
- package/src/components/list/hooks/useListService.ts +15 -0
- package/src/components/list/hooks/useListState.ts +10 -0
- package/src/components/list/hooks/useListView.tsx +103 -0
- package/src/components/list/typings.ts +162 -24
- package/src/components/list/utils.ts +17 -55
- package/src/components/modal/components/ModalComponent.tsx +132 -0
- package/src/components/modal/index.tsx +9 -0
- package/src/components/modal/style.ts +135 -0
- package/src/components/modal/typings.ts +20 -0
- package/src/components/properties/components/PropertiesComponent.tsx +44 -0
- package/src/components/properties/components/Property.tsx +40 -0
- package/src/components/properties/hooks/usePropertiesContext.ts +10 -0
- package/src/components/properties/index.tsx +9 -0
- package/src/components/properties/style.ts +17 -0
- package/src/components/properties/typings.ts +30 -0
- package/src/components/resizer/ResizerService.ts +96 -0
- package/src/components/resizer/components/ResizerComponent.tsx +28 -0
- package/src/components/resizer/components/ResizerHorizontalSplitter.tsx +38 -0
- package/src/components/resizer/components/ResizerVerticalSplitter.tsx +37 -0
- package/src/components/resizer/index.tsx +9 -0
- package/src/components/resizer/style.ts +51 -0
- package/src/components/resizer/typings.ts +40 -0
- package/src/components/select/FormSelect.tsx +26 -0
- package/src/components/select/SelectService.ts +9 -0
- package/src/components/select/components/ArraySelectComponent.tsx +11 -0
- package/src/components/select/components/ControllerSelectComponent.tsx +441 -0
- package/src/components/select/components/SelectComponent.tsx +13 -121
- package/src/components/select/components/SelectIconComponent.tsx +4 -4
- package/src/components/select/components/SelectInputComponent.tsx +220 -76
- package/src/components/select/components/SelectNotFoundComponent.tsx +14 -0
- package/src/components/select/components/SelectOptionComponent.tsx +54 -20
- package/src/components/select/components/SelectTokenComponent.tsx +25 -0
- package/src/components/select/components/SelectTokensComponent.tsx +50 -0
- package/src/components/select/hooks/useSelectConfig.ts +7 -0
- package/src/components/select/hooks/useSelectController.ts +21 -0
- package/src/components/select/index.tsx +0 -89
- package/src/components/select/style.ts +336 -47
- package/src/components/select/typings.ts +130 -24
- package/src/components/tab/TabsService.ts +192 -0
- package/src/components/tab/components/ControlledTabsComponent.tsx +18 -0
- package/src/components/tab/components/Tab.tsx +55 -0
- package/src/components/tab/components/TabTitle.tsx +18 -0
- package/src/components/tab/components/TabsComponent.tsx +15 -0
- package/src/components/tab/components/TabsContainer.tsx +36 -0
- package/src/components/tab/components/UncontrolledTabsComponent.tsx +13 -0
- package/src/components/tab/hooks/useTab.ts +18 -0
- package/src/components/tab/hooks/useTabsController.ts +15 -0
- package/src/components/tab/hooks/useTabsService.ts +11 -0
- package/src/components/tab/hooks/useTabsState.ts +7 -0
- package/src/components/tab/index.tsx +9 -0
- package/src/components/tab/style.ts +78 -0
- package/src/components/tab/typings.ts +59 -0
- package/src/components/table/FormTable.tsx +38 -0
- package/src/components/table/TableService.ts +123 -0
- package/src/components/table/columns/useCheckboxColumn.ts +24 -0
- package/src/components/table/columns/useColumn.ts +23 -0
- package/src/components/table/columns/useInputColumn.ts +24 -0
- package/src/components/table/columns/useLinkColumn.ts +19 -0
- package/src/components/table/columns/useSelectColumn.ts +26 -0
- package/src/components/table/components/ArrayTableComponent.tsx +14 -0
- package/src/components/table/components/ControllerTableComponent.tsx +167 -0
- package/src/components/table/components/FormTableComponent.tsx +143 -0
- package/src/components/table/components/TableBodyCellComponent.tsx +36 -0
- package/src/components/table/components/TableBodyComponent.tsx +96 -0
- package/src/components/table/components/TableBodyRowComponent.tsx +125 -0
- package/src/components/table/components/TableComponent.tsx +17 -0
- package/src/components/table/components/TableFooterCellComponent.tsx +28 -0
- package/src/components/table/components/TableFooterComponent.tsx +34 -0
- package/src/components/table/components/TableHeaderComponent.tsx +81 -0
- package/src/components/table/components/TableHeaderFilterComponent.tsx +31 -0
- package/src/components/table/components/TableHeaderTitleComponent.tsx +62 -0
- package/src/components/table/components/TableLoadingComponent.tsx +18 -0
- package/src/components/table/components/TableLoadingRowComponent.tsx +21 -0
- package/src/components/table/components/TableNotFoundComponent.tsx +14 -0
- package/src/components/table/components/TableSortComponent.tsx +29 -0
- package/src/components/table/components/cells/CheckboxCellComponent.tsx +42 -0
- package/src/components/table/components/cells/DefaultCellComponent.tsx +9 -0
- package/src/components/table/components/cells/ExpandedCellComponent.tsx +16 -0
- package/src/components/table/components/cells/InputCellComponent.tsx +27 -0
- package/src/components/table/components/cells/SelectCellComponent.tsx +41 -0
- package/src/components/table/components/filters/TableInputFilterComponent.tsx +134 -0
- package/src/components/table/components/hoc/linkCellComponent.tsx +15 -0
- package/src/components/table/hooks/useFormTableContext.ts +10 -0
- package/src/components/table/hooks/useTableColumns.ts +9 -0
- package/src/components/table/hooks/useTableConfig.ts +7 -0
- package/src/components/table/hooks/useTableController.ts +26 -0
- package/src/components/table/hooks/useTableInitialState.ts +22 -0
- package/src/components/table/hooks/useTableItems.ts +9 -0
- package/src/components/table/hooks/useTableService.ts +10 -0
- package/src/components/table/hooks/useTableState.ts +7 -0
- package/src/components/table/index.tsx +9 -0
- package/src/components/table/style.ts +248 -0
- package/src/components/table/typings.ts +322 -0
- package/src/components/table/util.ts +52 -0
- package/src/components/tag/components/TagComponent.tsx +15 -0
- package/src/components/tag/index.tsx +9 -0
- package/src/components/tag/style.ts +62 -0
- package/src/components/tag/typings.ts +17 -0
- package/src/components/tooltip/components/TooltipComponent.tsx +38 -0
- package/src/components/tooltip/index.tsx +9 -0
- package/src/components/tooltip/style.ts +153 -0
- package/src/components/tooltip/typings.ts +10 -0
- package/src/components/tree/TreeService.ts +392 -0
- package/src/components/tree/components/ArrayTreeComponent.tsx +14 -0
- package/src/components/tree/components/ControllerTreeComponent.tsx +72 -0
- package/src/components/tree/components/TreeBodyComponent.tsx +25 -0
- package/src/components/tree/components/TreeComponent.tsx +17 -0
- package/src/components/tree/components/TreeItemComponent.tsx +100 -0
- package/src/components/tree/components/TreeListComponent.tsx +198 -0
- package/src/components/tree/components/VirtualTreeBodyComponent.tsx +34 -0
- package/src/components/tree/components/VirtualTreeListComponent.tsx +287 -0
- package/src/components/tree/hooks/useTreeConfig.ts +7 -0
- package/src/components/tree/hooks/useTreeController.ts +33 -0
- package/src/components/tree/hooks/useTreeInitialState.ts +12 -0
- package/src/components/tree/hooks/useTreeItems.ts +9 -0
- package/src/components/tree/hooks/useTreeService.ts +10 -0
- package/src/components/tree/hooks/useTreeState.ts +7 -0
- package/src/components/tree/index.tsx +9 -0
- package/src/components/tree/style.ts +57 -0
- package/src/components/tree/typings.ts +126 -0
- package/src/components/wizard/WizardModal.ts +9 -0
- package/src/components/wizard/WizardService.ts +123 -0
- package/src/components/wizard/components/ControlledWizardComponent.tsx +22 -0
- package/src/components/wizard/components/Step.tsx +82 -0
- package/src/components/wizard/components/StepTitle.tsx +26 -0
- package/src/components/wizard/components/UncontrolledWizardComponent.tsx +13 -0
- package/src/components/wizard/components/WizardComponent.tsx +15 -0
- package/src/components/wizard/components/WizardContainer.tsx +134 -0
- package/src/components/wizard/components/WizardModalComponent.tsx +15 -0
- package/src/components/wizard/hooks/useStep.ts +18 -0
- package/src/components/wizard/hooks/useWizardController.ts +27 -0
- package/src/components/wizard/hooks/useWizardService.ts +11 -0
- package/src/components/wizard/hooks/useWizardState.ts +7 -0
- package/src/components/wizard/index.tsx +9 -0
- package/src/components/wizard/style.ts +159 -0
- package/src/components/wizard/typings.ts +53 -0
- package/src/fonts.d.ts +1 -0
- package/src/index.ts +269 -9
- package/src/styles/border.ts +8 -11
- package/src/styles/flex.ts +3 -3
- package/src/styles/icon.ts +14 -0
- package/src/styles/position.ts +13 -2
- package/src/styles/size.ts +19 -13
- package/src/styles/svg.ts +4 -3
- package/src/styles/typings.ts +587 -63
- package/src/theme/base.tsx +507 -0
- package/src/theme/tailwind.tsx +112 -0
- package/src/utils/color.ts +35 -1
- package/src/utils/dom.ts +32 -0
- package/src/utils/event.ts +25 -4
- package/src/utils/formatter.ts +7 -10
- package/src/utils/popper.ts +1 -1
- package/src/utils/size.ts +12 -0
- package/src/utils/style.ts +6 -9
- package/src/vendor/reactVirtual.d.ts +76 -0
- package/src/vendor/reactVirtual.js +463 -0
- package/src/vendor/useIsomorphicLayoutEffect.js +3 -0
- package/src/vendor/useRect.js +49 -0
- package/CHANGELOG.md +0 -136
- package/dist/__tests__/mocks/handlers.d.ts +0 -1
- package/dist/__tests__/mocks/responses.d.ts +0 -4
- package/dist/__tests__/mocks/server.d.ts +0 -7
- package/dist/__tests__/setup.d.ts +0 -1
- package/dist/__tests__/setupTests.d.ts +0 -1
- package/dist/__tests__/utils/timeout.d.ts +0 -4
- package/dist/components/button/component.d.ts +0 -4
- package/dist/components/select/components/SelectOptionsComponent.d.ts +0 -4
- package/dist/onekijs-ui.cjs.development.js +0 -2115
- package/dist/onekijs-ui.cjs.development.js.map +0 -1
- package/dist/onekijs-ui.cjs.production.min.js +0 -2
- package/dist/onekijs-ui.cjs.production.min.js.map +0 -1
- package/dist/onekijs-ui.esm.js +0 -1853
- package/dist/onekijs-ui.esm.js.map +0 -1
- package/dist/styles/theme.d.ts +0 -2
- package/jest.config.js +0 -188
- package/postcss.config.js +0 -3
- package/src/__tests__/mocks/handlers.ts +0 -60
- package/src/__tests__/mocks/responses.ts +0 -7
- package/src/__tests__/mocks/server.ts +0 -4
- package/src/__tests__/setup.ts +0 -1
- package/src/__tests__/setupTests.ts +0 -12
- package/src/__tests__/utils/timeout.ts +0 -27
- package/src/components/button/component.tsx +0 -8
- package/src/components/select/components/SelectOptionsComponent.tsx +0 -14
- package/src/styles/index.css +0 -5
- package/src/styles/tailwind.css +0 -86923
- package/src/styles/theme.ts +0 -274
- package/src/utils/query.ts.old +0 -148
- package/tailwind.config.js +0 -8
- package/tsconfig.json +0 -37
package/dist/styles/typings.d.ts
CHANGED
|
@@ -1,20 +1,528 @@
|
|
|
1
|
-
import { Globals } from 'csstype';
|
|
2
|
-
import { AnonymousObject } from 'onekijs-
|
|
3
|
-
import { FlattenInterpolation, ThemedStyledProps, ThemeProps } from 'styled-components';
|
|
4
|
-
export declare type
|
|
5
|
-
export declare type
|
|
6
|
-
export declare type
|
|
7
|
-
export declare type
|
|
8
|
-
export declare
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
1
|
+
import { AppearanceProperty, BackgroundColorProperty, BorderBottomStyleProperty, BorderColorProperty, BorderRadiusProperty, BorderStyleProperty, BorderWidthProperty, BoxShadowProperty, ColorProperty, CursorProperty, FontSizeProperty, FontWeightProperty, Globals, HeightProperty, LetterSpacingProperty, LineHeightProperty, MarginProperty, OpacityProperty, OutlineProperty, PaddingProperty, TextDecorationProperty, TextOverflowProperty, TextTransformProperty, WhiteSpaceProperty, WidthProperty, ZIndexProperty } from 'csstype';
|
|
2
|
+
import { AnonymousObject } from 'onekijs-framework';
|
|
3
|
+
import { FlattenInterpolation, GlobalStyleComponent, ThemedStyledProps, ThemeProps as SytledThemeProps } from 'styled-components';
|
|
4
|
+
export declare type TshirtSize = 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
|
|
5
|
+
export declare type CssProperty<T> = (value: T, variants?: AnonymousObject) => FlattenInterpolation<SytledThemeProps<any>>;
|
|
6
|
+
export declare type Formatter<T> = (value: T, theme: Theme) => string;
|
|
7
|
+
export declare type Media = 'all' | 'sm' | 'md' | 'lg' | 'xl';
|
|
8
|
+
export declare enum ColorKeys {
|
|
9
|
+
white = "white",
|
|
10
|
+
lightest = "lightest",
|
|
11
|
+
lighter = "lighter",
|
|
12
|
+
light = "light",
|
|
13
|
+
dark = "dark",
|
|
14
|
+
darker = "darker",
|
|
15
|
+
darkest = "darkest",
|
|
16
|
+
black = "black",
|
|
17
|
+
success = "success",
|
|
18
|
+
info = "info",
|
|
19
|
+
warning = "warning",
|
|
20
|
+
danger = "danger",
|
|
21
|
+
primary = "primary",
|
|
22
|
+
secondary = "secondary",
|
|
23
|
+
blue = "blue",
|
|
24
|
+
red = "red",
|
|
25
|
+
purple = "purple",
|
|
26
|
+
pink = "pink",
|
|
27
|
+
indigo = "indigo",
|
|
28
|
+
teal = "teal",
|
|
29
|
+
orange = "orange",
|
|
30
|
+
yellow = "yellow",
|
|
31
|
+
green = "green",
|
|
32
|
+
lightblue = "lightblue",
|
|
33
|
+
lightred = "lightred",
|
|
34
|
+
lightpurple = "lightpurple",
|
|
35
|
+
lightpink = "lightpink",
|
|
36
|
+
lightindigo = "lightindigo",
|
|
37
|
+
lightteal = "lightteal",
|
|
38
|
+
lightorange = "lightorange",
|
|
39
|
+
lightyellow = "lightyellow",
|
|
40
|
+
lightgreen = "lightgreen",
|
|
41
|
+
background = "background"
|
|
42
|
+
}
|
|
43
|
+
export declare enum DashboardKeys {
|
|
44
|
+
left = "left",
|
|
45
|
+
right = "right",
|
|
46
|
+
header = "header",
|
|
47
|
+
footer = "footer",
|
|
48
|
+
body = "body"
|
|
49
|
+
}
|
|
50
|
+
export declare enum BreakpointKeys {
|
|
51
|
+
xs = "xs",
|
|
52
|
+
sm = "sm",
|
|
53
|
+
md = "md",
|
|
54
|
+
lg = "lg",
|
|
55
|
+
xl = "xl"
|
|
56
|
+
}
|
|
57
|
+
export declare enum SpacingKeys {
|
|
58
|
+
none = "none",
|
|
59
|
+
'2xs' = "2xs",
|
|
60
|
+
xs = "xs",
|
|
61
|
+
sm = "sm",
|
|
62
|
+
md = "md",
|
|
63
|
+
lg = "lg",
|
|
64
|
+
xl = "xl",
|
|
65
|
+
'2xl' = "2xl",
|
|
66
|
+
'3xl' = "3xl",
|
|
67
|
+
'4xl' = "4xl",
|
|
68
|
+
'5xl' = "5xl",
|
|
69
|
+
'6xl' = "6xl",
|
|
70
|
+
'7xl' = "7xl",
|
|
71
|
+
'8xl' = "8xl",
|
|
72
|
+
'9xl' = "9xl",
|
|
73
|
+
'10xl' = "10xl",
|
|
74
|
+
'11xl' = "11xl",
|
|
75
|
+
'12xl' = "12xl",
|
|
76
|
+
'13xl' = "13xl",
|
|
77
|
+
px = "px"
|
|
78
|
+
}
|
|
79
|
+
export declare enum TshirtKeys {
|
|
80
|
+
xsmall = "xsmall",
|
|
81
|
+
small = "small",
|
|
82
|
+
medium = "medium",
|
|
83
|
+
large = "large",
|
|
84
|
+
xlarge = "xlarge"
|
|
85
|
+
}
|
|
86
|
+
export declare enum FontWeightKeys {
|
|
87
|
+
hairline = "hairline",
|
|
88
|
+
thin = "thin",
|
|
89
|
+
light = "light",
|
|
90
|
+
normal = "normal",
|
|
91
|
+
medium = "medium",
|
|
92
|
+
semibold = "semibold",
|
|
93
|
+
bold = "bold",
|
|
94
|
+
extrabold = "extrabold",
|
|
95
|
+
black = "black"
|
|
96
|
+
}
|
|
97
|
+
export declare enum FontFamiliesKeys {
|
|
98
|
+
sans = "sans",
|
|
99
|
+
serif = "serif",
|
|
100
|
+
mono = "mono"
|
|
101
|
+
}
|
|
102
|
+
export declare enum FontLineHeightKeys {
|
|
103
|
+
none = "none",
|
|
104
|
+
xs = "xs",
|
|
105
|
+
sm = "sm",
|
|
106
|
+
md = "md",
|
|
107
|
+
lg = "lg",
|
|
108
|
+
xl = "xl",
|
|
109
|
+
'2xl' = "2xl",
|
|
110
|
+
'3xl' = "3xl",
|
|
111
|
+
'4xl' = "4xl"
|
|
112
|
+
}
|
|
113
|
+
export declare enum FontSizeKeys {
|
|
114
|
+
'2xs' = "2xs",
|
|
115
|
+
xs = "xs",
|
|
116
|
+
sm = "sm",
|
|
117
|
+
md = "md",
|
|
118
|
+
lg = "lg",
|
|
119
|
+
xl = "xl",
|
|
120
|
+
'2xl' = "2xl",
|
|
121
|
+
'3xl' = "3xl",
|
|
122
|
+
'4xl' = "4xl",
|
|
123
|
+
'5xl' = "5xl",
|
|
124
|
+
'6xl' = "6xl",
|
|
125
|
+
default = "default"
|
|
126
|
+
}
|
|
127
|
+
export declare enum FontSpacingKeys {
|
|
128
|
+
xs = "xs",
|
|
129
|
+
sm = "sm",
|
|
130
|
+
md = "md",
|
|
131
|
+
lg = "lg",
|
|
132
|
+
xl = "xl",
|
|
133
|
+
'2xl' = "2xl"
|
|
134
|
+
}
|
|
135
|
+
export declare enum RadiusKeys {
|
|
136
|
+
none = "none",
|
|
137
|
+
'2xs' = "2xs",
|
|
138
|
+
xs = "xs",
|
|
139
|
+
sm = "sm",
|
|
140
|
+
md = "md",
|
|
141
|
+
lg = "lg",
|
|
142
|
+
xl = "xl",
|
|
143
|
+
full = "full"
|
|
144
|
+
}
|
|
145
|
+
export declare enum ShadowKeys {
|
|
146
|
+
default = "default",
|
|
147
|
+
xs = "xs",
|
|
148
|
+
sm = "sm",
|
|
149
|
+
md = "md",
|
|
150
|
+
lg = "lg",
|
|
151
|
+
xl = "xl",
|
|
152
|
+
'2xl' = "2xl",
|
|
153
|
+
'inner' = "inner",
|
|
154
|
+
'outline' = "outline",
|
|
155
|
+
'none' = "none"
|
|
156
|
+
}
|
|
157
|
+
export declare enum SizeKeys {
|
|
158
|
+
'zero' = 0,
|
|
159
|
+
'one' = 1,
|
|
160
|
+
'two' = 2,
|
|
161
|
+
'three' = 3,
|
|
162
|
+
'four' = 4,
|
|
163
|
+
'five' = 5,
|
|
164
|
+
'six' = 6,
|
|
165
|
+
'eight' = 8,
|
|
166
|
+
'ten' = 10,
|
|
167
|
+
'twelve' = 12,
|
|
168
|
+
'sixteen' = 16,
|
|
169
|
+
'twenty' = 20,
|
|
170
|
+
'twenty_four' = 24,
|
|
171
|
+
'thirty_two' = 32,
|
|
172
|
+
'fourty' = 40,
|
|
173
|
+
'fourty_eight' = 48,
|
|
174
|
+
'fifty_six' = 56,
|
|
175
|
+
'sixty_four' = 64,
|
|
176
|
+
'px' = "px",
|
|
177
|
+
xs = "xs",
|
|
178
|
+
sm = "sm",
|
|
179
|
+
md = "md",
|
|
180
|
+
lg = "lg",
|
|
181
|
+
xl = "xl",
|
|
182
|
+
'2xl' = "2xl",
|
|
183
|
+
'3xl' = "3xl",
|
|
184
|
+
'4xl' = "4xl",
|
|
185
|
+
'5xl' = "5xl",
|
|
186
|
+
'6xl' = "6xl",
|
|
187
|
+
'screen-sm' = "screen-sm",
|
|
188
|
+
'screen-md' = "screen-md",
|
|
189
|
+
'screen-lg' = "screen-lg",
|
|
190
|
+
'screen-xl' = "screen-xl"
|
|
191
|
+
}
|
|
192
|
+
export declare type Theme = {
|
|
193
|
+
GlobalStyles: GlobalStyleComponent<any, any>;
|
|
194
|
+
breakpoints: {
|
|
195
|
+
[k in BreakpointKeys]: string;
|
|
196
|
+
};
|
|
197
|
+
colors: {
|
|
198
|
+
[k in ColorKeys]: string;
|
|
199
|
+
};
|
|
200
|
+
spacings: {
|
|
201
|
+
[k in SpacingKeys]: string;
|
|
202
|
+
};
|
|
203
|
+
palette: Palette;
|
|
204
|
+
font: {
|
|
205
|
+
families: {
|
|
206
|
+
[k in FontFamiliesKeys]: string;
|
|
207
|
+
};
|
|
208
|
+
lineHeights: {
|
|
209
|
+
[k in FontLineHeightKeys]: number;
|
|
210
|
+
};
|
|
211
|
+
sizes: {
|
|
212
|
+
[k in FontSizeKeys]: string | 0;
|
|
213
|
+
};
|
|
214
|
+
spacings: {
|
|
215
|
+
[k in FontSpacingKeys]: string | 0;
|
|
216
|
+
};
|
|
217
|
+
weights: {
|
|
218
|
+
[k in FontWeightKeys]: number;
|
|
219
|
+
};
|
|
220
|
+
};
|
|
221
|
+
radius: {
|
|
222
|
+
[k in RadiusKeys]: string | 0;
|
|
223
|
+
};
|
|
224
|
+
shadow: {
|
|
225
|
+
[k in ShadowKeys]: string;
|
|
226
|
+
};
|
|
227
|
+
sizes: {
|
|
228
|
+
[k in SizeKeys]: string | 0;
|
|
229
|
+
};
|
|
230
|
+
buttons: {
|
|
231
|
+
[k in ColorKeys]: {
|
|
232
|
+
bgColor: ColorPropertyTheme | BackgroundColorProperty;
|
|
233
|
+
bgColorFlat: ColorPropertyTheme | BackgroundColorProperty;
|
|
234
|
+
bgColorOutline: ColorPropertyTheme | BackgroundColorProperty;
|
|
235
|
+
borderColor: ColorPropertyTheme | BorderColorProperty;
|
|
236
|
+
borderColorFlat: ColorPropertyTheme | BackgroundColorProperty;
|
|
237
|
+
borderColorOutline: ColorPropertyTheme | BackgroundColorProperty;
|
|
238
|
+
borderRadius: RadiusPropertyTheme | string;
|
|
239
|
+
borderStyle: BorderStyleProperty;
|
|
240
|
+
borderWidth: BorderWidthProperty<TLength>;
|
|
241
|
+
color: ColorPropertyTheme | ColorProperty;
|
|
242
|
+
colorFlat: ColorPropertyTheme | BackgroundColorProperty;
|
|
243
|
+
colorOutline: ColorPropertyTheme | BackgroundColorProperty;
|
|
244
|
+
cursor: CursorProperty;
|
|
245
|
+
cursorDisabled: CursorProperty;
|
|
246
|
+
fontSize: FontSizePropertyTheme | FontSizeProperty<TLength>;
|
|
247
|
+
fontWeight: FontWeightPropertyTheme | FontWeightProperty;
|
|
248
|
+
hoverBgColor: ColorPropertyTheme | BackgroundColorProperty;
|
|
249
|
+
hoverBgColorFlat: ColorPropertyTheme | BackgroundColorProperty;
|
|
250
|
+
hoverBgColorOutline: ColorPropertyTheme | BackgroundColorProperty;
|
|
251
|
+
hoverBorderColor: ColorPropertyTheme | BackgroundColorProperty;
|
|
252
|
+
hoverBorderColorFlat: ColorPropertyTheme | BackgroundColorProperty;
|
|
253
|
+
hoverBorderColorOutline: ColorPropertyTheme | BackgroundColorProperty;
|
|
254
|
+
hoverColor: ColorPropertyTheme | ColorProperty;
|
|
255
|
+
hoverColorFlat: ColorPropertyTheme | BackgroundColorProperty;
|
|
256
|
+
hoverColorOutline: ColorPropertyTheme | BackgroundColorProperty;
|
|
257
|
+
letterSpacing: LetterSpacingPropertyTheme | LetterSpacingProperty<TLength>;
|
|
258
|
+
lineHeight: LineHeightPropertyTheme | LineHeightProperty<TLength>;
|
|
259
|
+
opacity: OpacityProperty;
|
|
260
|
+
opacityDisabled: OpacityProperty;
|
|
261
|
+
paddingY: SpacingPropertyTheme | PaddingProperty<TLength>;
|
|
262
|
+
paddingX: SpacingPropertyTheme | PaddingProperty<TLength>;
|
|
263
|
+
textOverflow: TextOverflowProperty;
|
|
264
|
+
textTransform: TextTransformProperty;
|
|
265
|
+
whiteSpace: WhiteSpaceProperty;
|
|
266
|
+
};
|
|
267
|
+
};
|
|
268
|
+
fieldLayout: {
|
|
269
|
+
marginY: MarginProperty<TLength> | SpacingPropertyTheme;
|
|
270
|
+
helperMarginLeft: MarginProperty<TLength> | SpacingPropertyTheme;
|
|
271
|
+
helperMarginRight: MarginProperty<TLength> | SpacingPropertyTheme;
|
|
272
|
+
helperColor: ColorProperty | ColorPropertyTheme;
|
|
273
|
+
descriptionFontSize: FontSizePropertyTheme | FontSizeProperty<TLength>;
|
|
274
|
+
descriptionColor: ColorProperty | ColorPropertyTheme;
|
|
275
|
+
};
|
|
276
|
+
table: {
|
|
277
|
+
bgColor: ColorPropertyTheme | BackgroundColorProperty;
|
|
278
|
+
shadow: ShadowPropertyTheme | BoxShadowProperty;
|
|
279
|
+
thPaddingX: SpacingPropertyTheme | PaddingProperty<TLength>;
|
|
280
|
+
thPaddingY: SpacingPropertyTheme | PaddingProperty<TLength>;
|
|
281
|
+
thBorderBottomWidth: number | BorderWidthProperty<TLength>;
|
|
282
|
+
thBorderBottomColor: ColorPropertyTheme | BorderColorProperty;
|
|
283
|
+
thBgColor: ColorPropertyTheme | BackgroundColorProperty;
|
|
284
|
+
thFontWeigth: FontWeightPropertyTheme | FontWeightProperty;
|
|
285
|
+
thFontColor: ColorPropertyTheme | ColorProperty;
|
|
286
|
+
thFontCase: TextTransformProperty;
|
|
287
|
+
thFontSize: FontSizePropertyTheme | FontSizeProperty<TLength>;
|
|
288
|
+
thLetterSpacing: LetterSpacingPropertyTheme | LetterSpacingProperty<TLength>;
|
|
289
|
+
thFilterInputBgColor: ColorPropertyTheme | BackgroundColorProperty;
|
|
290
|
+
thFilterInputFontSize: FontSizePropertyTheme | FontSizeProperty<TLength>;
|
|
291
|
+
thFilterInputPaddingX: SpacingPropertyTheme | PaddingProperty<TLength>;
|
|
292
|
+
thFilterInputPaddingY: SpacingPropertyTheme | PaddingProperty<TLength>;
|
|
293
|
+
tdFontColor: ColorPropertyTheme | ColorProperty;
|
|
294
|
+
tdPaddingX: SpacingPropertyTheme | PaddingProperty<TLength>;
|
|
295
|
+
tdPaddingY: SpacingPropertyTheme | PaddingProperty<TLength>;
|
|
296
|
+
tdBorderBottomColor: ColorPropertyTheme | BorderColorProperty;
|
|
297
|
+
tdBorderBottomWidth: number | BorderWidthProperty<TLength>;
|
|
298
|
+
tdBorderBottomStyle: BorderBottomStyleProperty;
|
|
299
|
+
tdStripBgColor: ColorPropertyTheme | BackgroundColorProperty;
|
|
300
|
+
tdHoverBgColor: ColorPropertyTheme | BackgroundColorProperty;
|
|
301
|
+
tdHoverFontColor: ColorPropertyTheme | ColorProperty;
|
|
302
|
+
tdExpandedBgColor: ColorPropertyTheme | BackgroundColorProperty;
|
|
303
|
+
loadingRowBgColor: ColorPropertyTheme | BackgroundColorProperty;
|
|
304
|
+
loadingRowMinHeight: SizePropertyTheme | HeightProperty<TLength>;
|
|
305
|
+
};
|
|
306
|
+
input: {
|
|
307
|
+
bgColor: ColorPropertyTheme | BackgroundColorProperty;
|
|
308
|
+
width: SizePropertyTheme | WidthProperty<TLength>;
|
|
309
|
+
borderWidth: number | BorderWidthProperty<TLength>;
|
|
310
|
+
borderColor: ColorPropertyTheme | BorderColorProperty;
|
|
311
|
+
borderRadius: RadiusPropertyTheme | string;
|
|
312
|
+
borderStyle: BorderBottomStyleProperty;
|
|
313
|
+
borderFocusColor: ColorPropertyTheme | BorderColorProperty;
|
|
314
|
+
borderFocusWidth: number | BorderWidthProperty<TLength>;
|
|
315
|
+
paddingX: SpacingPropertyTheme | PaddingProperty<TLength>;
|
|
316
|
+
paddingY: SpacingPropertyTheme | PaddingProperty<TLength>;
|
|
317
|
+
xsPaddingX: SpacingPropertyTheme | PaddingProperty<TLength>;
|
|
318
|
+
xsPaddingY: SpacingPropertyTheme | PaddingProperty<TLength>;
|
|
319
|
+
xsFontSize: FontSizePropertyTheme | FontSizeProperty<TLength>;
|
|
320
|
+
smPaddingX: SpacingPropertyTheme | PaddingProperty<TLength>;
|
|
321
|
+
smPaddingY: SpacingPropertyTheme | PaddingProperty<TLength>;
|
|
322
|
+
smFontSize: FontSizePropertyTheme | FontSizeProperty<TLength>;
|
|
323
|
+
mdPaddingX: SpacingPropertyTheme | PaddingProperty<TLength>;
|
|
324
|
+
mdPaddingY: SpacingPropertyTheme | PaddingProperty<TLength>;
|
|
325
|
+
mdFontSize: FontSizePropertyTheme | FontSizeProperty<TLength>;
|
|
326
|
+
lgPaddingX: SpacingPropertyTheme | PaddingProperty<TLength>;
|
|
327
|
+
lgPaddingY: SpacingPropertyTheme | PaddingProperty<TLength>;
|
|
328
|
+
lgFontSize: FontSizePropertyTheme | FontSizeProperty<TLength>;
|
|
329
|
+
xlPaddingX: SpacingPropertyTheme | PaddingProperty<TLength>;
|
|
330
|
+
xlPaddingY: SpacingPropertyTheme | PaddingProperty<TLength>;
|
|
331
|
+
xlFontSize: FontSizePropertyTheme | FontSizeProperty<TLength>;
|
|
332
|
+
appearance: AppearanceProperty;
|
|
333
|
+
outline: OutlineProperty<TLength>;
|
|
334
|
+
fontColor: ColorPropertyTheme | ColorProperty;
|
|
335
|
+
placeholderColor: ColorPropertyTheme | ColorProperty;
|
|
336
|
+
};
|
|
337
|
+
checkbox: {
|
|
338
|
+
bgColor: ColorPropertyTheme | BackgroundColorProperty;
|
|
339
|
+
color: ColorPropertyTheme | BackgroundColorProperty;
|
|
340
|
+
};
|
|
341
|
+
label: {
|
|
342
|
+
fontWeight: FontWeightPropertyTheme | FontWeightProperty;
|
|
343
|
+
fontCase: TextTransformProperty;
|
|
344
|
+
fontColor: ColorPropertyTheme | ColorProperty;
|
|
345
|
+
fontSize: FontSizePropertyTheme | FontSizeProperty<TLength>;
|
|
346
|
+
letterSpacing: LetterSpacingPropertyTheme | LetterSpacingProperty<TLength>;
|
|
347
|
+
requiredColor: ColorPropertyTheme | ColorProperty;
|
|
348
|
+
requiredWeight: FontWeightPropertyTheme | FontWeightProperty;
|
|
349
|
+
requiredMarginLeft: SpacingPropertyTheme | MarginProperty<TLength>;
|
|
350
|
+
helperIconColor: ColorPropertyTheme | ColorProperty;
|
|
351
|
+
helperMarginLeft: SpacingPropertyTheme | MarginProperty<TLength>;
|
|
352
|
+
};
|
|
353
|
+
link: {
|
|
354
|
+
fontWeight: FontWeightPropertyTheme | FontWeightProperty;
|
|
355
|
+
fontColor: ColorPropertyTheme | ColorProperty;
|
|
356
|
+
textDecoration: TextDecorationProperty<TLength>;
|
|
357
|
+
fontWeightHover: FontWeightPropertyTheme | FontWeightProperty;
|
|
358
|
+
fontColorHover: ColorPropertyTheme | ColorProperty;
|
|
359
|
+
textDecorationHover: TextDecorationProperty<TLength>;
|
|
360
|
+
};
|
|
361
|
+
tooltip: {
|
|
362
|
+
[k in ColorKeys]: {
|
|
363
|
+
bgColor: ColorPropertyTheme | BackgroundColorProperty;
|
|
364
|
+
color: ColorPropertyTheme | ColorProperty;
|
|
365
|
+
linkColor: ColorPropertyTheme | ColorProperty;
|
|
366
|
+
borderColor: ColorPropertyTheme | BackgroundColorProperty;
|
|
367
|
+
borderRadius: BorderRadiusProperty<TLength> | RadiusPropertyTheme;
|
|
368
|
+
borderStyle: BorderStyleProperty;
|
|
369
|
+
borderWidth: BorderWidthProperty<TLength>;
|
|
370
|
+
boxShadow: ShadowPropertyTheme | BoxShadowProperty;
|
|
371
|
+
padding: SpacingPropertyTheme | PaddingProperty<TLength>;
|
|
372
|
+
fontSize: FontSizePropertyTheme | FontSizeProperty<TLength>;
|
|
373
|
+
};
|
|
374
|
+
};
|
|
375
|
+
accordion: {
|
|
376
|
+
fontWeight: FontWeightPropertyTheme | FontWeightProperty;
|
|
377
|
+
fontColor: ColorPropertyTheme | ColorProperty;
|
|
378
|
+
activeFontColor: ColorPropertyTheme | ColorProperty;
|
|
379
|
+
hoverFontColor: ColorPropertyTheme | ColorProperty;
|
|
380
|
+
fontSize: FontSizePropertyTheme | FontSizeProperty<TLength>;
|
|
381
|
+
togglerIconWidth: WidthProperty<TLength> | IconSizePropertyTheme;
|
|
382
|
+
togglerIconHeight: WidthProperty<TLength> | IconSizePropertyTheme;
|
|
383
|
+
bgColor: ColorPropertyTheme | BackgroundColorProperty;
|
|
384
|
+
activeBgColor: ColorPropertyTheme | BackgroundColorProperty;
|
|
385
|
+
hoverBgColor: ColorPropertyTheme | BackgroundColorProperty;
|
|
386
|
+
borderColor: ColorPropertyTheme | BorderColorProperty;
|
|
387
|
+
borderRadius: BorderRadiusProperty<TLength> | RadiusPropertyTheme;
|
|
388
|
+
borderStyle: BorderStyleProperty;
|
|
389
|
+
borderWidth: BorderWidthProperty<TLength>;
|
|
390
|
+
paddingX: SpacingPropertyTheme | PaddingProperty<TLength>;
|
|
391
|
+
paddingY: SpacingPropertyTheme | PaddingProperty<TLength>;
|
|
392
|
+
};
|
|
393
|
+
tab: {
|
|
394
|
+
activeBgColor: ColorPropertyTheme | BackgroundColorProperty;
|
|
395
|
+
activeBorderColor: ColorPropertyTheme | BorderColorProperty;
|
|
396
|
+
activeBorderStyle: BorderStyleProperty;
|
|
397
|
+
activeBorderWidth: BorderWidthProperty<TLength>;
|
|
398
|
+
activeFontSize: FontSizePropertyTheme | FontSizeProperty<TLength>;
|
|
399
|
+
activeFontColor: ColorPropertyTheme | ColorProperty;
|
|
400
|
+
activeFontWeight: FontWeightPropertyTheme | FontWeightProperty;
|
|
401
|
+
bgColor: ColorPropertyTheme | BackgroundColorProperty;
|
|
402
|
+
borderColor: ColorPropertyTheme | BorderColorProperty;
|
|
403
|
+
borderRadius: BorderRadiusProperty<TLength> | RadiusPropertyTheme;
|
|
404
|
+
borderStyle: BorderStyleProperty;
|
|
405
|
+
borderWidth: BorderWidthProperty<TLength>;
|
|
406
|
+
cursor: CursorProperty;
|
|
407
|
+
fontColor: ColorPropertyTheme | ColorProperty;
|
|
408
|
+
fontSize: FontSizePropertyTheme | FontSizeProperty<TLength>;
|
|
409
|
+
fontWeight: FontWeightPropertyTheme | FontWeightProperty;
|
|
410
|
+
hoverBgColor: ColorPropertyTheme | BackgroundColorProperty;
|
|
411
|
+
hoverBorderColor: ColorPropertyTheme | BorderColorProperty;
|
|
412
|
+
hoverBorderStyle: BorderStyleProperty;
|
|
413
|
+
hoverBorderWidth: BorderWidthProperty<TLength>;
|
|
414
|
+
hoverFontColor: ColorPropertyTheme | ColorProperty;
|
|
415
|
+
marginBefore: SpacingPropertyTheme | MarginProperty<TLength>;
|
|
416
|
+
marginAfter: SpacingPropertyTheme | MarginProperty<TLength>;
|
|
417
|
+
paddingX: SpacingPropertyTheme | PaddingProperty<TLength>;
|
|
418
|
+
paddingY: SpacingPropertyTheme | PaddingProperty<TLength>;
|
|
419
|
+
};
|
|
420
|
+
wizard: {
|
|
421
|
+
activeBgColor: ColorPropertyTheme | BackgroundColorProperty;
|
|
422
|
+
activeBorderColor: ColorPropertyTheme | BorderColorProperty;
|
|
423
|
+
activeFontSize: FontSizePropertyTheme | FontSizeProperty<TLength>;
|
|
424
|
+
activeFontColor: ColorPropertyTheme | ColorProperty;
|
|
425
|
+
activeFontWeight: FontWeightPropertyTheme | FontWeightProperty;
|
|
426
|
+
bgColor: ColorPropertyTheme | BackgroundColorProperty;
|
|
427
|
+
borderColor: ColorPropertyTheme | BorderColorProperty;
|
|
428
|
+
borderRadius: BorderRadiusProperty<TLength> | RadiusPropertyTheme;
|
|
429
|
+
borderStyle: BorderStyleProperty;
|
|
430
|
+
borderWidth: BorderWidthProperty<TLength>;
|
|
431
|
+
cursor: CursorProperty;
|
|
432
|
+
disabledBgColor: ColorPropertyTheme | BackgroundColorProperty;
|
|
433
|
+
disabledBorderColor: ColorPropertyTheme | BorderColorProperty;
|
|
434
|
+
disabledFontSize: FontSizePropertyTheme | FontSizeProperty<TLength>;
|
|
435
|
+
disabledFontColor: ColorPropertyTheme | ColorProperty;
|
|
436
|
+
disabledFontWeight: FontWeightPropertyTheme | FontWeightProperty;
|
|
437
|
+
errorBgColor: ColorPropertyTheme | BackgroundColorProperty;
|
|
438
|
+
errorBorderColor: ColorPropertyTheme | BorderColorProperty;
|
|
439
|
+
errorFontColor: ColorPropertyTheme | ColorProperty;
|
|
440
|
+
fontColor: ColorPropertyTheme | ColorProperty;
|
|
441
|
+
fontSize: FontSizePropertyTheme | FontSizeProperty<TLength>;
|
|
442
|
+
fontWeight: FontWeightPropertyTheme | FontWeightProperty;
|
|
443
|
+
hoverBgColor: ColorPropertyTheme | BackgroundColorProperty;
|
|
444
|
+
hoverBorderColor: ColorPropertyTheme | BorderColorProperty;
|
|
445
|
+
hoverBorderStyle: BorderStyleProperty;
|
|
446
|
+
hoverBorderWidth: BorderWidthProperty<TLength>;
|
|
447
|
+
hoverFontColor: ColorPropertyTheme | ColorProperty;
|
|
448
|
+
marginBefore: SpacingPropertyTheme | MarginProperty<TLength>;
|
|
449
|
+
marginAfter: SpacingPropertyTheme | MarginProperty<TLength>;
|
|
450
|
+
paddingRight: SpacingPropertyTheme | PaddingProperty<TLength>;
|
|
451
|
+
paddingLeft: SpacingPropertyTheme | PaddingProperty<TLength>;
|
|
452
|
+
paddingTop: SpacingPropertyTheme | PaddingProperty<TLength>;
|
|
453
|
+
paddingBottom: SpacingPropertyTheme | PaddingProperty<TLength>;
|
|
454
|
+
stepsBgColor: ColorPropertyTheme | BackgroundColorProperty;
|
|
455
|
+
stepsBorderColor: ColorPropertyTheme | BorderColorProperty;
|
|
456
|
+
stepsBorderStyle: BorderStyleProperty;
|
|
457
|
+
stepsBorderWidth: BorderWidthProperty<TLength>;
|
|
458
|
+
stepsPaddingTop: SpacingPropertyTheme | PaddingProperty<TLength>;
|
|
459
|
+
stepsPaddingBottom: SpacingPropertyTheme | PaddingProperty<TLength>;
|
|
460
|
+
stepsPaddingLeft: SpacingPropertyTheme | PaddingProperty<TLength>;
|
|
461
|
+
stepsPaddingRight: SpacingPropertyTheme | PaddingProperty<TLength>;
|
|
462
|
+
successBgColor: ColorPropertyTheme | BackgroundColorProperty;
|
|
463
|
+
successBorderColor: ColorPropertyTheme | BorderColorProperty;
|
|
464
|
+
successFontColor: ColorPropertyTheme | ColorProperty;
|
|
465
|
+
warningBgColor: ColorPropertyTheme | BackgroundColorProperty;
|
|
466
|
+
warningBorderColor: ColorPropertyTheme | BorderColorProperty;
|
|
467
|
+
warningFontColor: ColorPropertyTheme | ColorProperty;
|
|
468
|
+
};
|
|
469
|
+
card: {
|
|
470
|
+
borderColor: ColorPropertyTheme | BorderColorProperty;
|
|
471
|
+
borderRadius: BorderRadiusProperty<TLength> | RadiusPropertyTheme;
|
|
472
|
+
borderStyle: BorderStyleProperty;
|
|
473
|
+
borderWidth: BorderWidthProperty<TLength>;
|
|
474
|
+
shadow: ShadowPropertyTheme | BoxShadowProperty;
|
|
475
|
+
bgColor: ColorPropertyTheme | BackgroundColorProperty;
|
|
476
|
+
fontColor: ColorPropertyTheme | ColorProperty;
|
|
477
|
+
fontSize: FontSizePropertyTheme | FontSizeProperty<TLength>;
|
|
478
|
+
fontWeight: FontWeightPropertyTheme | FontWeightProperty;
|
|
479
|
+
fontCase: 'uppercase';
|
|
480
|
+
paddingX: SpacingPropertyTheme | PaddingProperty<TLength>;
|
|
481
|
+
paddingY: SpacingPropertyTheme | PaddingProperty<TLength>;
|
|
482
|
+
letterSpacing: LetterSpacingPropertyTheme | LetterSpacingProperty<TLength>;
|
|
483
|
+
iconColor: ColorPropertyTheme | ColorProperty;
|
|
484
|
+
iconWidth: SizePropertyTheme | WidthProperty<TLength>;
|
|
485
|
+
iconHeight: SizePropertyTheme | HeightProperty<TLength>;
|
|
486
|
+
marginTop: SpacingPropertyTheme | MarginProperty<TLength>;
|
|
487
|
+
titleBorderBottomWidth: BorderWidthProperty<TLength>;
|
|
488
|
+
};
|
|
489
|
+
properties: {
|
|
490
|
+
fontWeight: FontWeightPropertyTheme | FontWeightProperty;
|
|
491
|
+
paddingY: SpacingPropertyTheme | PaddingProperty<TLength>;
|
|
492
|
+
};
|
|
493
|
+
dashboard: {
|
|
494
|
+
[k in DashboardKeys]: {
|
|
495
|
+
bgColor: ColorPropertyTheme | BackgroundColorProperty;
|
|
496
|
+
};
|
|
497
|
+
};
|
|
498
|
+
modal: {
|
|
499
|
+
bgColor: ColorPropertyTheme | BackgroundColorProperty;
|
|
500
|
+
maskColor: ColorPropertyTheme | BackgroundColorProperty;
|
|
501
|
+
maskOpacity: OpacityProperty;
|
|
502
|
+
zIndex: ZIndexProperty;
|
|
503
|
+
xsmallSize: SizePropertyTheme | HeightProperty<TLength>;
|
|
504
|
+
smallSize: SizePropertyTheme | HeightProperty<TLength>;
|
|
505
|
+
mediumSize: SizePropertyTheme | HeightProperty<TLength>;
|
|
506
|
+
largeSize: SizePropertyTheme | HeightProperty<TLength>;
|
|
507
|
+
xlargeSize: SizePropertyTheme | HeightProperty<TLength>;
|
|
508
|
+
boxShadow: ShadowPropertyTheme | BoxShadowProperty;
|
|
509
|
+
borderRadius: RadiusPropertyTheme | string;
|
|
510
|
+
};
|
|
511
|
+
};
|
|
512
|
+
export declare type Palette = AnonymousObject;
|
|
513
|
+
export declare type TLength = string | 0;
|
|
514
|
+
export declare type SizePropertyTheme = Globals | TLength | '-moz-max-content' | '-moz-min-content' | '-webkit-max-content' | 'auto' | 'intrinsic' | 'max-content' | 'min-content' | 'min-intrinsic' | 'none' | 'full' | 'screen' | string | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 8 | 10 | 12 | 16 | 20 | 24 | 32 | 40 | 48 | 56 | 64 | 'px' | 'xs' | 'sm' | 'md' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | '6xl' | 'screen-sm' | 'screen-md' | 'screen-lg' | 'screen-xl';
|
|
515
|
+
export declare type ThemeProps = {
|
|
516
|
+
theme?: Partial<Theme>;
|
|
517
|
+
};
|
|
518
|
+
export declare type ColorPropertyTheme = keyof typeof ColorKeys;
|
|
519
|
+
export declare type SpacingPropertyTheme = keyof typeof SpacingKeys;
|
|
520
|
+
export declare type FontFamilyPropertyTheme = keyof typeof FontFamiliesKeys;
|
|
521
|
+
export declare type FontSizePropertyTheme = keyof typeof FontSizeKeys;
|
|
522
|
+
export declare type IconSizePropertyTheme = keyof typeof FontSizeKeys;
|
|
523
|
+
export declare type FontWeightPropertyTheme = keyof typeof FontWeightKeys | number;
|
|
524
|
+
export declare type LineHeightPropertyTheme = keyof typeof FontLineHeightKeys | 4 | 5 | 6 | 7 | 8 | 9 | 10;
|
|
525
|
+
export declare type LetterSpacingPropertyTheme = keyof typeof FontSpacingKeys;
|
|
526
|
+
export declare type RadiusPropertyTheme = keyof typeof RadiusKeys;
|
|
527
|
+
export declare type ShadowPropertyTheme = keyof typeof ShadowKeys;
|
|
528
|
+
export declare type ComponentStyle<P, T extends Theme = Theme> = (propsWithTheme: ThemedStyledProps<P, T>) => FlattenInterpolation<SytledThemeProps<T>>;
|
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
import { FontKerningProperty, FontOpticalSizingProperty, FontSizeAdjustProperty, FontVariantCapsProperty, FontVariantPositionProperty, HyphensProperty, OverflowWrapProperty, TextAlignProperty, TextDecorationStyleProperty, TextJustifyProperty, TextTransformProperty, WhiteSpaceProperty } from 'csstype';
|
|
2
|
-
import { TLength } from './typings';
|
|
3
|
-
export declare const color: import("./typings").CssProperty<string>;
|
|
4
|
-
export declare const font: import("./typings").CssProperty<string>;
|
|
5
|
-
export declare const fontFamily: import("./typings").CssProperty<string>;
|
|
6
|
-
export declare const fontFeatureSettings: import("./typings").CssProperty<string>;
|
|
7
|
-
export declare const fontKerning: import("./typings").CssProperty<FontKerningProperty>;
|
|
8
|
-
export declare const fontLanguageOverride: import("./typings").CssProperty<string>;
|
|
9
|
-
export declare const fontOpticalSizing: import("./typings").CssProperty<FontOpticalSizingProperty>;
|
|
10
|
-
export declare const fontSize: import("./typings").CssProperty<TLength
|
|
11
|
-
export declare const fontSizeAdjust: import("./typings").CssProperty<FontSizeAdjustProperty>;
|
|
12
|
-
export declare const fontStretch: import("./typings").CssProperty<string>;
|
|
13
|
-
export declare const fontStyle: import("./typings").CssProperty<string>;
|
|
14
|
-
export declare const fontSynthesis: import("./typings").CssProperty<string>;
|
|
15
|
-
export declare const fontVariant: import("./typings").CssProperty<string>;
|
|
16
|
-
export declare const fontVariantAlternates: import("./typings").CssProperty<string>;
|
|
17
|
-
export declare const fontVariantCaps: import("./typings").CssProperty<FontVariantCapsProperty>;
|
|
18
|
-
export declare const fontVariantEastAsian: import("./typings").CssProperty<string>;
|
|
19
|
-
export declare const fontVariantLigatures: import("./typings").CssProperty<string>;
|
|
20
|
-
export declare const fontVariantNumeric: import("./typings").CssProperty<string>;
|
|
21
|
-
export declare const fontVariantPosition: import("./typings").CssProperty<FontVariantPositionProperty>;
|
|
22
|
-
export declare const fontVariationSettings: import("./typings").CssProperty<string>;
|
|
23
|
-
export declare const fontWeight: import("./typings").CssProperty<number | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "
|
|
24
|
-
export declare const hyphens: import("./typings").CssProperty<HyphensProperty>;
|
|
25
|
-
export declare const letterSpacing: import("./typings").CssProperty<TLength
|
|
26
|
-
export declare const lineHeight: import("./typings").CssProperty<string | number>;
|
|
27
|
-
export declare const lineHeightStep: import("./typings").CssProperty<TLength
|
|
28
|
-
export declare const overflowWrap: import("./typings").CssProperty<OverflowWrapProperty>;
|
|
29
|
-
export declare const textAlign: import("./typings").CssProperty<TextAlignProperty>;
|
|
30
|
-
export declare const textDecoration: import("./typings").CssProperty<TLength
|
|
31
|
-
export declare const textDecorationColor: import("./typings").CssProperty<string>;
|
|
32
|
-
export declare const textDecorationLine: import("./typings").CssProperty<string>;
|
|
33
|
-
export declare const textDecorationStyle: import("./typings").CssProperty<TextDecorationStyleProperty>;
|
|
34
|
-
export declare const textDecorationThickness: import("./typings").CssProperty<TLength
|
|
35
|
-
export declare const textEmphasis: import("./typings").CssProperty<string>;
|
|
36
|
-
export declare const textEmphasisColor: import("./typings").CssProperty<string>;
|
|
37
|
-
export declare const textEmphasisPosition: import("./typings").CssProperty<string>;
|
|
38
|
-
export declare const textEmphasisStyle: import("./typings").CssProperty<string>;
|
|
39
|
-
export declare const textIdent: import("./typings").CssProperty<TLength
|
|
40
|
-
export declare const textJustify: import("./typings").CssProperty<TextJustifyProperty>;
|
|
41
|
-
export declare const textOpacity: import("./typings").CssProperty<
|
|
42
|
-
export declare const textOverflow: import("./typings").CssProperty<string>;
|
|
43
|
-
export declare const textTransform: import("./typings").CssProperty<TextTransformProperty>;
|
|
44
|
-
export declare const textShadow: import("./typings").CssProperty<string>;
|
|
45
|
-
export declare const textUnderlineOffset: import("./typings").CssProperty<string>;
|
|
46
|
-
export declare const textUnderlinePosition: import("./typings").CssProperty<string>;
|
|
47
|
-
export declare const whiteSpace: import("./typings").CssProperty<WhiteSpaceProperty>;
|
|
48
|
-
export declare const wordBreak: import("./typings").CssProperty<"
|
|
49
|
-
export declare const wordSpacing: import("./typings").CssProperty<TLength
|
|
1
|
+
import { FontKerningProperty, FontOpticalSizingProperty, FontSizeAdjustProperty, FontSizeProperty, FontVariantCapsProperty, FontVariantPositionProperty, HyphensProperty, LetterSpacingProperty, LineHeightStepProperty, OpacityProperty, OverflowWrapProperty, TextAlignProperty, TextDecorationProperty, TextDecorationStyleProperty, TextDecorationThicknessProperty, TextIndentProperty, TextJustifyProperty, TextTransformProperty, WhiteSpaceProperty, WordBreakProperty, WordSpacingProperty } from 'csstype';
|
|
2
|
+
import { TLength } from './typings';
|
|
3
|
+
export declare const color: import("./typings").CssProperty<string>;
|
|
4
|
+
export declare const font: import("./typings").CssProperty<string>;
|
|
5
|
+
export declare const fontFamily: import("./typings").CssProperty<string>;
|
|
6
|
+
export declare const fontFeatureSettings: import("./typings").CssProperty<string>;
|
|
7
|
+
export declare const fontKerning: import("./typings").CssProperty<FontKerningProperty>;
|
|
8
|
+
export declare const fontLanguageOverride: import("./typings").CssProperty<string>;
|
|
9
|
+
export declare const fontOpticalSizing: import("./typings").CssProperty<FontOpticalSizingProperty>;
|
|
10
|
+
export declare const fontSize: import("./typings").CssProperty<FontSizeProperty<TLength>>;
|
|
11
|
+
export declare const fontSizeAdjust: import("./typings").CssProperty<FontSizeAdjustProperty>;
|
|
12
|
+
export declare const fontStretch: import("./typings").CssProperty<string>;
|
|
13
|
+
export declare const fontStyle: import("./typings").CssProperty<string>;
|
|
14
|
+
export declare const fontSynthesis: import("./typings").CssProperty<string>;
|
|
15
|
+
export declare const fontVariant: import("./typings").CssProperty<string>;
|
|
16
|
+
export declare const fontVariantAlternates: import("./typings").CssProperty<string>;
|
|
17
|
+
export declare const fontVariantCaps: import("./typings").CssProperty<FontVariantCapsProperty>;
|
|
18
|
+
export declare const fontVariantEastAsian: import("./typings").CssProperty<string>;
|
|
19
|
+
export declare const fontVariantLigatures: import("./typings").CssProperty<string>;
|
|
20
|
+
export declare const fontVariantNumeric: import("./typings").CssProperty<string>;
|
|
21
|
+
export declare const fontVariantPosition: import("./typings").CssProperty<FontVariantPositionProperty>;
|
|
22
|
+
export declare const fontVariationSettings: import("./typings").CssProperty<string>;
|
|
23
|
+
export declare const fontWeight: import("./typings").CssProperty<number | "bold" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "lighter" | "light" | "black" | "medium" | "thin" | "hairline" | "normal" | "semibold" | "extrabold" | "bolder">;
|
|
24
|
+
export declare const hyphens: import("./typings").CssProperty<HyphensProperty>;
|
|
25
|
+
export declare const letterSpacing: import("./typings").CssProperty<LetterSpacingProperty<TLength>>;
|
|
26
|
+
export declare const lineHeight: import("./typings").CssProperty<string | number>;
|
|
27
|
+
export declare const lineHeightStep: import("./typings").CssProperty<LineHeightStepProperty<TLength>>;
|
|
28
|
+
export declare const overflowWrap: import("./typings").CssProperty<OverflowWrapProperty>;
|
|
29
|
+
export declare const textAlign: import("./typings").CssProperty<TextAlignProperty>;
|
|
30
|
+
export declare const textDecoration: import("./typings").CssProperty<TextDecorationProperty<TLength>>;
|
|
31
|
+
export declare const textDecorationColor: import("./typings").CssProperty<string>;
|
|
32
|
+
export declare const textDecorationLine: import("./typings").CssProperty<string>;
|
|
33
|
+
export declare const textDecorationStyle: import("./typings").CssProperty<TextDecorationStyleProperty>;
|
|
34
|
+
export declare const textDecorationThickness: import("./typings").CssProperty<TextDecorationThicknessProperty<TLength>>;
|
|
35
|
+
export declare const textEmphasis: import("./typings").CssProperty<string>;
|
|
36
|
+
export declare const textEmphasisColor: import("./typings").CssProperty<string>;
|
|
37
|
+
export declare const textEmphasisPosition: import("./typings").CssProperty<string>;
|
|
38
|
+
export declare const textEmphasisStyle: import("./typings").CssProperty<string>;
|
|
39
|
+
export declare const textIdent: import("./typings").CssProperty<TextIndentProperty<TLength>>;
|
|
40
|
+
export declare const textJustify: import("./typings").CssProperty<TextJustifyProperty>;
|
|
41
|
+
export declare const textOpacity: import("./typings").CssProperty<OpacityProperty>;
|
|
42
|
+
export declare const textOverflow: import("./typings").CssProperty<string>;
|
|
43
|
+
export declare const textTransform: import("./typings").CssProperty<TextTransformProperty>;
|
|
44
|
+
export declare const textShadow: import("./typings").CssProperty<string>;
|
|
45
|
+
export declare const textUnderlineOffset: import("./typings").CssProperty<string>;
|
|
46
|
+
export declare const textUnderlinePosition: import("./typings").CssProperty<string>;
|
|
47
|
+
export declare const whiteSpace: import("./typings").CssProperty<WhiteSpaceProperty>;
|
|
48
|
+
export declare const wordBreak: import("./typings").CssProperty<"all" | WordBreakProperty | "words" | "truncate">;
|
|
49
|
+
export declare const wordSpacing: import("./typings").CssProperty<WordSpacingProperty<TLength>>;
|