@namuna-nur/ui-kit 1.0.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/README.md +338 -0
- package/lib/.gitkeep +0 -0
- package/lib/atoms/index.js +39 -0
- package/lib/hooks/index.js +8 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.js +152 -0
- package/lib/molecules/index.js +101 -0
- package/lib/setupTests.d.ts +0 -0
- package/lib/shared/Avatar.tokens.js +7510 -0
- package/lib/shared/MessageSettings.tokens.js +8693 -0
- package/lib/shared/TabDots.tokens.js +1075 -0
- package/lib/shared/twMerge.js +3535 -0
- package/lib/shared/useClickOutside.js +16 -0
- package/lib/shared/useDebounce.js +15 -0
- package/lib/shared/useOption.js +8 -0
- package/lib/src/_shared/Accordion.utils.d.ts +15 -0
- package/lib/src/_shared/Dropdown.utils.d.ts +27 -0
- package/lib/src/_shared/Modal.utils.d.ts +16 -0
- package/lib/src/_shared/Popover.utils.d.ts +5 -0
- package/lib/src/_shared/Tab.utils.d.ts +6 -0
- package/lib/src/_shared/index.d.ts +5 -0
- package/lib/src/_shared/types.d.ts +7 -0
- package/lib/src/assets/icons/index.d.ts +151 -0
- package/lib/src/assets/images/index.d.ts +11 -0
- package/lib/src/atoms/Avatar/Avatar.d.ts +2 -0
- package/lib/src/atoms/Avatar/Avatar.stories.d.ts +9 -0
- package/lib/src/atoms/Avatar/Avatar.test.d.ts +1 -0
- package/lib/src/atoms/Avatar/Avatar.tokens.d.ts +8 -0
- package/lib/src/atoms/Avatar/Avatar.types.d.ts +24 -0
- package/lib/src/atoms/Avatar/index.d.ts +3 -0
- package/lib/src/atoms/Button/Button.d.ts +16 -0
- package/lib/src/atoms/Button/Button.stories.d.ts +8 -0
- package/lib/src/atoms/Button/Button.test.d.ts +1 -0
- package/lib/src/atoms/Button/Button.tokens.d.ts +52 -0
- package/lib/src/atoms/Button/Button.types.d.ts +23 -0
- package/lib/src/atoms/Button/index.d.ts +3 -0
- package/lib/src/atoms/Checkbox/Checkbox.d.ts +5 -0
- package/lib/src/atoms/Checkbox/Checkbox.stories.d.ts +8 -0
- package/lib/src/atoms/Checkbox/Checkbox.test.d.ts +1 -0
- package/lib/src/atoms/Checkbox/Checkbox.tokens.d.ts +18 -0
- package/lib/src/atoms/Checkbox/Checkbox.types.d.ts +7 -0
- package/lib/src/atoms/Checkbox/index.d.ts +3 -0
- package/lib/src/atoms/Headline/Headline.d.ts +3 -0
- package/lib/src/atoms/Headline/Headline.stories.d.ts +8 -0
- package/lib/src/atoms/Headline/Headline.test.d.ts +1 -0
- package/lib/src/atoms/Headline/Headline.types.d.ts +13 -0
- package/lib/src/atoms/Headline/index.d.ts +2 -0
- package/lib/src/atoms/IconButton/IconButton.d.ts +13 -0
- package/lib/src/atoms/IconButton/IconButton.stories.d.ts +9 -0
- package/lib/src/atoms/IconButton/IconButton.test.d.ts +1 -0
- package/lib/src/atoms/IconButton/IconButton.tokens.d.ts +47 -0
- package/lib/src/atoms/IconButton/IconButton.types.d.ts +24 -0
- package/lib/src/atoms/IconButton/index.d.ts +3 -0
- package/lib/src/atoms/Input/Input.d.ts +11 -0
- package/lib/src/atoms/Input/Input.stories.d.ts +12 -0
- package/lib/src/atoms/Input/Input.test.d.ts +1 -0
- package/lib/src/atoms/Input/Input.tokens.d.ts +21 -0
- package/lib/src/atoms/Input/Input.types.d.ts +27 -0
- package/lib/src/atoms/Input/index.d.ts +3 -0
- package/lib/src/atoms/Label/Label.d.ts +4 -0
- package/lib/src/atoms/Label/Label.stories.d.ts +6 -0
- package/lib/src/atoms/Label/Label.test.d.ts +1 -0
- package/lib/src/atoms/Label/Label.tokens.d.ts +2 -0
- package/lib/src/atoms/Label/Label.types.d.ts +11 -0
- package/lib/src/atoms/Label/index.d.ts +3 -0
- package/lib/src/atoms/Message/Message.d.ts +8 -0
- package/lib/src/atoms/Message/Message.stories.d.ts +10 -0
- package/lib/src/atoms/Message/Message.test.d.ts +1 -0
- package/lib/src/atoms/Message/Message.tokens.d.ts +2 -0
- package/lib/src/atoms/Message/Message.types.d.ts +38 -0
- package/lib/src/atoms/Message/index.d.ts +3 -0
- package/lib/src/atoms/Notification/Notification.d.ts +2 -0
- package/lib/src/atoms/Notification/Notification.data.d.ts +7 -0
- package/lib/src/atoms/Notification/Notification.stories.d.ts +9 -0
- package/lib/src/atoms/Notification/Notification.test.d.ts +1 -0
- package/lib/src/atoms/Notification/Notification.types.d.ts +8 -0
- package/lib/src/atoms/Notification/Notification.utils.d.ts +20 -0
- package/lib/src/atoms/Notification/index.d.ts +2 -0
- package/lib/src/atoms/Radio/Radio.d.ts +5 -0
- package/lib/src/atoms/Radio/Radio.stories.d.ts +7 -0
- package/lib/src/atoms/Radio/Radio.test.d.ts +1 -0
- package/lib/src/atoms/Radio/Radio.tokens.d.ts +20 -0
- package/lib/src/atoms/Radio/Radio.types.d.ts +10 -0
- package/lib/src/atoms/Radio/index.d.ts +3 -0
- package/lib/src/atoms/Select/Select.d.ts +2 -0
- package/lib/src/atoms/Select/Select.stories.d.ts +13 -0
- package/lib/src/atoms/Select/Select.test.d.ts +1 -0
- package/lib/src/atoms/Select/Select.tokens.d.ts +43 -0
- package/lib/src/atoms/Select/Select.types.d.ts +30 -0
- package/lib/src/atoms/Select/index.d.ts +3 -0
- package/lib/src/atoms/Status/Status.d.ts +2 -0
- package/lib/src/atoms/Status/Status.stories.d.ts +9 -0
- package/lib/src/atoms/Status/Status.test.d.ts +1 -0
- package/lib/src/atoms/Status/Status.tokens.d.ts +10 -0
- package/lib/src/atoms/Status/Status.types.d.ts +8 -0
- package/lib/src/atoms/Status/index.d.ts +3 -0
- package/lib/src/atoms/Switch/Switch.d.ts +8 -0
- package/lib/src/atoms/Switch/Switch.stories.d.ts +6 -0
- package/lib/src/atoms/Switch/Switch.test.d.ts +1 -0
- package/lib/src/atoms/Switch/Switch.tokens.d.ts +2 -0
- package/lib/src/atoms/Switch/Switch.types.d.ts +19 -0
- package/lib/src/atoms/Switch/index.d.ts +3 -0
- package/lib/src/atoms/Tab/Tab.d.ts +10 -0
- package/lib/src/atoms/Tab/Tab.stories.d.ts +14 -0
- package/lib/src/atoms/Tab/Tab.test.d.ts +1 -0
- package/lib/src/atoms/Tab/Tab.tokens.d.ts +31 -0
- package/lib/src/atoms/Tab/Tab.types.d.ts +14 -0
- package/lib/src/atoms/Tab/index.d.ts +3 -0
- package/lib/src/atoms/TabDots/TabDots.d.ts +2 -0
- package/lib/src/atoms/TabDots/TabDots.stories.d.ts +5 -0
- package/lib/src/atoms/TabDots/TabDots.test.d.ts +1 -0
- package/lib/src/atoms/TabDots/TabDots.tokens.d.ts +5 -0
- package/lib/src/atoms/TabDots/TabDots.types.d.ts +12 -0
- package/lib/src/atoms/TabDots/index.d.ts +3 -0
- package/lib/src/atoms/Text/Text.d.ts +2 -0
- package/lib/src/atoms/Text/Text.stories.d.ts +10 -0
- package/lib/src/atoms/Text/Text.test.d.ts +1 -0
- package/lib/src/atoms/Text/Text.types.d.ts +14 -0
- package/lib/src/atoms/Text/index.d.ts +2 -0
- package/lib/src/atoms/Textarea/Teaxtarea.test.d.ts +1 -0
- package/lib/src/atoms/Textarea/Textarea.d.ts +5 -0
- package/lib/src/atoms/Textarea/Textarea.stories.d.ts +12 -0
- package/lib/src/atoms/Textarea/Textarea.tokens.d.ts +2 -0
- package/lib/src/atoms/Textarea/Textarea.types.d.ts +24 -0
- package/lib/src/atoms/Textarea/index.d.ts +3 -0
- package/lib/src/atoms/Toggle/Toggle.d.ts +11 -0
- package/lib/src/atoms/Toggle/Toggle.stories.d.ts +10 -0
- package/lib/src/atoms/Toggle/Toggle.test.d.ts +1 -0
- package/lib/src/atoms/Toggle/Toggle.tokens.d.ts +2 -0
- package/lib/src/atoms/Toggle/Toggle.types.d.ts +15 -0
- package/lib/src/atoms/Toggle/index.d.ts +3 -0
- package/lib/src/atoms/Tooltip/Tooltip.d.ts +2 -0
- package/lib/src/atoms/Tooltip/Tooltip.stories.d.ts +9 -0
- package/lib/src/atoms/Tooltip/Tooltip.test.d.ts +1 -0
- package/lib/src/atoms/Tooltip/Tooltip.tokens.d.ts +4 -0
- package/lib/src/atoms/Tooltip/Tooltip.types.d.ts +8 -0
- package/lib/src/atoms/Tooltip/index.d.ts +3 -0
- package/lib/src/atoms/index.d.ts +19 -0
- package/lib/src/context/use-toast.context.d.ts +10 -0
- package/lib/src/hooks/index.d.ts +3 -0
- package/lib/src/hooks/use-toast.d.ts +11 -0
- package/lib/src/hooks/use-toast.types.d.ts +32 -0
- package/lib/src/hooks/useClickOutside.d.ts +2 -0
- package/lib/src/hooks/useDebounce.d.ts +1 -0
- package/lib/src/hooks/useOption.d.ts +6 -0
- package/lib/src/index.d.ts +5 -0
- package/lib/src/molecules/Accordion/Accordion.d.ts +2 -0
- package/lib/src/molecules/Accordion/Accordion.stories.d.ts +7 -0
- package/lib/src/molecules/Accordion/Accordion.test.d.ts +1 -0
- package/lib/src/molecules/Accordion/Accordion.tokens.d.ts +19 -0
- package/lib/src/molecules/Accordion/Accordion.types.d.ts +27 -0
- package/lib/src/molecules/Accordion/index.d.ts +3 -0
- package/lib/src/molecules/ApartmentCard/ApartmentCard.d.ts +2 -0
- package/lib/src/molecules/ApartmentCard/ApartmentCard.data.d.ts +2 -0
- package/lib/src/molecules/ApartmentCard/ApartmentCard.stories.d.ts +5 -0
- package/lib/src/molecules/ApartmentCard/ApartmentCard.test.d.ts +1 -0
- package/lib/src/molecules/ApartmentCard/ApartmentCard.tokens.d.ts +12 -0
- package/lib/src/molecules/ApartmentCard/ApartmentCard.types.d.ts +26 -0
- package/lib/src/molecules/ApartmentCard/index.d.ts +3 -0
- package/lib/src/molecules/AvatarGroup/AvatarGroup.d.ts +2 -0
- package/lib/src/molecules/AvatarGroup/AvatarGroup.stories.d.ts +9 -0
- package/lib/src/molecules/AvatarGroup/AvatarGroup.test.d.ts +1 -0
- package/lib/src/molecules/AvatarGroup/AvatarGroup.tokens.d.ts +6 -0
- package/lib/src/molecules/AvatarGroup/AvatarGroup.types.d.ts +22 -0
- package/lib/src/molecules/AvatarGroup/index.d.ts +3 -0
- package/lib/src/molecules/Breadcrumb/Breadcrumb.d.ts +4 -0
- package/lib/src/molecules/Breadcrumb/Breadcrumb.stories.d.ts +8 -0
- package/lib/src/molecules/Breadcrumb/Breadcrumb.test.d.ts +1 -0
- package/lib/src/molecules/Breadcrumb/Breadcrumb.tokens.d.ts +7 -0
- package/lib/src/molecules/Breadcrumb/Breadcrumb.types.d.ts +16 -0
- package/lib/src/molecules/Breadcrumb/Breadcrumb.utils.d.ts +11 -0
- package/lib/src/molecules/Breadcrumb/index.d.ts +3 -0
- package/lib/src/molecules/CardFiles/CardFiles.d.ts +2 -0
- package/lib/src/molecules/CardFiles/CardFiles.stories.d.ts +7 -0
- package/lib/src/molecules/CardFiles/CardFiles.test.d.ts +1 -0
- package/lib/src/molecules/CardFiles/CardFiles.tokens.d.ts +28 -0
- package/lib/src/molecules/CardFiles/CardFiles.types.d.ts +40 -0
- package/lib/src/molecules/CardFiles/index.d.ts +3 -0
- package/lib/src/molecules/CardServices/CardServices.d.ts +5 -0
- package/lib/src/molecules/CardServices/CardServices.stories.d.ts +6 -0
- package/lib/src/molecules/CardServices/CardServices.test.d.ts +1 -0
- package/lib/src/molecules/CardServices/CardServices.tokens.d.ts +17 -0
- package/lib/src/molecules/CardServices/CardServices.types.d.ts +18 -0
- package/lib/src/molecules/CardServices/index.d.ts +3 -0
- package/lib/src/molecules/ChatButton/ChatButton.d.ts +2 -0
- package/lib/src/molecules/ChatButton/ChatButton.stories.d.ts +6 -0
- package/lib/src/molecules/ChatButton/ChatButton.test.d.ts +1 -0
- package/lib/src/molecules/ChatButton/ChatButton.tokens.d.ts +12 -0
- package/lib/src/molecules/ChatButton/ChatButton.types.d.ts +18 -0
- package/lib/src/molecules/ChatButton/index.d.ts +3 -0
- package/lib/src/molecules/ChatCard/ChatCard.d.ts +3 -0
- package/lib/src/molecules/ChatCard/ChatCard.stories.d.ts +8 -0
- package/lib/src/molecules/ChatCard/ChatCard.test.d.ts +1 -0
- package/lib/src/molecules/ChatCard/ChatCard.tokens.d.ts +9 -0
- package/lib/src/molecules/ChatCard/ChatCard.types.d.ts +18 -0
- package/lib/src/molecules/ChatCard/index.d.ts +3 -0
- package/lib/src/molecules/ChatList/ChatList.d.ts +3 -0
- package/lib/src/molecules/ChatList/ChatList.stories.d.ts +5 -0
- package/lib/src/molecules/ChatList/ChatList.test.d.ts +1 -0
- package/lib/src/molecules/ChatList/ChatList.tokens.d.ts +4 -0
- package/lib/src/molecules/ChatList/ChatList.types.d.ts +14 -0
- package/lib/src/molecules/ChatList/index.d.ts +3 -0
- package/lib/src/molecules/ChatMessage/ChatMessage.d.ts +2 -0
- package/lib/src/molecules/ChatMessage/ChatMessage.data.d.ts +3 -0
- package/lib/src/molecules/ChatMessage/ChatMessage.stories.d.ts +9 -0
- package/lib/src/molecules/ChatMessage/ChatMessage.test.d.ts +1 -0
- package/lib/src/molecules/ChatMessage/ChatMessage.tokens.d.ts +6 -0
- package/lib/src/molecules/ChatMessage/ChatMessage.types.d.ts +19 -0
- package/lib/src/molecules/ChatMessage/index.d.ts +3 -0
- package/lib/src/molecules/ChatSidebar/ChatSidebar.d.ts +2 -0
- package/lib/src/molecules/ChatSidebar/ChatSidebar.data.d.ts +4 -0
- package/lib/src/molecules/ChatSidebar/ChatSidebar.stories.d.ts +36 -0
- package/lib/src/molecules/ChatSidebar/ChatSidebar.test.d.ts +1 -0
- package/lib/src/molecules/ChatSidebar/ChatSidebar.tokens.d.ts +7 -0
- package/lib/src/molecules/ChatSidebar/ChatSidebar.types.d.ts +35 -0
- package/lib/src/molecules/ChatSidebar/index.d.ts +3 -0
- package/lib/src/molecules/CheckboxGroup/CheckboxGroup.d.ts +2 -0
- package/lib/src/molecules/CheckboxGroup/CheckboxGroup.stories.d.ts +8 -0
- package/lib/src/molecules/CheckboxGroup/CheckboxGroup.test.d.ts +1 -0
- package/lib/src/molecules/CheckboxGroup/CheckboxGroup.tokens.d.ts +16 -0
- package/lib/src/molecules/CheckboxGroup/CheckboxGroup.types.d.ts +8 -0
- package/lib/src/molecules/CheckboxGroup/index.d.ts +3 -0
- package/lib/src/molecules/CommentInput/CommentInput.d.ts +3 -0
- package/lib/src/molecules/CommentInput/CommentInput.stories.d.ts +8 -0
- package/lib/src/molecules/CommentInput/CommentInput.test.d.ts +1 -0
- package/lib/src/molecules/CommentInput/CommentInput.tokens.d.ts +9 -0
- package/lib/src/molecules/CommentInput/CommentInput.types.d.ts +29 -0
- package/lib/src/molecules/CommentInput/index.d.ts +3 -0
- package/lib/src/molecules/CommentList/CommentList.d.ts +3 -0
- package/lib/src/molecules/CommentList/CommentList.stories.d.ts +7 -0
- package/lib/src/molecules/CommentList/CommentList.test.d.ts +1 -0
- package/lib/src/molecules/CommentList/CommentList.tokens.d.ts +35 -0
- package/lib/src/molecules/CommentList/CommentList.types.d.ts +21 -0
- package/lib/src/molecules/CommentList/index.d.ts +3 -0
- package/lib/src/molecules/DateOfBirth/DateOfBirth.d.ts +2 -0
- package/lib/src/molecules/DateOfBirth/DateOfBirth.stories.d.ts +10 -0
- package/lib/src/molecules/DateOfBirth/DateOfBirth.test.d.ts +1 -0
- package/lib/src/molecules/DateOfBirth/DateOfBirth.tokens.d.ts +6 -0
- package/lib/src/molecules/DateOfBirth/DateOfBirth.types.d.ts +13 -0
- package/lib/src/molecules/DateOfBirth/index.d.ts +3 -0
- package/lib/src/molecules/DatePicker/DatePicker.d.ts +2 -0
- package/lib/src/molecules/DatePicker/DatePicker.stories.d.ts +8 -0
- package/lib/src/molecules/DatePicker/DatePicker.test.d.ts +1 -0
- package/lib/src/molecules/DatePicker/DatePicker.tokens.d.ts +57 -0
- package/lib/src/molecules/DatePicker/DatePicker.types.d.ts +18 -0
- package/lib/src/molecules/DatePicker/index.d.ts +3 -0
- package/lib/src/molecules/DeleteMessage/DeleteMessage.d.ts +2 -0
- package/lib/src/molecules/DeleteMessage/DeleteMessage.stories.d.ts +6 -0
- package/lib/src/molecules/DeleteMessage/DeleteMessage.test.d.ts +1 -0
- package/lib/src/molecules/DeleteMessage/DeleteMessage.tokens.d.ts +9 -0
- package/lib/src/molecules/DeleteMessage/DeleteMessage.types.d.ts +13 -0
- package/lib/src/molecules/DeleteMessage/index.d.ts +3 -0
- package/lib/src/molecules/DragAndDrop/DragAndDrop.d.ts +2 -0
- package/lib/src/molecules/DragAndDrop/DragAndDrop.stories.d.ts +14 -0
- package/lib/src/molecules/DragAndDrop/DragAndDrop.test.d.ts +1 -0
- package/lib/src/molecules/DragAndDrop/DragAndDrop.tokens.d.ts +2 -0
- package/lib/src/molecules/DragAndDrop/DragAndDrop.types.d.ts +19 -0
- package/lib/src/molecules/DragAndDrop/index.d.ts +3 -0
- package/lib/src/molecules/Dropdown/Dropdown.d.ts +3 -0
- package/lib/src/molecules/Dropdown/Dropdown.stories.d.ts +6 -0
- package/lib/src/molecules/Dropdown/Dropdown.test.d.ts +1 -0
- package/lib/src/molecules/Dropdown/Dropdown.tokens.d.ts +13 -0
- package/lib/src/molecules/Dropdown/Dropdown.types.d.ts +20 -0
- package/lib/src/molecules/Dropdown/index.d.ts +3 -0
- package/lib/src/molecules/FileUploader/FileUploader.d.ts +2 -0
- package/lib/src/molecules/FileUploader/FileUploader.stories.d.ts +7 -0
- package/lib/src/molecules/FileUploader/FileUploader.test.d.ts +1 -0
- package/lib/src/molecules/FileUploader/FileUploader.tokens.d.ts +19 -0
- package/lib/src/molecules/FileUploader/FileUploader.types.d.ts +18 -0
- package/lib/src/molecules/FileUploader/index.d.ts +3 -0
- package/lib/src/molecules/FilterTable/FilterTable.d.ts +2 -0
- package/lib/src/molecules/FilterTable/FilterTable.stories.d.ts +8 -0
- package/lib/src/molecules/FilterTable/FilterTable.test.d.ts +1 -0
- package/lib/src/molecules/FilterTable/FilterTable.tokens.d.ts +19 -0
- package/lib/src/molecules/FilterTable/FilterTable.types.d.ts +35 -0
- package/lib/src/molecules/FilterTable/index.d.ts +3 -0
- package/lib/src/molecules/IconTitle/IconTitle.d.ts +2 -0
- package/lib/src/molecules/IconTitle/IconTitle.stories.d.ts +6 -0
- package/lib/src/molecules/IconTitle/IconTitle.test.d.ts +1 -0
- package/lib/src/molecules/IconTitle/IconTitle.tokens.d.ts +5 -0
- package/lib/src/molecules/IconTitle/IconTitle.types.d.ts +20 -0
- package/lib/src/molecules/IconTitle/index.d.ts +3 -0
- package/lib/src/molecules/InputGroup/InputGroup.d.ts +2 -0
- package/lib/src/molecules/InputGroup/InputGroup.stories.d.ts +11 -0
- package/lib/src/molecules/InputGroup/InputGroup.test.d.ts +1 -0
- package/lib/src/molecules/InputGroup/InputGroup.tokens.d.ts +34 -0
- package/lib/src/molecules/InputGroup/InputGroup.types.d.ts +34 -0
- package/lib/src/molecules/InputGroup/index.d.ts +3 -0
- package/lib/src/molecules/LabelWithValue/LabelWithValue.d.ts +2 -0
- package/lib/src/molecules/LabelWithValue/LabelWithValue.stories.d.ts +5 -0
- package/lib/src/molecules/LabelWithValue/LabelWithValue.test.d.ts +1 -0
- package/lib/src/molecules/LabelWithValue/LabelWithValue.tokens.d.ts +4 -0
- package/lib/src/molecules/LabelWithValue/LabelWithValue.types.d.ts +12 -0
- package/lib/src/molecules/LabelWithValue/index.d.ts +3 -0
- package/lib/src/molecules/Languages/Languages.d.ts +2 -0
- package/lib/src/molecules/Languages/Languages.stories.d.ts +5 -0
- package/lib/src/molecules/Languages/Languages.test.d.ts +1 -0
- package/lib/src/molecules/Languages/Languages.tokens.d.ts +4 -0
- package/lib/src/molecules/Languages/Languages.types.d.ts +23 -0
- package/lib/src/molecules/Languages/index.d.ts +3 -0
- package/lib/src/molecules/Link/Link.d.ts +2 -0
- package/lib/src/molecules/Link/Link.stories.d.ts +7 -0
- package/lib/src/molecules/Link/Link.test.d.ts +1 -0
- package/lib/src/molecules/Link/Link.tokens.d.ts +9 -0
- package/lib/src/molecules/Link/Link.types.d.ts +15 -0
- package/lib/src/molecules/Link/index.d.ts +3 -0
- package/lib/src/molecules/MessageSettings/MessageSettings.d.ts +2 -0
- package/lib/src/molecules/MessageSettings/MessageSettings.stories.d.ts +5 -0
- package/lib/src/molecules/MessageSettings/MessageSettings.test.d.ts +1 -0
- package/lib/src/molecules/MessageSettings/MessageSettings.tokens.d.ts +13 -0
- package/lib/src/molecules/MessageSettings/MessageSettings.types.d.ts +21 -0
- package/lib/src/molecules/MessageSettings/MessageSettings.utils.d.ts +2 -0
- package/lib/src/molecules/MessageSettings/index.d.ts +3 -0
- package/lib/src/molecules/MultiSelect/MultiSelect.d.ts +2 -0
- package/lib/src/molecules/MultiSelect/MultiSelect.stories.d.ts +7 -0
- package/lib/src/molecules/MultiSelect/MultiSelect.test.d.ts +1 -0
- package/lib/src/molecules/MultiSelect/MultiSelect.tokens.d.ts +2 -0
- package/lib/src/molecules/MultiSelect/MultiSelect.types.d.ts +60 -0
- package/lib/src/molecules/MultiSelect/index.d.ts +3 -0
- package/lib/src/molecules/NavButton/NavButton.d.ts +2 -0
- package/lib/src/molecules/NavButton/NavButton.stories.d.ts +9 -0
- package/lib/src/molecules/NavButton/NavButton.test.d.ts +1 -0
- package/lib/src/molecules/NavButton/NavButton.tokens.d.ts +15 -0
- package/lib/src/molecules/NavButton/NavButton.types.d.ts +26 -0
- package/lib/src/molecules/NavButton/index.d.ts +3 -0
- package/lib/src/molecules/Pagination/Pagination.d.ts +2 -0
- package/lib/src/molecules/Pagination/Pagination.stories.d.ts +7 -0
- package/lib/src/molecules/Pagination/Pagination.test.d.ts +1 -0
- package/lib/src/molecules/Pagination/Pagination.tokens.d.ts +28 -0
- package/lib/src/molecules/Pagination/Pagination.types.d.ts +16 -0
- package/lib/src/molecules/Pagination/Pagination.utils.d.ts +1 -0
- package/lib/src/molecules/Pagination/index.d.ts +3 -0
- package/lib/src/molecules/PasswordInput/PasswordInput.d.ts +2 -0
- package/lib/src/molecules/PasswordInput/PasswordInput.stories.d.ts +12 -0
- package/lib/src/molecules/PasswordInput/PasswordInput.test.d.ts +1 -0
- package/lib/src/molecules/PasswordInput/PasswordInput.tokens.d.ts +2 -0
- package/lib/src/molecules/PasswordInput/PasswordInput.types.d.ts +19 -0
- package/lib/src/molecules/PasswordInput/index.d.ts +3 -0
- package/lib/src/molecules/PaymentCard/PaymentCard.d.ts +2 -0
- package/lib/src/molecules/PaymentCard/PaymentCard.stories.d.ts +5 -0
- package/lib/src/molecules/PaymentCard/PaymentCard.test.d.ts +1 -0
- package/lib/src/molecules/PaymentCard/PaymentCard.tokens.d.ts +20 -0
- package/lib/src/molecules/PaymentCard/PaymentCard.types.d.ts +19 -0
- package/lib/src/molecules/PaymentCard/index.d.ts +3 -0
- package/lib/src/molecules/PhoneInput/PhoneInput.d.ts +2 -0
- package/lib/src/molecules/PhoneInput/PhoneInput.stories.d.ts +10 -0
- package/lib/src/molecules/PhoneInput/PhoneInput.test.d.ts +1 -0
- package/lib/src/molecules/PhoneInput/PhoneInput.tokens.d.ts +2 -0
- package/lib/src/molecules/PhoneInput/PhoneInput.types.d.ts +27 -0
- package/lib/src/molecules/PhoneInput/index.d.ts +3 -0
- package/lib/src/molecules/Plate/Plate.d.ts +4 -0
- package/lib/src/molecules/Plate/Plate.stories.d.ts +7 -0
- package/lib/src/molecules/Plate/Plate.test.d.ts +1 -0
- package/lib/src/molecules/Plate/Plate.tokens.d.ts +2 -0
- package/lib/src/molecules/Plate/Plate.types.d.ts +36 -0
- package/lib/src/molecules/Plate/index.d.ts +3 -0
- package/lib/src/molecules/RadioGroup/RadioGroup.d.ts +11 -0
- package/lib/src/molecules/RadioGroup/RadioGroup.stories.d.ts +7 -0
- package/lib/src/molecules/RadioGroup/RadioGroup.test.d.ts +1 -0
- package/lib/src/molecules/RadioGroup/RadioGroup.tokens.d.ts +13 -0
- package/lib/src/molecules/RadioGroup/RadioGroup.types.d.ts +14 -0
- package/lib/src/molecules/RadioGroup/index.d.ts +3 -0
- package/lib/src/molecules/SearchInput/SearchInput.d.ts +22 -0
- package/lib/src/molecules/SearchInput/SearchInput.stories.d.ts +7 -0
- package/lib/src/molecules/SearchInput/SearchInput.test.d.ts +1 -0
- package/lib/src/molecules/SearchInput/SearchInput.tokens.d.ts +42 -0
- package/lib/src/molecules/SearchInput/SearchInput.types.d.ts +38 -0
- package/lib/src/molecules/SearchInput/index.d.ts +3 -0
- package/lib/src/molecules/SelectGroup/SelectGroup.d.ts +2 -0
- package/lib/src/molecules/SelectGroup/SelectGroup.stories.d.ts +6 -0
- package/lib/src/molecules/SelectGroup/SelectGroup.test.d.ts +1 -0
- package/lib/src/molecules/SelectGroup/SelectGroup.tokens.d.ts +3 -0
- package/lib/src/molecules/SelectGroup/SelectGroup.types.d.ts +12 -0
- package/lib/src/molecules/SelectGroup/index.d.ts +3 -0
- package/lib/src/molecules/SelectList/SelectList.d.ts +2 -0
- package/lib/src/molecules/SelectList/SelectList.stories.d.ts +7 -0
- package/lib/src/molecules/SelectList/SelectList.test.d.ts +1 -0
- package/lib/src/molecules/SelectList/SelectList.tokens.d.ts +29 -0
- package/lib/src/molecules/SelectList/SelectList.types.d.ts +20 -0
- package/lib/src/molecules/SelectList/index.d.ts +3 -0
- package/lib/src/molecules/ServiceOrders/ServiceOrders.d.ts +2 -0
- package/lib/src/molecules/ServiceOrders/ServiceOrders.data.d.ts +2 -0
- package/lib/src/molecules/ServiceOrders/ServiceOrders.stories.d.ts +5 -0
- package/lib/src/molecules/ServiceOrders/ServiceOrders.test.d.ts +1 -0
- package/lib/src/molecules/ServiceOrders/ServiceOrders.tokens.d.ts +11 -0
- package/lib/src/molecules/ServiceOrders/ServiceOrders.types.d.ts +19 -0
- package/lib/src/molecules/ServiceOrders/index.d.ts +3 -0
- package/lib/src/molecules/Sidebar/Sidebar.d.ts +2 -0
- package/lib/src/molecules/Sidebar/Sidebar.data.d.ts +2 -0
- package/lib/src/molecules/Sidebar/Sidebar.stories.d.ts +7 -0
- package/lib/src/molecules/Sidebar/Sidebar.test.d.ts +1 -0
- package/lib/src/molecules/Sidebar/Sidebar.tokens.d.ts +12 -0
- package/lib/src/molecules/Sidebar/Sidebar.types.d.ts +20 -0
- package/lib/src/molecules/Sidebar/Sidebar.utils.d.ts +2 -0
- package/lib/src/molecules/Sidebar/index.d.ts +3 -0
- package/lib/src/molecules/StatusSelect/StatusSelect.d.ts +2 -0
- package/lib/src/molecules/StatusSelect/StatusSelect.stories.d.ts +5 -0
- package/lib/src/molecules/StatusSelect/StatusSelect.test.d.ts +1 -0
- package/lib/src/molecules/StatusSelect/StatusSelect.tokens.d.ts +28 -0
- package/lib/src/molecules/StatusSelect/StatusSelect.types.d.ts +25 -0
- package/lib/src/molecules/StatusSelect/index.d.ts +3 -0
- package/lib/src/molecules/Stepper/Stepper.d.ts +2 -0
- package/lib/src/molecules/Stepper/Stepper.stories.d.ts +8 -0
- package/lib/src/molecules/Stepper/Stepper.test.d.ts +1 -0
- package/lib/src/molecules/Stepper/Stepper.tokens.d.ts +21 -0
- package/lib/src/molecules/Stepper/Stepper.types.d.ts +33 -0
- package/lib/src/molecules/Stepper/index.d.ts +3 -0
- package/lib/src/molecules/TabGroup/TabGroup.d.ts +3 -0
- package/lib/src/molecules/TabGroup/TabGroup.stories.d.ts +6 -0
- package/lib/src/molecules/TabGroup/TabGroup.test.d.ts +1 -0
- package/lib/src/molecules/TabGroup/TabGroup.tokens.d.ts +26 -0
- package/lib/src/molecules/TabGroup/TabGroup.types.d.ts +33 -0
- package/lib/src/molecules/TabGroup/TabGroup.utils.d.ts +2 -0
- package/lib/src/molecules/TabGroup/index.d.ts +3 -0
- package/lib/src/molecules/TabSwitch/TabSwitch.d.ts +3 -0
- package/lib/src/molecules/TabSwitch/TabSwitch.stories.d.ts +5 -0
- package/lib/src/molecules/TabSwitch/TabSwitch.test.d.ts +1 -0
- package/lib/src/molecules/TabSwitch/TabSwitch.tokens.d.ts +10 -0
- package/lib/src/molecules/TabSwitch/TabSwitch.types.d.ts +28 -0
- package/lib/src/molecules/TabSwitch/TabSwitch.utils.d.ts +2 -0
- package/lib/src/molecules/TabSwitch/index.d.ts +3 -0
- package/lib/src/molecules/Table/Table.d.ts +2 -0
- package/lib/src/molecules/Table/Table.stories.d.ts +5 -0
- package/lib/src/molecules/Table/Table.test.d.ts +1 -0
- package/lib/src/molecules/Table/Table.tokens.d.ts +14 -0
- package/lib/src/molecules/Table/Table.types.d.ts +18 -0
- package/lib/src/molecules/Table/index.d.ts +3 -0
- package/lib/src/molecules/Table/mocks/data.d.ts +15 -0
- package/lib/src/molecules/TextareaGroup/TextareaGroup.d.ts +2 -0
- package/lib/src/molecules/TextareaGroup/TextareaGroup.stories.d.ts +8 -0
- package/lib/src/molecules/TextareaGroup/TextareaGroup.test.d.ts +1 -0
- package/lib/src/molecules/TextareaGroup/TextareaGroup.tokens.d.ts +2 -0
- package/lib/src/molecules/TextareaGroup/TextareaGroup.types.d.ts +13 -0
- package/lib/src/molecules/TextareaGroup/index.d.ts +3 -0
- package/lib/src/molecules/ToggleGroup/ToggleGroup.d.ts +2 -0
- package/lib/src/molecules/ToggleGroup/ToggleGroup.stories.d.ts +9 -0
- package/lib/src/molecules/ToggleGroup/ToggleGroup.test.d.ts +1 -0
- package/lib/src/molecules/ToggleGroup/ToggleGroup.types.d.ts +12 -0
- package/lib/src/molecules/ToggleGroup/ToogleGroup.tokens.d.ts +3 -0
- package/lib/src/molecules/ToggleGroup/index.d.ts +3 -0
- package/lib/src/molecules/UploadInput/UploadInput.d.ts +18 -0
- package/lib/src/molecules/UploadInput/UploadInput.stories.d.ts +8 -0
- package/lib/src/molecules/UploadInput/UploadInput.test.d.ts +1 -0
- package/lib/src/molecules/UploadInput/UploadInput.tokens.d.ts +17 -0
- package/lib/src/molecules/UploadInput/UploadInput.types.d.ts +30 -0
- package/lib/src/molecules/UploadInput/UploadInput.utils.d.ts +3 -0
- package/lib/src/molecules/UploadInput/index.d.ts +3 -0
- package/lib/src/molecules/UserContact/UserContact.d.ts +2 -0
- package/lib/src/molecules/UserContact/UserContact.stories.d.ts +8 -0
- package/lib/src/molecules/UserContact/UserContact.test.d.ts +1 -0
- package/lib/src/molecules/UserContact/UserContact.tokens.d.ts +10 -0
- package/lib/src/molecules/UserContact/UserContact.types.d.ts +15 -0
- package/lib/src/molecules/UserContact/index.d.ts +3 -0
- package/lib/src/molecules/index.d.ts +49 -0
- package/lib/src/tokens/colors.d.ts +2 -0
- package/lib/src/tokens/index.d.ts +3 -0
- package/lib/src/tokens/types.d.ts +36 -0
- package/lib/src/tokens/typography.d.ts +2 -0
- package/lib/src/utils/date.d.ts +1 -0
- package/lib/src/utils/index.d.ts +2 -0
- package/lib/src/utils/twMerge.d.ts +7 -0
- package/lib/tokens/index.js +248 -0
- package/lib/utils/index.js +11 -0
- package/lib/vite.config.d.ts +2 -0
- package/package.json +163 -0
|
@@ -0,0 +1,248 @@
|
|
|
1
|
+
const e = {
|
|
2
|
+
dark: {
|
|
3
|
+
10: "#242424",
|
|
4
|
+
// Заполненный текст полей
|
|
5
|
+
20: "#323234",
|
|
6
|
+
// Заголовки модулей
|
|
7
|
+
30: "#424242",
|
|
8
|
+
// Основной текст
|
|
9
|
+
40: "#4A4A4A",
|
|
10
|
+
// Заголовки форм
|
|
11
|
+
50: "#747474"
|
|
12
|
+
// Заголовки колонок в таблице
|
|
13
|
+
},
|
|
14
|
+
gray: {
|
|
15
|
+
10: "#B6B7BA",
|
|
16
|
+
// Текст внутри полей
|
|
17
|
+
20: "#B5B5B5",
|
|
18
|
+
// Чекбокс stroke
|
|
19
|
+
30: "#D1D1D1",
|
|
20
|
+
// Неактивный текст
|
|
21
|
+
40: "#F2F2F2",
|
|
22
|
+
// Цвет полей
|
|
23
|
+
50: "#F3F6F8"
|
|
24
|
+
// Цвет заполнения
|
|
25
|
+
},
|
|
26
|
+
primary: {
|
|
27
|
+
10: "#F9B800",
|
|
28
|
+
// Основной / Акцент
|
|
29
|
+
20: "#FF9900",
|
|
30
|
+
// Hover
|
|
31
|
+
30: "#FB7100",
|
|
32
|
+
// Pressed
|
|
33
|
+
40: "#FEEAB3",
|
|
34
|
+
// Stroke
|
|
35
|
+
50: "#FFF8E6"
|
|
36
|
+
// Выделение
|
|
37
|
+
},
|
|
38
|
+
secondary: {
|
|
39
|
+
10: "#606061",
|
|
40
|
+
// default text
|
|
41
|
+
20: "#D9D9DF",
|
|
42
|
+
// disabled bg
|
|
43
|
+
30: "#FEEAB3",
|
|
44
|
+
// focus stroke
|
|
45
|
+
40: "#FFDFB0",
|
|
46
|
+
// hover stroke
|
|
47
|
+
50: "#FED3B0"
|
|
48
|
+
// pressed stroke
|
|
49
|
+
},
|
|
50
|
+
success: {
|
|
51
|
+
10: "#2EBF42",
|
|
52
|
+
// Успешно
|
|
53
|
+
20: "#76BF97",
|
|
54
|
+
// bg success
|
|
55
|
+
30: "#CCFBE0",
|
|
56
|
+
// Active status
|
|
57
|
+
40: "#16A52A",
|
|
58
|
+
// Hover
|
|
59
|
+
50: "#F0F9E3"
|
|
60
|
+
// Pressed bg
|
|
61
|
+
},
|
|
62
|
+
danger: {
|
|
63
|
+
10: "#F42929",
|
|
64
|
+
// Ошибка
|
|
65
|
+
20: "#EB2428",
|
|
66
|
+
// bg ошибка
|
|
67
|
+
30: "#D61B1E",
|
|
68
|
+
// hover
|
|
69
|
+
40: "#E69494",
|
|
70
|
+
// pressed
|
|
71
|
+
50: "#FFCCCE"
|
|
72
|
+
// Status
|
|
73
|
+
},
|
|
74
|
+
info: {
|
|
75
|
+
10: "#1B9BE4",
|
|
76
|
+
// Инфо
|
|
77
|
+
20: "#DFF8FF",
|
|
78
|
+
// bg info
|
|
79
|
+
30: "#D9EDFF",
|
|
80
|
+
// Категории
|
|
81
|
+
40: "#B8DBF6",
|
|
82
|
+
// hover
|
|
83
|
+
50: "#99C5EC"
|
|
84
|
+
// pressed
|
|
85
|
+
},
|
|
86
|
+
status: {
|
|
87
|
+
10: "#CCF8E0",
|
|
88
|
+
// success
|
|
89
|
+
20: "#E8EAEE",
|
|
90
|
+
// inactive
|
|
91
|
+
30: "#FFF2CE",
|
|
92
|
+
// process
|
|
93
|
+
40: "#FFDDCC",
|
|
94
|
+
// pending
|
|
95
|
+
50: "#FFC2C2",
|
|
96
|
+
// blocked
|
|
97
|
+
default: "#EFE5FF"
|
|
98
|
+
// done
|
|
99
|
+
},
|
|
100
|
+
sidebar: {
|
|
101
|
+
10: "#FFFFFF",
|
|
102
|
+
// default text
|
|
103
|
+
20: "#F9B800",
|
|
104
|
+
// active text
|
|
105
|
+
30: "#585858",
|
|
106
|
+
// disabled text
|
|
107
|
+
40: "#434343",
|
|
108
|
+
// hover bg
|
|
109
|
+
50: "#323234"
|
|
110
|
+
// bg
|
|
111
|
+
},
|
|
112
|
+
tertiary: {
|
|
113
|
+
10: "#B6B7BA",
|
|
114
|
+
// statusCategory.main
|
|
115
|
+
20: "#242424",
|
|
116
|
+
// hover
|
|
117
|
+
30: "#95C5EC",
|
|
118
|
+
// pressed
|
|
119
|
+
40: "#E8F4FF",
|
|
120
|
+
50: "#F6FAFF"
|
|
121
|
+
}
|
|
122
|
+
}, t = {
|
|
123
|
+
fontFamily: {
|
|
124
|
+
mono: ["TT Hoves", "monospace"],
|
|
125
|
+
sans: ["TT Hoves", "sans-serif"]
|
|
126
|
+
},
|
|
127
|
+
fontWeight: {
|
|
128
|
+
black: 900,
|
|
129
|
+
bold: 700,
|
|
130
|
+
medium: 500,
|
|
131
|
+
regular: 400,
|
|
132
|
+
semibold: 600
|
|
133
|
+
},
|
|
134
|
+
textStyles: {
|
|
135
|
+
body: {
|
|
136
|
+
"body-8": {
|
|
137
|
+
fontSize: "8px",
|
|
138
|
+
fontWeight: 500,
|
|
139
|
+
lineHeight: "1"
|
|
140
|
+
},
|
|
141
|
+
"body-10": {
|
|
142
|
+
fontSize: "10px",
|
|
143
|
+
fontWeight: 500,
|
|
144
|
+
lineHeight: "1.5"
|
|
145
|
+
},
|
|
146
|
+
"body-12": {
|
|
147
|
+
fontSize: "12px",
|
|
148
|
+
fontWeight: 500,
|
|
149
|
+
lineHeight: "1.5"
|
|
150
|
+
},
|
|
151
|
+
"body-14": {
|
|
152
|
+
fontSize: "14px",
|
|
153
|
+
fontWeight: 500,
|
|
154
|
+
lineHeight: "2"
|
|
155
|
+
},
|
|
156
|
+
"body-16": {
|
|
157
|
+
fontSize: "16px",
|
|
158
|
+
fontWeight: 500,
|
|
159
|
+
lineHeight: "2"
|
|
160
|
+
},
|
|
161
|
+
"body-18": {
|
|
162
|
+
fontSize: "18px",
|
|
163
|
+
fontWeight: 500,
|
|
164
|
+
lineHeight: "2"
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
headings: {
|
|
168
|
+
h1: {
|
|
169
|
+
fontSize: "40px",
|
|
170
|
+
fontWeight: 500,
|
|
171
|
+
lineHeight: "normal"
|
|
172
|
+
},
|
|
173
|
+
h2: {
|
|
174
|
+
fontSize: "32px",
|
|
175
|
+
fontWeight: 500,
|
|
176
|
+
lineHeight: "normal"
|
|
177
|
+
},
|
|
178
|
+
h3: {
|
|
179
|
+
fontSize: "28px",
|
|
180
|
+
fontWeight: 500,
|
|
181
|
+
lineHeight: "normal"
|
|
182
|
+
},
|
|
183
|
+
h4: {
|
|
184
|
+
fontSize: "24px",
|
|
185
|
+
fontWeight: 500,
|
|
186
|
+
lineHeight: "normal"
|
|
187
|
+
},
|
|
188
|
+
h5: {
|
|
189
|
+
fontSize: "20px",
|
|
190
|
+
fontWeight: 500,
|
|
191
|
+
lineHeight: "normal"
|
|
192
|
+
},
|
|
193
|
+
h6: {
|
|
194
|
+
fontSize: "16px",
|
|
195
|
+
fontWeight: 500,
|
|
196
|
+
lineHeight: "normal"
|
|
197
|
+
}
|
|
198
|
+
},
|
|
199
|
+
inline: {
|
|
200
|
+
p: {
|
|
201
|
+
fontSize: "16px",
|
|
202
|
+
fontWeight: 500,
|
|
203
|
+
lineHeight: "normal"
|
|
204
|
+
},
|
|
205
|
+
span: {
|
|
206
|
+
fontSize: "14px",
|
|
207
|
+
fontWeight: 500,
|
|
208
|
+
lineHeight: "normal"
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
link: {
|
|
212
|
+
8: {
|
|
213
|
+
fontSize: "8px",
|
|
214
|
+
fontWeight: 500,
|
|
215
|
+
lineHeight: "1"
|
|
216
|
+
},
|
|
217
|
+
10: {
|
|
218
|
+
fontSize: "10px",
|
|
219
|
+
fontWeight: 500,
|
|
220
|
+
lineHeight: "1.5"
|
|
221
|
+
},
|
|
222
|
+
12: {
|
|
223
|
+
fontSize: "12px",
|
|
224
|
+
fontWeight: 500,
|
|
225
|
+
lineHeight: "1.5"
|
|
226
|
+
},
|
|
227
|
+
14: {
|
|
228
|
+
fontSize: "14px",
|
|
229
|
+
fontWeight: 500,
|
|
230
|
+
lineHeight: "2"
|
|
231
|
+
},
|
|
232
|
+
16: {
|
|
233
|
+
fontSize: "16px",
|
|
234
|
+
fontWeight: 500,
|
|
235
|
+
lineHeight: "2"
|
|
236
|
+
},
|
|
237
|
+
18: {
|
|
238
|
+
fontSize: "18px",
|
|
239
|
+
fontWeight: 500,
|
|
240
|
+
lineHeight: "2"
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
};
|
|
245
|
+
export {
|
|
246
|
+
e as colorTokens,
|
|
247
|
+
t as typographyTokens
|
|
248
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { f as t } from "../shared/twMerge.js";
|
|
2
|
+
import { a as c, c as m } from "../shared/twMerge.js";
|
|
3
|
+
const r = "dd.MM.yyyy";
|
|
4
|
+
function e(o) {
|
|
5
|
+
return t(new Date(o), r);
|
|
6
|
+
}
|
|
7
|
+
export {
|
|
8
|
+
c as cn,
|
|
9
|
+
m as convertToGroupedFontSizes,
|
|
10
|
+
e as formatDateToDayMonthYear
|
|
11
|
+
};
|
package/package.json
ADDED
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@namuna-nur/ui-kit",
|
|
3
|
+
"version": "1.0.2",
|
|
4
|
+
"description": "UI Kit for Namuna NUR",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "lib/index.js",
|
|
7
|
+
"module": "lib/index.js",
|
|
8
|
+
"types": "lib/index.d.ts",
|
|
9
|
+
"engines": {
|
|
10
|
+
"node": ">=20.18.0 <21",
|
|
11
|
+
"npm": ">=10.8.2 <11"
|
|
12
|
+
},
|
|
13
|
+
"files": [
|
|
14
|
+
"lib"
|
|
15
|
+
],
|
|
16
|
+
"exports": {
|
|
17
|
+
".": {
|
|
18
|
+
"import": "./lib/index.js",
|
|
19
|
+
"types": "./lib/index.d.ts",
|
|
20
|
+
"require": "./lib/index.js"
|
|
21
|
+
},
|
|
22
|
+
"./atoms": {
|
|
23
|
+
"import": "./lib/atoms/index.js",
|
|
24
|
+
"types": "./lib/src/atoms/index.d.ts",
|
|
25
|
+
"require": "./lib/atoms/index.js"
|
|
26
|
+
},
|
|
27
|
+
"./molecules": {
|
|
28
|
+
"import": "./lib/molecules/index.js",
|
|
29
|
+
"types": "./lib/src/molecules/index.d.ts",
|
|
30
|
+
"require": "./lib/molecules/index.js"
|
|
31
|
+
},
|
|
32
|
+
"./hooks": {
|
|
33
|
+
"import": "./lib/hooks/index.js",
|
|
34
|
+
"types": "./lib/src/hooks/index.d.ts",
|
|
35
|
+
"require": "./lib/hooks/index.js"
|
|
36
|
+
},
|
|
37
|
+
"./tokens": {
|
|
38
|
+
"import": "./lib/tokens/index.js",
|
|
39
|
+
"types": "./lib/src/tokens/index.d.ts",
|
|
40
|
+
"require": "./lib/tokens/index.js"
|
|
41
|
+
},
|
|
42
|
+
"./utils": {
|
|
43
|
+
"import": "./lib/utils/index.js",
|
|
44
|
+
"types": "./lib/src/utils/index.d.ts",
|
|
45
|
+
"require": "./lib/utils/index.js"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"repository": {
|
|
49
|
+
"type": "git",
|
|
50
|
+
"url": "https://git.devsymfony.io/DevSymfony/namuna-ui-kit.git"
|
|
51
|
+
},
|
|
52
|
+
"keywords": [
|
|
53
|
+
"ui",
|
|
54
|
+
"storybook"
|
|
55
|
+
],
|
|
56
|
+
"author": "Namuna NUR <namunadevelopment@gmail.com>",
|
|
57
|
+
"scripts": {
|
|
58
|
+
"format": "prettier --check \"**/*.ts\"",
|
|
59
|
+
"format:fix": "prettier \"**/*.ts\" --write",
|
|
60
|
+
"lint": "eslint .",
|
|
61
|
+
"lint:fix": "eslint . --fix",
|
|
62
|
+
"prepare": "husky",
|
|
63
|
+
"build": "tsc -b && vite build",
|
|
64
|
+
"storybook:dev": "storybook dev -p 6006",
|
|
65
|
+
"storybook:build": "storybook build --quiet --loglevel=error",
|
|
66
|
+
"test": "vitest run --reporter=basic --reporter=hanging-process",
|
|
67
|
+
"test:watch": "vitest dev --reporter=verbose",
|
|
68
|
+
"test:coverage": "vitest run --coverage --coverage.enabled",
|
|
69
|
+
"test:coverage:ui": "vitest --ui",
|
|
70
|
+
"release": "standard-version",
|
|
71
|
+
"svg:fix": "node scripts/clean-svgs.mjs",
|
|
72
|
+
"test:placeholders": "node scripts/add-placeholders.mjs"
|
|
73
|
+
},
|
|
74
|
+
"license": "ISC",
|
|
75
|
+
"dependencies": {
|
|
76
|
+
"@radix-ui/react-accordion": "^1.2.2",
|
|
77
|
+
"@radix-ui/react-avatar": "^1.1.10",
|
|
78
|
+
"@radix-ui/react-dialog": "^1.1.4",
|
|
79
|
+
"@radix-ui/react-dropdown-menu": "^2.1.15",
|
|
80
|
+
"@radix-ui/react-icons": "^1.3.2",
|
|
81
|
+
"@radix-ui/react-popover": "^1.1.4",
|
|
82
|
+
"@radix-ui/react-progress": "^1.1.1",
|
|
83
|
+
"@radix-ui/react-slider": "^1.2.2",
|
|
84
|
+
"@radix-ui/react-switch": "^1.1.2",
|
|
85
|
+
"@radix-ui/react-tabs": "^1.1.12",
|
|
86
|
+
"@radix-ui/react-toast": "^1.2.5",
|
|
87
|
+
"@radix-ui/react-toggle": "^1.1.9",
|
|
88
|
+
"@radix-ui/react-tooltip": "^1.1.7",
|
|
89
|
+
"@react-input/mask": "^2.0.4",
|
|
90
|
+
"@tanstack/react-table": "^8.20.6",
|
|
91
|
+
"class-variance-authority": "^0.7.1",
|
|
92
|
+
"clsx": "^2.1.1",
|
|
93
|
+
"date-fns": "^4.1.0",
|
|
94
|
+
"embla-carousel-react": "^8.5.2",
|
|
95
|
+
"nuqs": "^2.4.0",
|
|
96
|
+
"react-day-picker": "^9.5.0",
|
|
97
|
+
"react-hook-form": "^7.54.2",
|
|
98
|
+
"tailwind-merge": "^2.6.0",
|
|
99
|
+
"tailwindcss-animate": "^1.0.7"
|
|
100
|
+
},
|
|
101
|
+
"peerDependencies": {
|
|
102
|
+
"react": "^19.0.0",
|
|
103
|
+
"react-dom": "^19.0.0",
|
|
104
|
+
"react-router-dom": "^7.0.0"
|
|
105
|
+
},
|
|
106
|
+
"sideEffects": [
|
|
107
|
+
"**/index.css"
|
|
108
|
+
],
|
|
109
|
+
"publishConfig": {
|
|
110
|
+
"access": "public"
|
|
111
|
+
},
|
|
112
|
+
"devDependencies": {
|
|
113
|
+
"@commitlint/cli": "^19.6.1",
|
|
114
|
+
"@commitlint/config-conventional": "^19.6.0",
|
|
115
|
+
"@commitlint/format": "^19.5.0",
|
|
116
|
+
"@commitlint/types": "^19.5.0",
|
|
117
|
+
"@eslint/js": "^9.17.0",
|
|
118
|
+
"@storybook/addon-docs": "^9.0.15",
|
|
119
|
+
"@storybook/react-vite": "^9.0.15",
|
|
120
|
+
"@svgr/plugin-jsx": "^8.1.0",
|
|
121
|
+
"@svgr/plugin-svgo": "^8.1.0",
|
|
122
|
+
"@testing-library/jest-dom": "^6.6.3",
|
|
123
|
+
"@testing-library/react": "^16.1.0",
|
|
124
|
+
"@testing-library/user-event": "^14.5.2",
|
|
125
|
+
"@types/eslint__js": "^8.42.3",
|
|
126
|
+
"@types/react": "^19.0.4",
|
|
127
|
+
"@types/react-dom": "^19.0.2",
|
|
128
|
+
"@types/react-input-mask": "^3.0.6",
|
|
129
|
+
"@typescript-eslint/parser": "^8.19.1",
|
|
130
|
+
"@vitejs/plugin-react": "^4.3.4",
|
|
131
|
+
"@vitest/browser": "^2.1.8",
|
|
132
|
+
"@vitest/coverage-v8": "^2.1.8",
|
|
133
|
+
"@vitest/ui": "^2.1.8",
|
|
134
|
+
"autoprefixer": "^10.4.20",
|
|
135
|
+
"eslint": "^9.17.0",
|
|
136
|
+
"eslint-config-prettier": "^9.1.0",
|
|
137
|
+
"eslint-import-resolver-typescript": "^3.7.0",
|
|
138
|
+
"eslint-plugin-import": "^2.31.0",
|
|
139
|
+
"eslint-plugin-license-header": "^0.6.1",
|
|
140
|
+
"eslint-plugin-prettier": "^5.2.1",
|
|
141
|
+
"eslint-plugin-react-hooks": "^5.1.0",
|
|
142
|
+
"eslint-plugin-react-refresh": "^0.4.16",
|
|
143
|
+
"eslint-plugin-storybook": "^9.0.15",
|
|
144
|
+
"husky": "^9.1.7",
|
|
145
|
+
"jsdom": "^26.0.0",
|
|
146
|
+
"postcss": "^8.4.49",
|
|
147
|
+
"prettier": "^3.4.2",
|
|
148
|
+
"react": "^19.0.0",
|
|
149
|
+
"react-dom": "^19.0.0",
|
|
150
|
+
"react-router-dom": "^7.0.0",
|
|
151
|
+
"storybook": "^9.0.15",
|
|
152
|
+
"tailwindcss": "^3.4.17",
|
|
153
|
+
"typescript": "^5.7.3",
|
|
154
|
+
"typescript-eslint": "^8.19.1",
|
|
155
|
+
"vite": "^5.4.11",
|
|
156
|
+
"vite-plugin-dts": "^4.5.0",
|
|
157
|
+
"vite-plugin-svgr": "^4.3.0",
|
|
158
|
+
"vite-tsconfig-paths": "^5.1.4",
|
|
159
|
+
"vitest": "^2.1.8",
|
|
160
|
+
"vitest-browser-react": "^0.0.4",
|
|
161
|
+
"standard-version": "^9.5.0"
|
|
162
|
+
}
|
|
163
|
+
}
|