nntc-ui 0.2.6 → 0.2.8
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/components/data-display/Chip/Chip.d.ts +18 -0
- package/components/data-display/Chip/Chip.d.ts.map +1 -0
- package/{src/components/view/Chip/index.ts → components/data-display/Chip/index.d.ts} +1 -0
- package/components/data-display/Chip/index.d.ts.map +1 -0
- package/components/data-display/Pairs/Pairs.d.ts +14 -0
- package/components/data-display/Pairs/Pairs.d.ts.map +1 -0
- package/{src/components/view/Pairs/index.ts → components/data-display/Pairs/index.d.ts} +1 -0
- package/components/data-display/Pairs/index.d.ts.map +1 -0
- package/components/data-display/Pairs/models/Pair.d.ts +5 -0
- package/components/data-display/Pairs/models/Pair.d.ts.map +1 -0
- package/components/data-display/Pairs/ui/TypographyWithTooltip.d.ts +6 -0
- package/components/data-display/Pairs/ui/TypographyWithTooltip.d.ts.map +1 -0
- package/components/data-display/Tooltip/Tooltip.d.ts +16 -0
- package/components/data-display/Tooltip/Tooltip.d.ts.map +1 -0
- package/{src/components/view/Tooltip/index.ts → components/data-display/Tooltip/index.d.ts} +1 -0
- package/components/data-display/Tooltip/index.d.ts.map +1 -0
- package/components/data-display/Tooltip/ui/TooltipContent/TooltipContent.d.ts +9 -0
- package/components/data-display/Tooltip/ui/TooltipContent/TooltipContent.d.ts.map +1 -0
- package/{src/components/view/Tooltip/ui/TooltipContent/index.ts → components/data-display/Tooltip/ui/TooltipContent/index.d.ts} +1 -0
- package/components/data-display/Tooltip/ui/TooltipContent/index.d.ts.map +1 -0
- package/components/data-display/Tooltip/ui/TooltipProvider/TooltipProvider.d.ts +4 -0
- package/components/data-display/Tooltip/ui/TooltipProvider/TooltipProvider.d.ts.map +1 -0
- package/components/data-display/Tooltip/ui/TooltipProvider/constants/TooltipContext.d.ts +3 -0
- package/components/data-display/Tooltip/ui/TooltipProvider/constants/TooltipContext.d.ts.map +1 -0
- package/components/data-display/Tooltip/ui/TooltipProvider/hooks/useTooltip.d.ts +51 -0
- package/components/data-display/Tooltip/ui/TooltipProvider/hooks/useTooltip.d.ts.map +1 -0
- package/{src/components/view/Tooltip/ui/TooltipProvider/index.ts → components/data-display/Tooltip/ui/TooltipProvider/index.d.ts} +1 -0
- package/components/data-display/Tooltip/ui/TooltipProvider/index.d.ts.map +1 -0
- package/components/data-display/Tooltip/ui/TooltipProvider/models/TooltipOptions.d.ts +12 -0
- package/components/data-display/Tooltip/ui/TooltipProvider/models/TooltipOptions.d.ts.map +1 -0
- package/{src/components/view/Tooltip/ui/TooltipProvider/models/TooltipState.ts → components/data-display/Tooltip/ui/TooltipProvider/models/TooltipState.d.ts} +1 -1
- package/components/data-display/Tooltip/ui/TooltipProvider/models/TooltipState.d.ts.map +1 -0
- package/components/data-display/Tooltip/ui/TooltipTrigger/TooltipTrigger.d.ts +5 -0
- package/components/data-display/Tooltip/ui/TooltipTrigger/TooltipTrigger.d.ts.map +1 -0
- package/{src/components/view/Tooltip/ui/TooltipTrigger/index.ts → components/data-display/Tooltip/ui/TooltipTrigger/index.d.ts} +1 -0
- package/components/data-display/Tooltip/ui/TooltipTrigger/index.d.ts.map +1 -0
- package/components/data-display/TreeView/TreeView.d.ts +12 -0
- package/components/data-display/TreeView/TreeView.d.ts.map +1 -0
- package/{src/components/view/TreeView/index.ts → components/data-display/TreeView/index.d.ts} +1 -0
- package/components/data-display/TreeView/index.d.ts.map +1 -0
- package/components/data-display/TreeView/models/Item.d.ts +8 -0
- package/components/data-display/TreeView/models/Item.d.ts.map +1 -0
- package/components/data-display/TreeView/ui/TreeViewItem/TreeViewItem.d.ts +16 -0
- package/components/data-display/TreeView/ui/TreeViewItem/TreeViewItem.d.ts.map +1 -0
- package/{src/components/view/TreeView/ui/TreeViewItem/index.ts → components/data-display/TreeView/ui/TreeViewItem/index.d.ts} +1 -0
- package/components/data-display/TreeView/ui/TreeViewItem/index.d.ts.map +1 -0
- package/components/data-display/TreeView/utils/getFilteredTree.d.ts +3 -0
- package/components/data-display/TreeView/utils/getFilteredTree.d.ts.map +1 -0
- package/components/data-display/Typography/Typography.d.ts +9 -0
- package/components/data-display/Typography/Typography.d.ts.map +1 -0
- package/{src/components/view/Typography/index.ts → components/data-display/Typography/index.d.ts} +1 -0
- package/components/data-display/Typography/index.d.ts.map +1 -0
- package/components/data-display/VirtualTable/VirtualTable.d.ts +78 -0
- package/components/data-display/VirtualTable/VirtualTable.d.ts.map +1 -0
- package/components/data-display/VirtualTable/constants/defaultRowHeight.d.ts +2 -0
- package/components/data-display/VirtualTable/constants/defaultRowHeight.d.ts.map +1 -0
- package/{src/components/view/VirtualTable/index.ts → components/data-display/VirtualTable/index.d.ts} +1 -2
- package/components/data-display/VirtualTable/index.d.ts.map +1 -0
- package/components/data-display/VirtualTable/models/AdditionalButton.d.ts +9 -0
- package/components/data-display/VirtualTable/models/AdditionalButton.d.ts.map +1 -0
- package/{src/components/view/VirtualTable/models/ColumnAlign.ts → components/data-display/VirtualTable/models/ColumnAlign.d.ts} +1 -0
- package/components/data-display/VirtualTable/models/ColumnAlign.d.ts.map +1 -0
- package/components/data-display/VirtualTable/models/FilterBy.d.ts +12 -0
- package/components/data-display/VirtualTable/models/FilterBy.d.ts.map +1 -0
- package/components/data-display/VirtualTable/models/SortBy.d.ts +11 -0
- package/components/data-display/VirtualTable/models/SortBy.d.ts.map +1 -0
- package/{src/components/view/VirtualTable/models/SortType.ts → components/data-display/VirtualTable/models/SortType.d.ts} +1 -0
- package/components/data-display/VirtualTable/models/SortType.d.ts.map +1 -0
- package/components/data-display/VirtualTable/models/TableCell.d.ts +15 -0
- package/components/data-display/VirtualTable/models/TableCell.d.ts.map +1 -0
- package/components/data-display/VirtualTable/models/TableColumn.d.ts +52 -0
- package/components/data-display/VirtualTable/models/TableColumn.d.ts.map +1 -0
- package/components/data-display/VirtualTable/models/TableRow.d.ts +6 -0
- package/components/data-display/VirtualTable/models/TableRow.d.ts.map +1 -0
- package/{src/components/view/VirtualTable/models/VerticalAlign.ts → components/data-display/VirtualTable/models/VerticalAlign.d.ts} +1 -0
- package/components/data-display/VirtualTable/models/VerticalAlign.d.ts.map +1 -0
- package/{src/components/view/VirtualTable/models/VirtualTableBorders.ts → components/data-display/VirtualTable/models/VirtualTableBorders.d.ts} +1 -0
- package/components/data-display/VirtualTable/models/VirtualTableBorders.d.ts.map +1 -0
- package/components/data-display/VirtualTable/models/VirtualTableRef.d.ts +8 -0
- package/components/data-display/VirtualTable/models/VirtualTableRef.d.ts.map +1 -0
- package/components/data-display/VirtualTable/ui/DateFiltration/DateFiltration.d.ts +7 -0
- package/components/data-display/VirtualTable/ui/DateFiltration/DateFiltration.d.ts.map +1 -0
- package/{src/components/view/VirtualTable/ui/DateFiltration/index.ts → components/data-display/VirtualTable/ui/DateFiltration/index.d.ts} +1 -0
- package/components/data-display/VirtualTable/ui/DateFiltration/index.d.ts.map +1 -0
- package/components/data-display/VirtualTable/ui/DefaultColumn/DefaultColumn.d.ts +4 -0
- package/components/data-display/VirtualTable/ui/DefaultColumn/DefaultColumn.d.ts.map +1 -0
- package/{src/components/view/VirtualTable/ui/DefaultColumn/index.ts → components/data-display/VirtualTable/ui/DefaultColumn/index.d.ts} +1 -0
- package/components/data-display/VirtualTable/ui/DefaultColumn/index.d.ts.map +1 -0
- package/components/data-display/VirtualTable/ui/HeaderDropdown/HeaderDropdown.d.ts +23 -0
- package/components/data-display/VirtualTable/ui/HeaderDropdown/HeaderDropdown.d.ts.map +1 -0
- package/{src/components/view/VirtualTable/ui/HeaderDropdown/index.ts → components/data-display/VirtualTable/ui/HeaderDropdown/index.d.ts} +1 -0
- package/components/data-display/VirtualTable/ui/HeaderDropdown/index.d.ts.map +1 -0
- package/components/data-display/VirtualTable/ui/NumberFiltration/NumberFiltration.d.ts +7 -0
- package/components/data-display/VirtualTable/ui/NumberFiltration/NumberFiltration.d.ts.map +1 -0
- package/{src/components/view/VirtualTable/ui/NumberFiltration/index.ts → components/data-display/VirtualTable/ui/NumberFiltration/index.d.ts} +1 -0
- package/components/data-display/VirtualTable/ui/NumberFiltration/index.d.ts.map +1 -0
- package/components/data-display/VirtualTable/utils/alphanumericCompare.d.ts +2 -0
- package/components/data-display/VirtualTable/utils/alphanumericCompare.d.ts.map +1 -0
- package/components/data-display/VirtualTable/utils/dedupeFirstByColumnValue.d.ts +3 -0
- package/components/data-display/VirtualTable/utils/dedupeFirstByColumnValue.d.ts.map +1 -0
- package/components/data-display/VirtualTable/utils/getColumns.d.ts +5 -0
- package/components/data-display/VirtualTable/utils/getColumns.d.ts.map +1 -0
- package/components/data-display/VirtualTable/utils/getNextHorizontalHeaders.d.ts +4 -0
- package/components/data-display/VirtualTable/utils/getNextHorizontalHeaders.d.ts.map +1 -0
- package/components/data-display/VirtualTable/utils/getNextVerticalHeaders.d.ts +4 -0
- package/components/data-display/VirtualTable/utils/getNextVerticalHeaders.d.ts.map +1 -0
- package/components/data-display/VirtualTable/utils/getPrevHorizontalHeaders.d.ts +4 -0
- package/components/data-display/VirtualTable/utils/getPrevHorizontalHeaders.d.ts.map +1 -0
- package/components/data-display/VirtualTable/utils/getPrevVerticalHeaders.d.ts +4 -0
- package/components/data-display/VirtualTable/utils/getPrevVerticalHeaders.d.ts.map +1 -0
- package/components/data-display/VirtualTable/utils/recursiveFilter.d.ts +4 -0
- package/components/data-display/VirtualTable/utils/recursiveFilter.d.ts.map +1 -0
- package/components/data-display/VirtualTable/utils/recursiveSort.d.ts +4 -0
- package/components/data-display/VirtualTable/utils/recursiveSort.d.ts.map +1 -0
- package/components/data-display/VirtualTable/utils/rowMatchesFilter.d.ts +4 -0
- package/components/data-display/VirtualTable/utils/rowMatchesFilter.d.ts.map +1 -0
- package/components/data-display/VirtualTable/utils/rowSelection.d.ts +24 -0
- package/components/data-display/VirtualTable/utils/rowSelection.d.ts.map +1 -0
- package/components/feedback/Alert/Alert.d.ts +15 -0
- package/components/feedback/Alert/Alert.d.ts.map +1 -0
- package/components/feedback/Alert/index.d.ts +2 -0
- package/components/feedback/Alert/index.d.ts.map +1 -0
- package/components/feedback/Loader/Loader.d.ts +9 -0
- package/components/feedback/Loader/Loader.d.ts.map +1 -0
- package/{src/components/view/Loader/index.ts → components/feedback/Loader/index.d.ts} +1 -0
- package/components/feedback/Loader/index.d.ts.map +1 -0
- package/components/feedback/Modal/Modal.d.ts +11 -0
- package/components/feedback/Modal/Modal.d.ts.map +1 -0
- package/components/feedback/Modal/index.d.ts +2 -0
- package/components/feedback/Modal/index.d.ts.map +1 -0
- package/components/inputs/Button/Button.d.ts +15 -0
- package/components/inputs/Button/Button.d.ts.map +1 -0
- package/components/inputs/Button/index.d.ts +2 -0
- package/components/inputs/Button/index.d.ts.map +1 -0
- package/components/inputs/ButtonsGroup/ButtonsGroup.d.ts +11 -0
- package/components/inputs/ButtonsGroup/ButtonsGroup.d.ts.map +1 -0
- package/{src/components/common/ButtonsGroup/index.ts → components/inputs/ButtonsGroup/index.d.ts} +1 -0
- package/components/inputs/ButtonsGroup/index.d.ts.map +1 -0
- package/components/inputs/Checkbox/Checkbox.d.ts +12 -0
- package/components/inputs/Checkbox/Checkbox.d.ts.map +1 -0
- package/{src/components/common/Checkbox/index.ts → components/inputs/Checkbox/index.d.ts} +1 -0
- package/components/inputs/Checkbox/index.d.ts.map +1 -0
- package/components/inputs/Checklist/Checklist.d.ts +17 -0
- package/components/inputs/Checklist/Checklist.d.ts.map +1 -0
- package/{src/components/common/Checklist/index.ts → components/inputs/Checklist/index.d.ts} +1 -1
- package/components/inputs/Checklist/index.d.ts.map +1 -0
- package/components/inputs/Checklist/models/Item.d.ts +5 -0
- package/components/inputs/Checklist/models/Item.d.ts.map +1 -0
- package/components/inputs/Checklist/models/SelectedItems.d.ts +4 -0
- package/components/inputs/Checklist/models/SelectedItems.d.ts.map +1 -0
- package/components/inputs/Checklist/utils/filterItems.d.ts +4 -0
- package/components/inputs/Checklist/utils/filterItems.d.ts.map +1 -0
- package/components/inputs/ColorPicker/ColorPicker.d.ts +18 -0
- package/components/inputs/ColorPicker/ColorPicker.d.ts.map +1 -0
- package/{src/components/common/ColorPicker/index.ts → components/inputs/ColorPicker/index.d.ts} +1 -0
- package/components/inputs/ColorPicker/index.d.ts.map +1 -0
- package/components/inputs/DateTime/DateTime.d.ts +29 -0
- package/components/inputs/DateTime/DateTime.d.ts.map +1 -0
- package/{src/components/common/DateTime/index.ts → components/inputs/DateTime/index.d.ts} +1 -0
- package/components/inputs/DateTime/index.d.ts.map +1 -0
- package/components/inputs/DateTime/models/dayjs.d.ts +25 -0
- package/components/inputs/DateTime/models/dayjs.d.ts.map +1 -0
- package/components/inputs/DateTime/ui/CalendarPopover/CalendarPopover.d.ts +18 -0
- package/components/inputs/DateTime/ui/CalendarPopover/CalendarPopover.d.ts.map +1 -0
- package/{src/components/common/DateTime/ui/CalendarPopover/index.ts → components/inputs/DateTime/ui/CalendarPopover/index.d.ts} +1 -0
- package/components/inputs/DateTime/ui/CalendarPopover/index.d.ts.map +1 -0
- package/components/inputs/DateTime/ui/TimeWheelColumn/TimeWheelColumn.d.ts +8 -0
- package/components/inputs/DateTime/ui/TimeWheelColumn/TimeWheelColumn.d.ts.map +1 -0
- package/{src/components/common/DateTime/ui/TimeWheelColumn/index.ts → components/inputs/DateTime/ui/TimeWheelColumn/index.d.ts} +1 -0
- package/components/inputs/DateTime/ui/TimeWheelColumn/index.d.ts.map +1 -0
- package/components/inputs/DateTime/utils/createCalendarDate.d.ts +3 -0
- package/components/inputs/DateTime/utils/createCalendarDate.d.ts.map +1 -0
- package/components/inputs/FieldShell/FieldErrorIcon.d.ts +11 -0
- package/components/inputs/FieldShell/FieldErrorIcon.d.ts.map +1 -0
- package/components/inputs/FieldShell/FieldShell.d.ts +32 -0
- package/components/inputs/FieldShell/FieldShell.d.ts.map +1 -0
- package/components/inputs/FieldShell/index.d.ts +6 -0
- package/components/inputs/FieldShell/index.d.ts.map +1 -0
- package/components/inputs/Input/Input.d.ts +16 -0
- package/components/inputs/Input/Input.d.ts.map +1 -0
- package/components/inputs/Input/index.d.ts +2 -0
- package/components/inputs/Input/index.d.ts.map +1 -0
- package/components/inputs/InputChip/InputChip.d.ts +17 -0
- package/components/inputs/InputChip/InputChip.d.ts.map +1 -0
- package/{src/components/view/InputChip/index.ts → components/inputs/InputChip/index.d.ts} +1 -0
- package/components/inputs/InputChip/index.d.ts.map +1 -0
- package/components/inputs/MultiSelect/MultiSelect.d.ts +26 -0
- package/components/inputs/MultiSelect/MultiSelect.d.ts.map +1 -0
- package/{src/components/common/MultiSelect/index.ts → components/inputs/MultiSelect/index.d.ts} +1 -1
- package/components/inputs/MultiSelect/index.d.ts.map +1 -0
- package/components/inputs/MultiSelect/models/Item.d.ts +8 -0
- package/components/inputs/MultiSelect/models/Item.d.ts.map +1 -0
- package/{src/components/common/MultiSelect/models/TitleVariant.ts → components/inputs/MultiSelect/models/TitleVariant.d.ts} +1 -0
- package/components/inputs/MultiSelect/models/TitleVariant.d.ts.map +1 -0
- package/components/inputs/MultiSelect/ui/SelectPopover/SelectPopover.d.ts +14 -0
- package/components/inputs/MultiSelect/ui/SelectPopover/SelectPopover.d.ts.map +1 -0
- package/{src/components/common/MultiSelect/ui/SelectPopover/index.ts → components/inputs/MultiSelect/ui/SelectPopover/index.d.ts} +1 -0
- package/components/inputs/MultiSelect/ui/SelectPopover/index.d.ts.map +1 -0
- package/components/inputs/MultiSelect/utils/getTitle.d.ts +4 -0
- package/components/inputs/MultiSelect/utils/getTitle.d.ts.map +1 -0
- package/components/inputs/RadioButton/RadioButton.d.ts +13 -0
- package/components/inputs/RadioButton/RadioButton.d.ts.map +1 -0
- package/{src/components/common/RadioButton/index.ts → components/inputs/RadioButton/index.d.ts} +1 -0
- package/components/inputs/RadioButton/index.d.ts.map +1 -0
- package/components/inputs/Select/Select.d.ts +23 -0
- package/components/inputs/Select/Select.d.ts.map +1 -0
- package/{src/components/common/Select/index.ts → components/inputs/Select/index.d.ts} +1 -1
- package/components/inputs/Select/index.d.ts.map +1 -0
- package/components/inputs/Select/models/Divider.d.ts +5 -0
- package/components/inputs/Select/models/Divider.d.ts.map +1 -0
- package/components/inputs/Select/models/Item.d.ts +13 -0
- package/components/inputs/Select/models/Item.d.ts.map +1 -0
- package/components/inputs/Select/ui/SelectPopover/SelectPopover.d.ts +13 -0
- package/components/inputs/Select/ui/SelectPopover/SelectPopover.d.ts.map +1 -0
- package/{src/components/common/Select/ui/SelectPopover/index.ts → components/inputs/Select/ui/SelectPopover/index.d.ts} +1 -0
- package/components/inputs/Select/ui/SelectPopover/index.d.ts.map +1 -0
- package/components/inputs/WrapForLabel/WrapForLabel.d.ts +12 -0
- package/components/inputs/WrapForLabel/WrapForLabel.d.ts.map +1 -0
- package/{src/components/common/WrapForLabel/index.ts → components/inputs/WrapForLabel/index.d.ts} +1 -0
- package/components/inputs/WrapForLabel/index.d.ts.map +1 -0
- package/components/layout/Layout/Layout.d.ts +11 -0
- package/components/layout/Layout/Layout.d.ts.map +1 -0
- package/{src/components/layout/Layout/index.ts → components/layout/Layout/index.d.ts} +1 -0
- package/components/layout/Layout/index.d.ts.map +1 -0
- package/components/navigation/Menu/Menu.d.ts +15 -0
- package/components/navigation/Menu/Menu.d.ts.map +1 -0
- package/{src/components/navigation/Menu/index.ts → components/navigation/Menu/index.d.ts} +1 -1
- package/components/navigation/Menu/index.d.ts.map +1 -0
- package/components/navigation/Menu/models/Divider.d.ts +5 -0
- package/components/navigation/Menu/models/Divider.d.ts.map +1 -0
- package/components/navigation/Menu/models/Item.d.ts +19 -0
- package/components/navigation/Menu/models/Item.d.ts.map +1 -0
- package/components/navigation/Tabs/Tabs.d.ts +27 -0
- package/components/navigation/Tabs/Tabs.d.ts.map +1 -0
- package/{src/components/navigation/Tabs/index.ts → components/navigation/Tabs/index.d.ts} +1 -1
- package/components/navigation/Tabs/index.d.ts.map +1 -0
- package/components/navigation/Tabs/models/Item.d.ts +9 -0
- package/components/navigation/Tabs/models/Item.d.ts.map +1 -0
- package/components/surfaces/Card/Card.d.ts +18 -0
- package/components/surfaces/Card/Card.d.ts.map +1 -0
- package/components/surfaces/Card/index.d.ts +2 -0
- package/components/surfaces/Card/index.d.ts.map +1 -0
- package/components/surfaces/Surface/Surface.d.ts +14 -0
- package/components/surfaces/Surface/Surface.d.ts.map +1 -0
- package/{src/components/layout/Surface/index.ts → components/surfaces/Surface/index.d.ts} +1 -0
- package/components/surfaces/Surface/index.d.ts.map +1 -0
- package/components/utils/Popover/Popover.d.ts +19 -0
- package/components/utils/Popover/Popover.d.ts.map +1 -0
- package/{src/components/view/Popover/index.ts → components/utils/Popover/index.d.ts} +1 -0
- package/components/utils/Popover/index.d.ts.map +1 -0
- package/components/utils/Popover/ui/Arrow/Arrow.d.ts +2 -0
- package/components/utils/Popover/ui/Arrow/Arrow.d.ts.map +1 -0
- package/components/utils/Popover/ui/Arrow/index.d.ts +2 -0
- package/components/utils/Popover/ui/Arrow/index.d.ts.map +1 -0
- package/components/utils/Popover/ui/PopoverContent/PopoverContent.d.ts +3 -0
- package/components/utils/Popover/ui/PopoverContent/PopoverContent.d.ts.map +1 -0
- package/{src/components/view/Popover/ui/PopoverContent/index.ts → components/utils/Popover/ui/PopoverContent/index.d.ts} +1 -0
- package/components/utils/Popover/ui/PopoverContent/index.d.ts.map +1 -0
- package/components/utils/Popover/ui/PopoverProvider/PopoverProvider.d.ts +4 -0
- package/components/utils/Popover/ui/PopoverProvider/PopoverProvider.d.ts.map +1 -0
- package/components/utils/Popover/ui/PopoverProvider/constants/PopoverContext.d.ts +3 -0
- package/components/utils/Popover/ui/PopoverProvider/constants/PopoverContext.d.ts.map +1 -0
- package/components/utils/Popover/ui/PopoverProvider/hooks/usePopover.d.ts +52 -0
- package/components/utils/Popover/ui/PopoverProvider/hooks/usePopover.d.ts.map +1 -0
- package/{src/components/view/Popover/ui/PopoverProvider/index.ts → components/utils/Popover/ui/PopoverProvider/index.d.ts} +1 -0
- package/components/utils/Popover/ui/PopoverProvider/index.d.ts.map +1 -0
- package/components/utils/Popover/ui/PopoverProvider/models/PopoverOptions.d.ts +13 -0
- package/components/utils/Popover/ui/PopoverProvider/models/PopoverOptions.d.ts.map +1 -0
- package/components/utils/Popover/ui/PopoverProvider/models/PopoverState.d.ts +5 -0
- package/components/utils/Popover/ui/PopoverProvider/models/PopoverState.d.ts.map +1 -0
- package/components/utils/Popover/ui/PopoverTrigger/PopoverTrigger.d.ts +5 -0
- package/components/utils/Popover/ui/PopoverTrigger/PopoverTrigger.d.ts.map +1 -0
- package/{src/components/view/Popover/ui/PopoverTrigger/index.ts → components/utils/Popover/ui/PopoverTrigger/index.d.ts} +1 -0
- package/components/utils/Popover/ui/PopoverTrigger/index.d.ts.map +1 -0
- package/hooks/useCompatId.d.ts +2 -0
- package/hooks/useCompatId.d.ts.map +1 -0
- package/hooks/useTranslation.d.ts +6 -0
- package/hooks/useTranslation.d.ts.map +1 -0
- package/icons/AddIcon.d.ts +4 -0
- package/icons/AddIcon.d.ts.map +1 -0
- package/icons/AlertIcon.d.ts +4 -0
- package/icons/AlertIcon.d.ts.map +1 -0
- package/icons/ArrowDropDownIcon.d.ts +4 -0
- package/icons/ArrowDropDownIcon.d.ts.map +1 -0
- package/icons/ArrowDropUpIcon.d.ts +4 -0
- package/icons/ArrowDropUpIcon.d.ts.map +1 -0
- package/icons/AttachIcon.d.ts +4 -0
- package/icons/AttachIcon.d.ts.map +1 -0
- package/icons/BarChartIcon.d.ts +4 -0
- package/icons/BarChartIcon.d.ts.map +1 -0
- package/icons/BookmarkAddIcon.d.ts +4 -0
- package/icons/BookmarkAddIcon.d.ts.map +1 -0
- package/icons/BookmarkIcon.d.ts +4 -0
- package/icons/BookmarkIcon.d.ts.map +1 -0
- package/icons/CheckboxDeselectedIcon.d.ts +4 -0
- package/icons/CheckboxDeselectedIcon.d.ts.map +1 -0
- package/icons/CheckboxIcon.d.ts +4 -0
- package/icons/CheckboxIcon.d.ts.map +1 -0
- package/icons/CheckboxSeveralIcon.d.ts +4 -0
- package/icons/CheckboxSeveralIcon.d.ts.map +1 -0
- package/icons/ChevronDownIcon.d.ts +4 -0
- package/icons/ChevronDownIcon.d.ts.map +1 -0
- package/icons/ChevronLeftIcon.d.ts +4 -0
- package/icons/ChevronLeftIcon.d.ts.map +1 -0
- package/icons/ChevronRightIcon.d.ts +4 -0
- package/icons/ChevronRightIcon.d.ts.map +1 -0
- package/icons/ChevronUpIcon.d.ts +4 -0
- package/icons/ChevronUpIcon.d.ts.map +1 -0
- package/icons/CircleFilledIcon.d.ts +4 -0
- package/icons/CircleFilledIcon.d.ts.map +1 -0
- package/icons/CloseIcon.d.ts +4 -0
- package/icons/CloseIcon.d.ts.map +1 -0
- package/icons/DateRangeIcon.d.ts +4 -0
- package/icons/DateRangeIcon.d.ts.map +1 -0
- package/icons/DeleteIcon.d.ts +4 -0
- package/icons/DeleteIcon.d.ts.map +1 -0
- package/icons/DoneIcon.d.ts +4 -0
- package/icons/DoneIcon.d.ts.map +1 -0
- package/icons/DonutIcon.d.ts +4 -0
- package/icons/DonutIcon.d.ts.map +1 -0
- package/icons/DownloadIcon.d.ts +4 -0
- package/icons/DownloadIcon.d.ts.map +1 -0
- package/icons/DragIcon.d.ts +4 -0
- package/icons/DragIcon.d.ts.map +1 -0
- package/icons/EditIcon.d.ts +4 -0
- package/icons/EditIcon.d.ts.map +1 -0
- package/icons/ErrorOutlineIcon.d.ts +4 -0
- package/icons/ErrorOutlineIcon.d.ts.map +1 -0
- package/icons/ExportTableIcon.d.ts +4 -0
- package/icons/ExportTableIcon.d.ts.map +1 -0
- package/icons/FileUploadIcon.d.ts +4 -0
- package/icons/FileUploadIcon.d.ts.map +1 -0
- package/icons/FilterClearIcon.d.ts +4 -0
- package/icons/FilterClearIcon.d.ts.map +1 -0
- package/icons/FilterIcon.d.ts +4 -0
- package/icons/FilterIcon.d.ts.map +1 -0
- package/icons/FullScreenOffIcon.d.ts +4 -0
- package/icons/FullScreenOffIcon.d.ts.map +1 -0
- package/icons/FullScreenOnIcon.d.ts +4 -0
- package/icons/FullScreenOnIcon.d.ts.map +1 -0
- package/icons/Icon.d.ts +8 -0
- package/icons/Icon.d.ts.map +1 -0
- package/icons/InfoIcon.d.ts +4 -0
- package/icons/InfoIcon.d.ts.map +1 -0
- package/icons/ListIcon.d.ts +4 -0
- package/icons/ListIcon.d.ts.map +1 -0
- package/icons/LooksOneIcon.d.ts +4 -0
- package/icons/LooksOneIcon.d.ts.map +1 -0
- package/icons/MapIcon.d.ts +4 -0
- package/icons/MapIcon.d.ts.map +1 -0
- package/icons/MoreVerticalIcon.d.ts +4 -0
- package/icons/MoreVerticalIcon.d.ts.map +1 -0
- package/icons/PointIcon.d.ts +4 -0
- package/icons/PointIcon.d.ts.map +1 -0
- package/icons/RadioDeselectedIcon.d.ts +4 -0
- package/icons/RadioDeselectedIcon.d.ts.map +1 -0
- package/icons/RadioSelectedIcon.d.ts +4 -0
- package/icons/RadioSelectedIcon.d.ts.map +1 -0
- package/icons/SaveIcon.d.ts +4 -0
- package/icons/SaveIcon.d.ts.map +1 -0
- package/icons/ScatterPlotIcon.d.ts +4 -0
- package/icons/ScatterPlotIcon.d.ts.map +1 -0
- package/icons/SearchIcon.d.ts +4 -0
- package/icons/SearchIcon.d.ts.map +1 -0
- package/icons/SelectUniqueIcon.d.ts +4 -0
- package/icons/SelectUniqueIcon.d.ts.map +1 -0
- package/icons/SettingsIcon.d.ts +4 -0
- package/icons/SettingsIcon.d.ts.map +1 -0
- package/icons/SortDownIcon.d.ts +4 -0
- package/icons/SortDownIcon.d.ts.map +1 -0
- package/icons/SortUpIcon.d.ts +4 -0
- package/icons/SortUpIcon.d.ts.map +1 -0
- package/icons/TableChartIcon.d.ts +4 -0
- package/icons/TableChartIcon.d.ts.map +1 -0
- package/icons/UploadIcon.d.ts +4 -0
- package/icons/UploadIcon.d.ts.map +1 -0
- package/icons/VisibilityIcon.d.ts +4 -0
- package/icons/VisibilityIcon.d.ts.map +1 -0
- package/icons/WellIcon.d.ts +4 -0
- package/icons/WellIcon.d.ts.map +1 -0
- package/{src/icons/index.ts → icons/index.d.ts} +5 -0
- package/icons/index.d.ts.map +1 -0
- package/index.css +3513 -0
- package/index.css.map +1 -0
- package/index.d.ts +52 -0
- package/index.d.ts.map +1 -0
- package/index.js +3 -0
- package/index.js.LICENSE.txt +31 -0
- package/index.js.map +1 -0
- package/index.mjs +3 -0
- package/index.mjs.LICENSE.txt +31 -0
- package/index.mjs.map +1 -0
- package/models/AlertSize.d.ts +2 -0
- package/models/AlertSize.d.ts.map +1 -0
- package/models/AlertType.d.ts +2 -0
- package/models/AlertType.d.ts.map +1 -0
- package/{src/models/ButtonVariant.ts → models/ButtonVariant.d.ts} +1 -0
- package/models/ButtonVariant.d.ts.map +1 -0
- package/{src/models/CheckboxSize.ts → models/CheckboxSize.d.ts} +1 -0
- package/models/CheckboxSize.d.ts.map +1 -0
- package/{src/models/ChipSize.ts → models/ChipSize.d.ts} +1 -0
- package/models/ChipSize.d.ts.map +1 -0
- package/{src/models/ChipVariant.ts → models/ChipVariant.d.ts} +1 -0
- package/models/ChipVariant.d.ts.map +1 -0
- package/models/FieldError.d.ts +5 -0
- package/models/FieldError.d.ts.map +1 -0
- package/{src/models/FieldSize.ts → models/FieldSize.d.ts} +1 -0
- package/models/FieldSize.d.ts.map +1 -0
- package/{src/models/FieldVariant.ts → models/FieldVariant.d.ts} +1 -0
- package/models/FieldVariant.d.ts.map +1 -0
- package/{src/models/Maybe.ts → models/Maybe.d.ts} +1 -0
- package/models/Maybe.d.ts.map +1 -0
- package/{src/models/SurfaceSize.ts → models/SurfaceSize.d.ts} +1 -0
- package/models/SurfaceSize.d.ts.map +1 -0
- package/{src/models/SurfaceType.ts → models/SurfaceType.d.ts} +1 -0
- package/models/SurfaceType.d.ts.map +1 -0
- package/models/TypographyVariant.d.ts +2 -0
- package/models/TypographyVariant.d.ts.map +1 -0
- package/models/UiProps.d.ts +7 -0
- package/models/UiProps.d.ts.map +1 -0
- package/package.json +19 -100
- package/theme/ThemeProvider.d.ts +23 -0
- package/theme/ThemeProvider.d.ts.map +1 -0
- package/{src/utils/index.ts → utils/index.d.ts} +1 -0
- package/utils/index.d.ts.map +1 -0
- package/utils/toFirstLetterLowerCase.d.ts +2 -0
- package/utils/toFirstLetterLowerCase.d.ts.map +1 -0
- package/utils/toFirstLetterUpperCase.d.ts +2 -0
- package/utils/toFirstLetterUpperCase.d.ts.map +1 -0
- package/.editorconfig +0 -25
- package/.gitattributes +0 -64
- package/.gitlab-ci.yml +0 -40
- package/.helm/Chart.yaml +0 -5
- package/.helm/values.yaml +0 -12
- package/.prettierignore +0 -12
- package/.prettierrc.json +0 -19
- package/.storybook/global.d.ts +0 -4
- package/.storybook/main.ts +0 -12
- package/.storybook/preview.tsx +0 -59
- package/.stylelintignore +0 -3
- package/.stylelintrc.json +0 -5
- package/.vscode/settings.json +0 -10
- package/Dockerfile +0 -14
- package/babel.config.json +0 -23
- package/cssModulesPluginTemplate.cjs +0 -5
- package/eslint.config.mjs +0 -160
- package/nginx.conf +0 -14
- package/package.dist.json +0 -20
- package/postcss.config.cjs +0 -12
- package/src/components/common/Button/Button.stories.tsx +0 -93
- package/src/components/common/Button/Button.tsx +0 -59
- package/src/components/common/Button/button.module.css +0 -337
- package/src/components/common/Button/index.ts +0 -1
- package/src/components/common/ButtonsGroup/ButtonsGroup.stories.tsx +0 -52
- package/src/components/common/ButtonsGroup/ButtonsGroup.tsx +0 -25
- package/src/components/common/ButtonsGroup/buttonsGroup.module.css +0 -24
- package/src/components/common/Checkbox/Checkbox.stories.tsx +0 -48
- package/src/components/common/Checkbox/Checkbox.tsx +0 -82
- package/src/components/common/Checkbox/checkbox.module.css +0 -112
- package/src/components/common/Checklist/Checklist.stories.tsx +0 -138
- package/src/components/common/Checklist/Checklist.tsx +0 -159
- package/src/components/common/Checklist/checklist.module.css +0 -23
- package/src/components/common/Checklist/models/Item.ts +0 -4
- package/src/components/common/Checklist/models/SelectedItems.ts +0 -3
- package/src/components/common/Checklist/utils/filterItems.ts +0 -18
- package/src/components/common/ColorPicker/ColorPicker.stories.tsx +0 -198
- package/src/components/common/ColorPicker/ColorPicker.tsx +0 -157
- package/src/components/common/ColorPicker/colorPicker.module.css +0 -145
- package/src/components/common/DateTime/DateTime.stories.tsx +0 -249
- package/src/components/common/DateTime/DateTime.tsx +0 -236
- package/src/components/common/DateTime/dateTime.module.css +0 -21
- package/src/components/common/DateTime/models/dayjs.ts +0 -26
- package/src/components/common/DateTime/ui/CalendarPopover/CalendarPopover.tsx +0 -585
- package/src/components/common/DateTime/ui/CalendarPopover/calendarPopover.module.css +0 -226
- package/src/components/common/DateTime/ui/TimeWheelColumn/TimeWheelColumn.tsx +0 -106
- package/src/components/common/DateTime/ui/TimeWheelColumn/timeWheelColumn.module.css +0 -35
- package/src/components/common/DateTime/utils/createCalendarDate.ts +0 -15
- package/src/components/common/FieldShell/FieldErrorIcon.tsx +0 -39
- package/src/components/common/FieldShell/FieldShell.tsx +0 -104
- package/src/components/common/FieldShell/fieldShell.module.css +0 -456
- package/src/components/common/FieldShell/index.ts +0 -5
- package/src/components/common/Input/Input.stories.tsx +0 -232
- package/src/components/common/Input/Input.tsx +0 -140
- package/src/components/common/Input/index.ts +0 -1
- package/src/components/common/Input/input.module.css +0 -49
- package/src/components/common/MultiSelect/MultiSelect.stories.tsx +0 -344
- package/src/components/common/MultiSelect/MultiSelect.tsx +0 -260
- package/src/components/common/MultiSelect/models/Item.ts +0 -7
- package/src/components/common/MultiSelect/multiSelect.module.css +0 -198
- package/src/components/common/MultiSelect/multiSelect.stories.module.css +0 -4
- package/src/components/common/MultiSelect/ui/SelectPopover/SelectPopover.tsx +0 -69
- package/src/components/common/MultiSelect/utils/getTitle.ts +0 -19
- package/src/components/common/RadioButton/RadioButton.stories.tsx +0 -134
- package/src/components/common/RadioButton/RadioButton.tsx +0 -90
- package/src/components/common/RadioButton/radioButton.module.css +0 -108
- package/src/components/common/Select/Select.stories.tsx +0 -294
- package/src/components/common/Select/Select.tsx +0 -181
- package/src/components/common/Select/models/Divider.ts +0 -4
- package/src/components/common/Select/models/Item.ts +0 -15
- package/src/components/common/Select/select.module.css +0 -87
- package/src/components/common/Select/ui/SelectPopover/SelectPopover.tsx +0 -49
- package/src/components/common/WrapForLabel/WrapForLabel.stories.tsx +0 -36
- package/src/components/common/WrapForLabel/WrapForLabel.tsx +0 -28
- package/src/components/common/WrapForLabel/wrapForLabel.module.css +0 -14
- package/src/components/layout/Layout/Layout.stories.tsx +0 -44
- package/src/components/layout/Layout/Layout.tsx +0 -24
- package/src/components/layout/Layout/layout.module.css +0 -16
- package/src/components/layout/Surface/Surface.stories.tsx +0 -56
- package/src/components/layout/Surface/Surface.tsx +0 -33
- package/src/components/layout/Surface/surface.module.css +0 -47
- package/src/components/navigation/Menu/Menu.stories.tsx +0 -324
- package/src/components/navigation/Menu/Menu.tsx +0 -157
- package/src/components/navigation/Menu/menu.module.css +0 -153
- package/src/components/navigation/Menu/models/Divider.ts +0 -4
- package/src/components/navigation/Menu/models/Item.ts +0 -20
- package/src/components/navigation/Tabs/Tabs.stories.tsx +0 -959
- package/src/components/navigation/Tabs/Tabs.tsx +0 -174
- package/src/components/navigation/Tabs/models/Item.ts +0 -9
- package/src/components/navigation/Tabs/tabs.module.css +0 -179
- package/src/components/navigation/Tabs/tabs.stories.module.css +0 -3
- package/src/components/view/Card/Card.stories.tsx +0 -99
- package/src/components/view/Card/Card.tsx +0 -66
- package/src/components/view/Card/card.module.css +0 -50
- package/src/components/view/Card/index.ts +0 -1
- package/src/components/view/Chip/Chip.stories.tsx +0 -219
- package/src/components/view/Chip/Chip.tsx +0 -89
- package/src/components/view/Chip/chip.module.css +0 -157
- package/src/components/view/InputChip/InputChip.stories.tsx +0 -117
- package/src/components/view/InputChip/InputChip.tsx +0 -77
- package/src/components/view/InputChip/inputChip.module.css +0 -188
- package/src/components/view/Loader/Loader.stories.tsx +0 -54
- package/src/components/view/Loader/Loader.tsx +0 -29
- package/src/components/view/Loader/loader.gif +0 -0
- package/src/components/view/Loader/loader.module.css +0 -8
- package/src/components/view/Modal/Modal.stories.tsx +0 -63
- package/src/components/view/Modal/Modal.tsx +0 -58
- package/src/components/view/Modal/index.ts +0 -1
- package/src/components/view/Modal/modal.module.css +0 -18
- package/src/components/view/Modal/modal.stories.module.css +0 -18
- package/src/components/view/Pairs/Pairs.stories.tsx +0 -101
- package/src/components/view/Pairs/Pairs.tsx +0 -63
- package/src/components/view/Pairs/models/Pair.ts +0 -4
- package/src/components/view/Pairs/pairs.module.css +0 -35
- package/src/components/view/Pairs/ui/TypographyWithTooltip.tsx +0 -31
- package/src/components/view/Popover/Popover.stories.tsx +0 -105
- package/src/components/view/Popover/Popover.tsx +0 -75
- package/src/components/view/Popover/popover.module.css +0 -23
- package/src/components/view/Popover/ui/Arrow/Arrow.tsx +0 -11
- package/src/components/view/Popover/ui/Arrow/index.ts +0 -1
- package/src/components/view/Popover/ui/PopoverContent/PopoverContent.tsx +0 -44
- package/src/components/view/Popover/ui/PopoverProvider/PopoverProvider.tsx +0 -13
- package/src/components/view/Popover/ui/PopoverProvider/constants/PopoverContext.ts +0 -5
- package/src/components/view/Popover/ui/PopoverProvider/hooks/usePopover.ts +0 -79
- package/src/components/view/Popover/ui/PopoverProvider/models/PopoverOptions.ts +0 -13
- package/src/components/view/Popover/ui/PopoverProvider/models/PopoverState.ts +0 -7
- package/src/components/view/Popover/ui/PopoverTrigger/PopoverTrigger.tsx +0 -36
- package/src/components/view/Tooltip/Tooltip.stories.tsx +0 -141
- package/src/components/view/Tooltip/Tooltip.tsx +0 -74
- package/src/components/view/Tooltip/tooltip.module.css +0 -93
- package/src/components/view/Tooltip/ui/TooltipContent/TooltipContent.tsx +0 -88
- package/src/components/view/Tooltip/ui/TooltipProvider/TooltipProvider.tsx +0 -13
- package/src/components/view/Tooltip/ui/TooltipProvider/constants/TooltipContext.ts +0 -5
- package/src/components/view/Tooltip/ui/TooltipProvider/hooks/useTooltip.ts +0 -76
- package/src/components/view/Tooltip/ui/TooltipProvider/models/TooltipOptions.ts +0 -12
- package/src/components/view/Tooltip/ui/TooltipTrigger/TooltipTrigger.tsx +0 -36
- package/src/components/view/TreeView/TreeView.stories.tsx +0 -174
- package/src/components/view/TreeView/TreeView.tsx +0 -76
- package/src/components/view/TreeView/models/Item.ts +0 -7
- package/src/components/view/TreeView/treeView.module.css +0 -3
- package/src/components/view/TreeView/ui/TreeViewItem/TreeViewItem.tsx +0 -84
- package/src/components/view/TreeView/ui/TreeViewItem/treeViewItem.module.css +0 -30
- package/src/components/view/TreeView/utils/getFilteredTree.ts +0 -23
- package/src/components/view/Typography/Typography.stories.tsx +0 -120
- package/src/components/view/Typography/Typography.tsx +0 -28
- package/src/components/view/Typography/typography.module.css +0 -132
- package/src/components/view/VirtualTable/VirtualTable.stories.tsx +0 -285
- package/src/components/view/VirtualTable/VirtualTable.tsx +0 -1159
- package/src/components/view/VirtualTable/constants/baseColumns.ts +0 -39
- package/src/components/view/VirtualTable/constants/bigBaseColumns.ts +0 -35
- package/src/components/view/VirtualTable/constants/bigSampleData.ts +0 -92
- package/src/components/view/VirtualTable/constants/defaultRowHeight.ts +0 -1
- package/src/components/view/VirtualTable/constants/sampleData.ts +0 -213
- package/src/components/view/VirtualTable/models/AdditionalButton.ts +0 -10
- package/src/components/view/VirtualTable/models/FilterBy.ts +0 -11
- package/src/components/view/VirtualTable/models/SortBy.ts +0 -11
- package/src/components/view/VirtualTable/models/TableCell.ts +0 -12
- package/src/components/view/VirtualTable/models/TableColumn.ts +0 -52
- package/src/components/view/VirtualTable/models/TableRow.ts +0 -6
- package/src/components/view/VirtualTable/models/VirtualTableRef.ts +0 -7
- package/src/components/view/VirtualTable/ui/DateFiltration/DateFiltration.tsx +0 -56
- package/src/components/view/VirtualTable/ui/DateFiltration/dateFiltration.module.css +0 -10
- package/src/components/view/VirtualTable/ui/DefaultColumn/DefaultColumn.tsx +0 -144
- package/src/components/view/VirtualTable/ui/HeaderDropdown/HeaderDropdown.tsx +0 -359
- package/src/components/view/VirtualTable/ui/HeaderDropdown/headerDropdown.module.css +0 -20
- package/src/components/view/VirtualTable/ui/NumberFiltration/NumberFiltration.tsx +0 -168
- package/src/components/view/VirtualTable/ui/NumberFiltration/numberFiltration.module.css +0 -27
- package/src/components/view/VirtualTable/utils/alphanumericCompare.ts +0 -29
- package/src/components/view/VirtualTable/utils/dedupeFirstByColumnValue.ts +0 -17
- package/src/components/view/VirtualTable/utils/getColumns.ts +0 -40
- package/src/components/view/VirtualTable/utils/getNextHorizontalHeaders.ts +0 -21
- package/src/components/view/VirtualTable/utils/getNextVerticalHeaders.ts +0 -18
- package/src/components/view/VirtualTable/utils/getPrevHorizontalHeaders.ts +0 -19
- package/src/components/view/VirtualTable/utils/getPrevVerticalHeaders.ts +0 -22
- package/src/components/view/VirtualTable/utils/recursiveFilter.ts +0 -15
- package/src/components/view/VirtualTable/utils/recursiveSort.ts +0 -24
- package/src/components/view/VirtualTable/utils/rowMatchesFilter.ts +0 -43
- package/src/components/view/VirtualTable/utils/rowSelection.ts +0 -125
- package/src/components/view/VirtualTable/virtualTable.module.css +0 -346
- package/src/hooks/useCompatId.ts +0 -12
- package/src/hooks/useTranslation.ts +0 -15
- package/src/hooks/window/hooks/useWindowSize.ts +0 -14
- package/src/hooks/window/index.ts +0 -1
- package/src/i18n/config.ts +0 -23
- package/src/i18n/locales/en.json +0 -23
- package/src/i18n/locales/ru.json +0 -23
- package/src/icons/AddIcon.tsx +0 -9
- package/src/icons/AlertIcon.tsx +0 -14
- package/src/icons/ArrowDropDownIcon.tsx +0 -9
- package/src/icons/ArrowDropUpIcon.tsx +0 -9
- package/src/icons/AttachIcon.tsx +0 -10
- package/src/icons/BarChartIcon.tsx +0 -9
- package/src/icons/BookmarkAddIcon.tsx +0 -12
- package/src/icons/BookmarkIcon.tsx +0 -9
- package/src/icons/CheckboxDeselectedIcon.tsx +0 -9
- package/src/icons/CheckboxIcon.tsx +0 -10
- package/src/icons/CheckboxSeveralIcon.tsx +0 -10
- package/src/icons/ChevronDownIcon.tsx +0 -9
- package/src/icons/ChevronLeftIcon.tsx +0 -9
- package/src/icons/ChevronRightIcon.tsx +0 -9
- package/src/icons/ChevronUpIcon.tsx +0 -9
- package/src/icons/CircleFilledIcon.tsx +0 -9
- package/src/icons/CloseIcon.tsx +0 -9
- package/src/icons/DateRangeIcon.tsx +0 -10
- package/src/icons/DeleteIcon.tsx +0 -16
- package/src/icons/DoneIcon.tsx +0 -9
- package/src/icons/DownloadIcon.tsx +0 -9
- package/src/icons/DragIcon.tsx +0 -21
- package/src/icons/EditIcon.tsx +0 -10
- package/src/icons/ErrorOutlineIcon.tsx +0 -14
- package/src/icons/ExportTableIcon.tsx +0 -19
- package/src/icons/FileUploadIcon.tsx +0 -9
- package/src/icons/FilterClearIcon.tsx +0 -24
- package/src/icons/FilterIcon.tsx +0 -13
- package/src/icons/FullScreenOffIcon.tsx +0 -9
- package/src/icons/FullScreenOnIcon.tsx +0 -12
- package/src/icons/Icon.tsx +0 -27
- package/src/icons/InfoIcon.tsx +0 -12
- package/src/icons/ListIcon.tsx +0 -9
- package/src/icons/MoreVerticalIcon.tsx +0 -10
- package/src/icons/PointIcon.tsx +0 -14
- package/src/icons/RadioDeselectedIcon.tsx +0 -10
- package/src/icons/RadioSelectedIcon.tsx +0 -10
- package/src/icons/SaveIcon.tsx +0 -17
- package/src/icons/SearchIcon.tsx +0 -10
- package/src/icons/SelectUniqueIcon.tsx +0 -9
- package/src/icons/SettingsIcon.tsx +0 -10
- package/src/icons/SortDownIcon.tsx +0 -9
- package/src/icons/SortUpIcon.tsx +0 -9
- package/src/icons/TableChartIcon.tsx +0 -9
- package/src/icons/UploadIcon.tsx +0 -9
- package/src/icons/VisibilityIcon.tsx +0 -18
- package/src/icons/WellIcon.tsx +0 -10
- package/src/index.ts +0 -86
- package/src/models/FieldError.ts +0 -4
- package/src/models/TypographyVariant.ts +0 -20
- package/src/models/UiProps.ts +0 -3
- package/src/stories/icons/Icons.stories.tsx +0 -124
- package/src/styles/global.css +0 -142
- package/src/styles/localGlobal.css +0 -20
- package/src/styles/themes/dark.css +0 -132
- package/src/styles/themes/darkBlue.css +0 -132
- package/src/styles/themes/light.css +0 -132
- package/src/theme/ThemeProvider.tsx +0 -164
- package/src/types/global.d.ts +0 -13
- package/src/types/tanstack.d.ts +0 -40
- package/src/utils/toFirstLetterLowerCase.ts +0 -3
- package/src/utils/toFirstLetterUpperCase.ts +0 -3
- package/tsconfig.dist.json +0 -17
- package/tsconfig.json +0 -48
- package/vite.config.ts +0 -13
- package/webpack.dist.config.cjs +0 -105
- package/werf-giterminism.yaml +0 -19
- package/werf.yaml +0 -8
- package/wiki/VirtualTable.md +0 -660
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AlertSize.d.ts","sourceRoot":"","sources":["../../src/models/AlertSize.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AlertType.d.ts","sourceRoot":"","sources":["../../src/models/AlertType.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ButtonVariant.d.ts","sourceRoot":"","sources":["../../src/models/ButtonVariant.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,UAAU,GAAG,MAAM,GAAG,UAAU,GAAG,OAAO,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CheckboxSize.d.ts","sourceRoot":"","sources":["../../src/models/CheckboxSize.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG,OAAO,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChipSize.d.ts","sourceRoot":"","sources":["../../src/models/ChipSize.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,QAAQ,GAAG,OAAO,GAAG,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChipVariant.d.ts","sourceRoot":"","sources":["../../src/models/ChipVariant.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG,QAAQ,GAAG,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FieldError.d.ts","sourceRoot":"","sources":["../../src/models/FieldError.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;CACrB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FieldSize.d.ts","sourceRoot":"","sources":["../../src/models/FieldSize.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FieldVariant.d.ts","sourceRoot":"","sources":["../../src/models/FieldVariant.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG,aAAa,GAAG,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Maybe.d.ts","sourceRoot":"","sources":["../../src/models/Maybe.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,KAAK,CAAC,CAAC,IAAI,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SurfaceSize.d.ts","sourceRoot":"","sources":["../../src/models/SurfaceSize.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SurfaceType.d.ts","sourceRoot":"","sources":["../../src/models/SurfaceType.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,OAAO,GAAG,OAAO,GAAG,UAAU,GAAG,UAAU,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export type TypographyVariant = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'h7' | 'subtitle1' | 'subtitle2' | 'subtitle3' | 'body1' | 'body2' | 'body3' | 'button' | 'caption' | 'caption2' | 'doubleCaption' | 'overline' | 'label';
|
|
2
|
+
//# sourceMappingURL=TypographyVariant.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TypographyVariant.d.ts","sourceRoot":"","sources":["../../src/models/TypographyVariant.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iBAAiB,GACzB,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,WAAW,GACX,WAAW,GACX,WAAW,GACX,OAAO,GACP,OAAO,GACP,OAAO,GACP,QAAQ,GACR,SAAS,GACT,UAAU,GACV,eAAe,GACf,UAAU,GACV,OAAO,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UiProps.d.ts","sourceRoot":"","sources":["../../src/models/UiProps.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,WAAW,CAAA;CAAE,CAAC;AAElE,MAAM,MAAM,OAAO,CAAC,CAAC,GAAG,OAAO,IAAI,CAAC,GAAG;IAAE,OAAO,CAAC,EAAE,WAAW,CAAA;CAAE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,109 +1,28 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "nntc-ui",
|
|
3
|
-
"version": "0.2.6",
|
|
4
2
|
"author": "NNTC",
|
|
5
3
|
"description": "React UI-kit for NNTC",
|
|
6
|
-
"type": "module",
|
|
7
|
-
"scripts": {
|
|
8
|
-
"dev": "storybook dev -p 6006",
|
|
9
|
-
"build": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true,maxRetries:8,retryDelay:100})\" && webpack --config webpack.dist.config.cjs --env format=cjs && webpack --config webpack.dist.config.cjs --env format=esm && tsc -p tsconfig.dist.json && node -e \"const fs=require('fs');const pkg=JSON.parse(fs.readFileSync('package.json','utf8'));const distPkg=JSON.parse(fs.readFileSync('package.dist.json','utf8'));Object.assign(distPkg,{name:pkg.name,version:pkg.version});fs.writeFileSync('dist/package.json',JSON.stringify(distPkg,null,2));\" && npx copyfiles README.md dist",
|
|
10
|
-
"build-storybook": "storybook build",
|
|
11
|
-
"check-type": "tsc --noEmit",
|
|
12
|
-
"prettify:all": "prettier --write \"./**/*.{ts,tsx,json}\"",
|
|
13
|
-
"lint": "eslint \"./**/*.{ts,tsx,mjs}\"",
|
|
14
|
-
"lint:fix": "eslint \"./**/*.{ts,tsx,mjs}\" --fix",
|
|
15
|
-
"lint:styles": "stylelint \"**/*.css\"",
|
|
16
|
-
"lint:styles:fix": "stylelint \"**/*.css\" --fix",
|
|
17
|
-
"check-code:all": "yarn run check-type && yarn run prettify:all && yarn run lint:fix && yarn run lint:styles:fix"
|
|
18
|
-
},
|
|
19
4
|
"keywords": [
|
|
20
5
|
"react",
|
|
21
|
-
"
|
|
22
|
-
"
|
|
6
|
+
"components",
|
|
7
|
+
"nntc"
|
|
23
8
|
],
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
],
|
|
33
|
-
"*.tsx": [
|
|
34
|
-
"eslint",
|
|
35
|
-
"prettier --write"
|
|
36
|
-
],
|
|
37
|
-
"*.json": [
|
|
38
|
-
"prettier --write"
|
|
39
|
-
],
|
|
40
|
-
"*.mjs": [
|
|
41
|
-
"eslint",
|
|
42
|
-
"prettier --write"
|
|
43
|
-
]
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./index.d.ts",
|
|
12
|
+
"import": "./index.mjs",
|
|
13
|
+
"require": "./index.js",
|
|
14
|
+
"default": "./index.js"
|
|
15
|
+
},
|
|
16
|
+
"./index.css": "./index.css"
|
|
44
17
|
},
|
|
18
|
+
"sideEffects": [
|
|
19
|
+
"*.css"
|
|
20
|
+
],
|
|
45
21
|
"license": "MIT",
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"@tanstack/react-virtual": "^3.13.24",
|
|
50
|
-
"classnames": "^2.5.1",
|
|
51
|
-
"dayjs": "^1.11.20",
|
|
52
|
-
"i18next": "^26.0.8",
|
|
53
|
-
"react-colorful": "^5.6.1",
|
|
54
|
-
"react-i18next": "^17.0.6",
|
|
55
|
-
"react-merge-refs": "^3.0.2",
|
|
56
|
-
"uuid": "^14.0.0"
|
|
22
|
+
"peerDependencies": {
|
|
23
|
+
"react": "^18.0.0",
|
|
24
|
+
"react-dom": "^18.0.0"
|
|
57
25
|
},
|
|
58
|
-
"
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
|
|
62
|
-
"@babel/preset-env": "^7.27.2",
|
|
63
|
-
"@babel/preset-react": "^7.27.1",
|
|
64
|
-
"@babel/preset-typescript": "^7.27.1",
|
|
65
|
-
"@eslint/compat": "^2.0.3",
|
|
66
|
-
"@eslint/eslintrc": "^3.0.0",
|
|
67
|
-
"@eslint/js": "^10.0.1",
|
|
68
|
-
"@storybook/addon-docs": "^8.6.18",
|
|
69
|
-
"@storybook/addon-essentials": "^8.6.18",
|
|
70
|
-
"@storybook/addon-interactions": "^8.6.18",
|
|
71
|
-
"@storybook/react-vite": "^8.6.18",
|
|
72
|
-
"@types/node": "^22.13.14",
|
|
73
|
-
"@types/react": "^18.3.3",
|
|
74
|
-
"@types/react-dom": "^18.3.0",
|
|
75
|
-
"@typescript-eslint/eslint-plugin": "^8.56.1",
|
|
76
|
-
"@typescript-eslint/parser": "^8.56.1",
|
|
77
|
-
"@vitejs/plugin-react": "^4.4.1",
|
|
78
|
-
"babel-loader": "^9.2.1",
|
|
79
|
-
"copyfiles": "^2.4.1",
|
|
80
|
-
"css-loader": "^7.1.2",
|
|
81
|
-
"eslint": "^10.0.3",
|
|
82
|
-
"eslint-config-prettier": "^10.1.8",
|
|
83
|
-
"eslint-import-resolver-typescript": "^4.3.4",
|
|
84
|
-
"eslint-plugin-import": "^2.29.1",
|
|
85
|
-
"eslint-plugin-jsx-a11y": "^6.8.0",
|
|
86
|
-
"eslint-plugin-optimize-regex": "^1.2.1",
|
|
87
|
-
"eslint-plugin-prettier": "^5.1.3",
|
|
88
|
-
"eslint-plugin-react": "^7.33.2",
|
|
89
|
-
"eslint-plugin-react-hooks": "^7.0.1",
|
|
90
|
-
"mini-css-extract-plugin": "^2.9.4",
|
|
91
|
-
"postcss-modules": "^6.0.1",
|
|
92
|
-
"prettier": "^3.2.5",
|
|
93
|
-
"react": "^18.3.1",
|
|
94
|
-
"react-dom": "^18.3.1",
|
|
95
|
-
"storybook": "^8.6.18",
|
|
96
|
-
"stylelint": "^17.4.0",
|
|
97
|
-
"stylelint-config-recess-order": "^7.6.1",
|
|
98
|
-
"stylelint-order": "^7.0.1",
|
|
99
|
-
"stylelint-prettier": "^5.0.0",
|
|
100
|
-
"ts-node": "^10.9.2",
|
|
101
|
-
"typescript": "^5.9.2",
|
|
102
|
-
"typescript-plugin-css-modules": "^5.2.0",
|
|
103
|
-
"vite": "^6.0.0",
|
|
104
|
-
"vite-plugin-svgr": "^4.5.0",
|
|
105
|
-
"vite-tsconfig-paths": "^5.1.4",
|
|
106
|
-
"webpack": "^5.97.1",
|
|
107
|
-
"webpack-cli": "^6.0.1"
|
|
108
|
-
}
|
|
109
|
-
}
|
|
26
|
+
"name": "nntc-ui",
|
|
27
|
+
"version": "0.2.8"
|
|
28
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export type Theme = 'light' | 'dark' | 'darkBlue';
|
|
3
|
+
export type StyleContainer = HTMLElement | ShadowRoot;
|
|
4
|
+
export interface ThemeContextType {
|
|
5
|
+
theme: Theme;
|
|
6
|
+
toggleTheme: () => void;
|
|
7
|
+
setTheme: (theme: Theme) => void;
|
|
8
|
+
}
|
|
9
|
+
export declare function useTheme(): ThemeContextType | null;
|
|
10
|
+
export declare function useThemeWithFallback(): ThemeContextType;
|
|
11
|
+
interface ThemeProviderProps {
|
|
12
|
+
children: ReactNode;
|
|
13
|
+
/**
|
|
14
|
+
* Куда добавить глобальные стили и палитру темы.
|
|
15
|
+
* По умолчанию — document.head. Для MFE, отрисовывающихся в Shadow DOM,
|
|
16
|
+
* передайте сюда shadowRoot: стили попадут в теневое дерево (рядом с index.css),
|
|
17
|
+
* а :root будет автоматически заменён на :host.
|
|
18
|
+
*/
|
|
19
|
+
styleContainer?: StyleContainer | null;
|
|
20
|
+
}
|
|
21
|
+
export declare function ThemeProvider({ children, styleContainer }: ThemeProviderProps): import("react").JSX.Element;
|
|
22
|
+
export {};
|
|
23
|
+
//# sourceMappingURL=ThemeProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThemeProvider.d.ts","sourceRoot":"","sources":["../../src/theme/ThemeProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAkD,MAAM,OAAO,CAAC;AAUlF,MAAM,MAAM,KAAK,GAAG,OAAO,GAAG,MAAM,GAAG,UAAU,CAAC;AAClD,MAAM,MAAM,cAAc,GAAG,WAAW,GAAG,UAAU,CAAC;AAsBtD,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,KAAK,CAAC;IACb,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;CAClC;AAyBD,wBAAgB,QAAQ,IAAI,gBAAgB,GAAG,IAAI,CAElD;AAED,wBAAgB,oBAAoB,IAAI,gBAAgB,CASvD;AAED,UAAU,kBAAkB;IAC1B,QAAQ,EAAE,SAAS,CAAC;IACpB;;;;;OAKG;IACH,cAAc,CAAC,EAAE,cAAc,GAAG,IAAI,CAAC;CACxC;AAED,wBAAgB,aAAa,CAAC,EAAE,QAAQ,EAAE,cAAc,EAAE,EAAE,kBAAkB,+BA2E7E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toFirstLetterLowerCase.d.ts","sourceRoot":"","sources":["../../src/utils/toFirstLetterLowerCase.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBAAsB,GAAI,MAAM,MAAM,WAElD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toFirstLetterUpperCase.d.ts","sourceRoot":"","sources":["../../src/utils/toFirstLetterUpperCase.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBAAsB,GAAI,MAAM,MAAM,WAElD,CAAC"}
|
package/.editorconfig
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
# top-most EditorConfig file
|
|
2
|
-
root = true
|
|
3
|
-
|
|
4
|
-
### defaults
|
|
5
|
-
[*]
|
|
6
|
-
charset = utf-8
|
|
7
|
-
|
|
8
|
-
# Unix-style newlines with
|
|
9
|
-
end_of_line = lf
|
|
10
|
-
|
|
11
|
-
# 2 space indentation
|
|
12
|
-
indent_size = 2
|
|
13
|
-
indent_style = space
|
|
14
|
-
tab_width = 2
|
|
15
|
-
|
|
16
|
-
# remove any whitespace characters preceding newline characters
|
|
17
|
-
trim_trailing_whitespace = true
|
|
18
|
-
|
|
19
|
-
# newline ending every file
|
|
20
|
-
insert_final_newline = true
|
|
21
|
-
|
|
22
|
-
### custom for markdown
|
|
23
|
-
[*.md]
|
|
24
|
-
# do not remove any whitespace characters preceding newline characters
|
|
25
|
-
trim_trailing_whitespace = false
|
package/.gitattributes
DELETED
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
###############################################################################
|
|
2
|
-
# Set default behavior to automatically normalize line endings.
|
|
3
|
-
###############################################################################
|
|
4
|
-
* text=auto
|
|
5
|
-
* eol=lf
|
|
6
|
-
|
|
7
|
-
###############################################################################
|
|
8
|
-
# Set default behavior for command prompt diff.
|
|
9
|
-
#
|
|
10
|
-
# This is need for earlier builds of msysgit that does not have it on by
|
|
11
|
-
# default for csharp files.
|
|
12
|
-
# Note: This is only used by command line
|
|
13
|
-
###############################################################################
|
|
14
|
-
#*.cs diff=csharp
|
|
15
|
-
|
|
16
|
-
###############################################################################
|
|
17
|
-
# Set the merge driver for project and solution files
|
|
18
|
-
#
|
|
19
|
-
# Merging from the command prompt will add diff markers to the files if there
|
|
20
|
-
# are conflicts (Merging from VS is not affected by the settings below, in VS
|
|
21
|
-
# the diff markers are never inserted). Diff markers may cause the following
|
|
22
|
-
# file extensions to fail to load in VS. An alternative would be to treat
|
|
23
|
-
# these files as binary and thus will always conflict and require user
|
|
24
|
-
# intervention with every merge. To do so, just uncomment the entries below
|
|
25
|
-
###############################################################################
|
|
26
|
-
#*.sln merge=binary
|
|
27
|
-
#*.csproj merge=binary
|
|
28
|
-
#*.vbproj merge=binary
|
|
29
|
-
#*.vcxproj merge=binary
|
|
30
|
-
#*.vcproj merge=binary
|
|
31
|
-
#*.dbproj merge=binary
|
|
32
|
-
#*.fsproj merge=binary
|
|
33
|
-
#*.lsproj merge=binary
|
|
34
|
-
#*.wixproj merge=binary
|
|
35
|
-
#*.modelproj merge=binary
|
|
36
|
-
#*.sqlproj merge=binary
|
|
37
|
-
#*.wwaproj merge=binary
|
|
38
|
-
|
|
39
|
-
###############################################################################
|
|
40
|
-
# behavior for image files
|
|
41
|
-
#
|
|
42
|
-
# image files are treated as binary by default.
|
|
43
|
-
###############################################################################
|
|
44
|
-
#*.jpg binary
|
|
45
|
-
#*.png binary
|
|
46
|
-
#*.gif binary
|
|
47
|
-
|
|
48
|
-
###############################################################################
|
|
49
|
-
# diff behavior for common document formats
|
|
50
|
-
#
|
|
51
|
-
# Convert binary document formats to text before diffing them. This feature
|
|
52
|
-
# is only available from the command line. Turn it on by uncommenting the
|
|
53
|
-
# entries below.
|
|
54
|
-
###############################################################################
|
|
55
|
-
#*.doc diff=astextplain
|
|
56
|
-
#*.DOC diff=astextplain
|
|
57
|
-
#*.docx diff=astextplain
|
|
58
|
-
#*.DOCX diff=astextplain
|
|
59
|
-
#*.dot diff=astextplain
|
|
60
|
-
#*.DOT diff=astextplain
|
|
61
|
-
#*.pdf diff=astextplain
|
|
62
|
-
#*.PDF diff=astextplain
|
|
63
|
-
#*.rtf diff=astextplain
|
|
64
|
-
#*.RTF diff=astextplain
|
package/.gitlab-ci.yml
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
include:
|
|
2
|
-
- project: 'DevOps/templates'
|
|
3
|
-
refs: main
|
|
4
|
-
file:
|
|
5
|
-
- 'workflow/argo.yml'
|
|
6
|
-
|
|
7
|
-
variables:
|
|
8
|
-
# IMAGE_NAME: nntc-ui-kit
|
|
9
|
-
DOCKERFILE_PATH: Dockerfile
|
|
10
|
-
|
|
11
|
-
deploy_test_k8s:
|
|
12
|
-
variables:
|
|
13
|
-
NAMESPACE: iifa-test
|
|
14
|
-
|
|
15
|
-
publish_npm:
|
|
16
|
-
image: harbor.infra.nntc.pro/docker-registry/node:22-slim
|
|
17
|
-
stage: deploy
|
|
18
|
-
rules:
|
|
19
|
-
- if: '$CI_COMMIT_TAG =~ /^\d+\.\d+\.\d+-stabletest$/'
|
|
20
|
-
before_script:
|
|
21
|
-
- node -v
|
|
22
|
-
- npm -v
|
|
23
|
-
- corepack enable
|
|
24
|
-
- yarn --version
|
|
25
|
-
- yarn install --frozen-lockfile
|
|
26
|
-
script:
|
|
27
|
-
- export VERSION="${CI_COMMIT_TAG%-stabletest}"
|
|
28
|
-
- echo "Publishing version $VERSION"
|
|
29
|
-
|
|
30
|
-
- node -e "const fs=require('fs'); const pkg=JSON.parse(fs.readFileSync('package.json','utf8')); pkg.version=process.env.VERSION; fs.writeFileSync('package.json', JSON.stringify(pkg, null, 2));"
|
|
31
|
-
|
|
32
|
-
- yarn build
|
|
33
|
-
|
|
34
|
-
- echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
|
|
35
|
-
|
|
36
|
-
- cd dist && npm publish --access public
|
|
37
|
-
|
|
38
|
-
update_readme:
|
|
39
|
-
rules:
|
|
40
|
-
- when: never
|
package/.helm/Chart.yaml
DELETED
package/.helm/values.yaml
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
# имя секрета, с помощью которого будет извлечен образ (лучше оставить текущее значение)
|
|
2
|
-
imagePullSecrets:
|
|
3
|
-
- name: docker
|
|
4
|
-
|
|
5
|
-
# порт для доступа к сервису (лучше оставить текущее значение)
|
|
6
|
-
service:
|
|
7
|
-
type: ClusterIP
|
|
8
|
-
port: 80
|
|
9
|
-
|
|
10
|
-
# порт, на котором приложение принимает входящие подключения (указать нужное значение)
|
|
11
|
-
container:
|
|
12
|
-
port: 80
|
package/.prettierignore
DELETED
package/.prettierrc.json
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"arrowParens": "always",
|
|
3
|
-
"bracketSameLine": false,
|
|
4
|
-
"bracketSpacing": true,
|
|
5
|
-
"embeddedLanguageFormatting": "auto",
|
|
6
|
-
"endOfLine": "lf",
|
|
7
|
-
"htmlWhitespaceSensitivity": "css",
|
|
8
|
-
"insertPragma": false,
|
|
9
|
-
"jsxSingleQuote": false,
|
|
10
|
-
"printWidth": 120,
|
|
11
|
-
"proseWrap": "preserve",
|
|
12
|
-
"quoteProps": "as-needed",
|
|
13
|
-
"requirePragma": false,
|
|
14
|
-
"semi": true,
|
|
15
|
-
"singleQuote": true,
|
|
16
|
-
"tabWidth": 2,
|
|
17
|
-
"trailingComma": "all",
|
|
18
|
-
"useTabs": false
|
|
19
|
-
}
|
package/.storybook/global.d.ts
DELETED
package/.storybook/main.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { StorybookConfig } from '@storybook/react-vite';
|
|
2
|
-
|
|
3
|
-
const config: StorybookConfig = {
|
|
4
|
-
stories: ['../src/**/*.stories.@(js|jsx|ts|tsx)'],
|
|
5
|
-
addons: ['@storybook/addon-essentials', '@storybook/addon-interactions'],
|
|
6
|
-
framework: {
|
|
7
|
-
name: '@storybook/react-vite',
|
|
8
|
-
options: {},
|
|
9
|
-
},
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
export default config;
|
package/.storybook/preview.tsx
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Preview } from '@storybook/react';
|
|
3
|
-
import { I18nextProvider } from 'react-i18next';
|
|
4
|
-
import { ThemeProvider } from '../src/theme/ThemeProvider';
|
|
5
|
-
|
|
6
|
-
import { i18n } from '../src/i18n/config';
|
|
7
|
-
|
|
8
|
-
import '../src/styles/localGlobal.css';
|
|
9
|
-
|
|
10
|
-
const themes = [
|
|
11
|
-
{ name: 'light', value: '#f8f8f8' },
|
|
12
|
-
{ name: 'dark', value: '#373737' },
|
|
13
|
-
{ name: 'darkBlue', value: '#14212E' },
|
|
14
|
-
];
|
|
15
|
-
|
|
16
|
-
const preview: Preview = {
|
|
17
|
-
parameters: {
|
|
18
|
-
actions: { argTypesRegex: '^on[A-Z].*' },
|
|
19
|
-
controls: {
|
|
20
|
-
matchers: {
|
|
21
|
-
color: /(background|color)$/i,
|
|
22
|
-
date: /Date$/,
|
|
23
|
-
},
|
|
24
|
-
},
|
|
25
|
-
docs: {
|
|
26
|
-
toc: true,
|
|
27
|
-
},
|
|
28
|
-
backgrounds: {
|
|
29
|
-
values: themes,
|
|
30
|
-
default: 'light',
|
|
31
|
-
},
|
|
32
|
-
options: {
|
|
33
|
-
storySort: {
|
|
34
|
-
order: ['Components', '*'],
|
|
35
|
-
},
|
|
36
|
-
},
|
|
37
|
-
},
|
|
38
|
-
decorators: [
|
|
39
|
-
(Story, context) => {
|
|
40
|
-
const themeName = themes.find((t) => t.value === context?.globals?.backgrounds?.value)?.name ?? 'light';
|
|
41
|
-
|
|
42
|
-
try {
|
|
43
|
-
localStorage.setItem('theme', themeName);
|
|
44
|
-
} catch {
|
|
45
|
-
// ignore
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
return (
|
|
49
|
-
<ThemeProvider key={themeName}>
|
|
50
|
-
<I18nextProvider i18n={i18n}>
|
|
51
|
-
<Story />
|
|
52
|
-
</I18nextProvider>
|
|
53
|
-
</ThemeProvider>
|
|
54
|
-
);
|
|
55
|
-
},
|
|
56
|
-
],
|
|
57
|
-
};
|
|
58
|
-
|
|
59
|
-
export default preview;
|
package/.stylelintignore
DELETED
package/.stylelintrc.json
DELETED
package/.vscode/settings.json
DELETED
package/Dockerfile
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
FROM harbor.infra.nntc.pro/docker-registry/node:22-slim
|
|
2
|
-
WORKDIR /app
|
|
3
|
-
COPY package.json ./
|
|
4
|
-
COPY yarn.lock ./
|
|
5
|
-
COPY .npmrc ./
|
|
6
|
-
RUN yarn install --frozen-lockfile
|
|
7
|
-
COPY . .
|
|
8
|
-
RUN yarn build-storybook
|
|
9
|
-
|
|
10
|
-
FROM docker.nntc.pro/nginx:alpine
|
|
11
|
-
COPY --from=0 /app/storybook-static /usr/share/nginx/html
|
|
12
|
-
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
|
13
|
-
EXPOSE 80
|
|
14
|
-
CMD ["nginx", "-g", "daemon off;"]
|
package/babel.config.json
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"presets": [
|
|
3
|
-
[
|
|
4
|
-
"@babel/preset-env",
|
|
5
|
-
{
|
|
6
|
-
"useBuiltIns": "usage",
|
|
7
|
-
"corejs": 3,
|
|
8
|
-
"targets": {
|
|
9
|
-
"node": "current",
|
|
10
|
-
"browsers": [">0.2%", "not dead", "not op_mini all"]
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
],
|
|
14
|
-
"@babel/preset-typescript",
|
|
15
|
-
[
|
|
16
|
-
"@babel/preset-react",
|
|
17
|
-
{
|
|
18
|
-
"runtime": "automatic"
|
|
19
|
-
}
|
|
20
|
-
]
|
|
21
|
-
],
|
|
22
|
-
"plugins": ["@babel/plugin-proposal-class-properties", "@babel/plugin-proposal-object-rest-spread"]
|
|
23
|
-
}
|