@liner-fe/prism 2.1.32 → 2.1.34
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/lib/components/IconButton/index.d.ts +1 -1
- package/lib/components/Illust/index.d.ts +12 -12
- package/lib/components/Label/index.d.ts +1 -1
- package/lib/components/Snackbar/SnackbarButton/index.d.ts +10 -0
- package/lib/components/Snackbar/SnackbarClose/index.d.ts +7 -0
- package/lib/components/Snackbar/SnackbarDescription/index.d.ts +5 -0
- package/lib/components/Snackbar/SnackbarIcon/index.d.ts +6 -0
- package/lib/components/Snackbar/SnackbarTitle/index.d.ts +5 -0
- package/lib/components/Snackbar/index.d.ts +3 -0
- package/lib/components/TextButton/index.d.ts +1 -1
- package/lib/components/Toast/export.d.ts +1 -1
- package/lib/components/Typography/Set/Heading.d.ts +3 -3
- package/lib/components/Typography/types.d.ts +8 -1
- package/lib/constants/illust/name.d.ts +2 -1
- package/lib/constants/illust/path.d.ts +3 -0
- package/lib/constants/illust/size.d.ts +2 -2
- package/lib/hooks/useIllust.d.ts +9 -0
- package/lib/hooks/useSnackbar.d.ts +5 -0
- package/lib/hooks/useToast.d.ts +9 -0
- package/lib/illust.d.ts +1 -0
- package/lib/illust.js +64 -26
- package/lib/illust.js.map +3 -3
- package/lib/index.cjs +64 -58
- package/lib/index.cjs.map +4 -4
- package/lib/index.css +15 -18
- package/lib/index.css.map +2 -2
- package/lib/index.mjs +64 -58
- package/lib/index.mjs.map +4 -4
- package/lib/static/illust/dark/object-bomb-1_1.webp +0 -0
- package/lib/static/illust/dark/object-brain-1_1.webp +0 -0
- package/lib/static/illust/dark/object-clap-1_1.webp +0 -0
- package/lib/static/illust/dark/object-documents_02-1_1.webp +0 -0
- package/lib/static/illust/dark/object-empty_box-1_1.webp +0 -0
- package/lib/static/illust/dark/object-empty_box-4_3.webp +0 -0
- package/lib/static/illust/dark/object-folder_01-1_1.webp +0 -0
- package/lib/static/illust/dark/object-folder_02-1_1.webp +0 -0
- package/lib/static/illust/dark/object-free_ticket-1_1.webp +0 -0
- package/lib/static/illust/dark/object-gift-1_1.webp +0 -0
- package/lib/static/illust/dark/object-give_gift-1_1.webp +0 -0
- package/lib/static/illust/dark/object-graduation_cap_pencil-4_3.webp +0 -0
- package/lib/static/illust/dark/object-lock-4_3.webp +0 -0
- package/lib/static/illust/dark/object-magnifying_glass-1_1.webp +0 -0
- package/lib/static/illust/dark/object-magnifying_glass-4_3.webp +0 -0
- package/lib/static/illust/dark/object-megaphone-1_1.webp +0 -0
- package/lib/static/illust/dark/object-paper-1_1.webp +0 -0
- package/lib/static/illust/dark/object-pencil_paper-16_9.webp +0 -0
- package/lib/static/illust/dark/object-puzzle-4_3.webp +0 -0
- package/lib/static/illust/dark/object-smoke-16_9.webp +0 -0
- package/lib/static/illust/dark/object_documents_01-1_1.webp +0 -0
- package/lib/static/illust/dark/object_find_man-1_1.webp +0 -0
- package/lib/static/illust/dark/person-bye-4_3.webp +0 -0
- package/lib/static/illust/dark/person-holding_a_book-1_1.webp +0 -0
- package/lib/static/illust/dark/person-introduce-1_1.webp +0 -0
- package/lib/static/illust/dark/person-introduce-pro-1_1.webp +0 -0
- package/lib/static/illust/dark/person-make_profile-1_1.webp +0 -0
- package/lib/static/illust/dark/person-raining-1_1.webp +0 -0
- package/lib/static/illust/dark/person-searching-16_9.webp +0 -0
- package/lib/static/illust/dark/person-searching_01-1_1.webp +0 -0
- package/lib/static/illust/dark/person-searching_01-4_3.webp +0 -0
- package/lib/static/illust/dark/person-searching_02-1_1.webp +0 -0
- package/lib/static/illust/dark/person-space_in_work-4_3.webp +0 -0
- package/lib/static/illust/dark/person-standing_with_a_star-16_9.webp +0 -0
- package/lib/static/illust/dark/person-time_out_01-1_1.webp +0 -0
- package/lib/static/illust/dark/person-time_out_02-1_1.webp +0 -0
- package/lib/static/illust/dark/person-time_out_03-1_1.webp +0 -0
- package/lib/static/illust/dark/person-time_out_04-1_1.webp +0 -0
- package/lib/static/illust/dark/person-time_out_05-1_1.webp +0 -0
- package/lib/static/illust/dark/person-working_01-4_3.webp +0 -0
- package/lib/static/illust/dark/person-worried-1_1.webp +0 -0
- package/lib/static/illust/dark/person-worried_01-4_3.webp +0 -0
- package/lib/static/illust/dark/person-worried_02-4_3.webp +0 -0
- package/lib/static/illust/dark/person-worried_03-4_3.webp +0 -0
- package/lib/static/illust/dark/person-worried_04-4_3.webp +0 -0
- package/lib/static/illust/dark/person-writing_01-1_1.webp +0 -0
- package/lib/static/illust/light/object-bomb-1_1.webp +0 -0
- package/lib/static/illust/light/object-book_pencil-4_3.webp +0 -0
- package/lib/static/illust/light/object-brain-1_1.webp +0 -0
- package/lib/static/illust/light/object-clap-1_1.webp +0 -0
- package/lib/static/illust/light/object-documents_02-1_1.webp +0 -0
- package/lib/static/illust/light/object-empty_box-1_1.webp +0 -0
- package/lib/static/illust/light/object-empty_box-4_3.webp +0 -0
- package/lib/static/illust/light/object-feather_pen-1_1.webp +0 -0
- package/lib/static/illust/light/object-folder_01-1_1.webp +0 -0
- package/lib/static/illust/light/object-folder_02-1_1.webp +0 -0
- package/lib/static/illust/light/object-free_ticket-1_1.webp +0 -0
- package/lib/static/illust/light/object-gift-1_1.webp +0 -0
- package/lib/static/illust/light/object-give_gift-1_1.webp +0 -0
- package/lib/static/illust/light/object-graduation_cap_pencil-4_3.webp +0 -0
- package/lib/static/illust/light/object-lock-4_3.webp +0 -0
- package/lib/static/illust/light/object-magnifying_glass-1_1.webp +0 -0
- package/lib/static/illust/light/object-magnifying_glass-4_3.webp +0 -0
- package/lib/static/illust/light/object-megaphone-1_1.webp +0 -0
- package/lib/static/illust/light/object-paper-1_1.webp +0 -0
- package/lib/static/illust/light/object-pencil_paper-16_9.webp +0 -0
- package/lib/static/illust/light/object-puzzle-4_3.webp +0 -0
- package/lib/static/illust/light/object-smoke-16_9.webp +0 -0
- package/lib/static/illust/light/object-university_01-1_1.webp +0 -0
- package/lib/static/illust/light/object-university_02-1_1.webp +0 -0
- package/lib/static/illust/light/object_documents_01-1_1.webp +0 -0
- package/lib/static/illust/light/object_find_man-1_1.webp +0 -0
- package/lib/static/illust/light/person-ai_writing-1_1.webp +0 -0
- package/lib/static/illust/light/person-bye-4_3.webp +0 -0
- package/lib/static/illust/light/person-cheerup-16_9.webp +0 -0
- package/lib/static/illust/light/person-cheerup-4_3.webp +0 -0
- package/lib/static/illust/light/person-holding_a_book-1_1.webp +0 -0
- package/lib/static/illust/light/person-introduce-1_1.webp +0 -0
- package/lib/static/illust/light/person-introduce-pro-1_1.webp +0 -0
- package/lib/static/illust/light/person-make_profile-1_1.webp +0 -0
- package/lib/static/illust/light/person-raining-1_1.webp +0 -0
- package/lib/static/illust/light/person-searching-16_9.webp +0 -0
- package/lib/static/illust/light/person-searching_01-1_1.webp +0 -0
- package/lib/static/illust/light/person-searching_01-4_3.webp +0 -0
- package/lib/static/illust/light/person-searching_02-1_1.webp +0 -0
- package/lib/static/illust/light/person-space_in_work-4_3.webp +0 -0
- package/lib/static/illust/light/person-standing_with_a_star-16_9.webp +0 -0
- package/lib/static/illust/light/person-time_out_01-1_1.webp +0 -0
- package/lib/static/illust/light/person-time_out_02-1_1.webp +0 -0
- package/lib/static/illust/light/person-time_out_03-1_1.webp +0 -0
- package/lib/static/illust/light/person-time_out_04-1_1.webp +0 -0
- package/lib/static/illust/light/person-time_out_05-1_1.webp +0 -0
- package/lib/static/illust/light/person-understand-1_1.webp +0 -0
- package/lib/static/illust/light/person-working_01-4_3.webp +0 -0
- package/lib/static/illust/light/person-working_02-4_3.webp +0 -0
- package/lib/static/illust/light/person-worried-1_1.webp +0 -0
- package/lib/static/illust/light/person-worried_01-4_3.webp +0 -0
- package/lib/static/illust/light/person-worried_02-4_3.webp +0 -0
- package/lib/static/illust/light/person-worried_03-4_3.webp +0 -0
- package/lib/static/illust/light/person-worried_04-4_3.webp +0 -0
- package/lib/static/illust/light/person-writing_01-1_1.webp +0 -0
- package/lib/static/illust/light/person-writing_02-1_1.webp +0 -0
- package/lib/types/generateRandomId.d.ts +1 -0
- package/lib/types/illust.d.ts +4 -1
- package/lib/types/snackbar.d.ts +38 -0
- package/lib/types/typescript.d.ts +4 -0
- package/lib/utils/illust.d.ts +5 -0
- package/lib/utils/object.d.ts +1 -1
- package/package.json +15 -4
- package/lib/components/Toast/hooks/useToast.d.ts +0 -11
- package/lib/static/illust/dark/rectangle_searching.webp +0 -0
- package/lib/static/illust/dark/rectangle_space_work.webp +0 -0
- package/lib/static/illust/dark/rectangle_standing_with_a_star.webp +0 -0
- package/lib/static/illust/dark/square_bomb_timeout.webp +0 -0
- package/lib/static/illust/dark/square_brain_deep_q_a.webp +0 -0
- package/lib/static/illust/dark/square_bye_end_custom_AI.webp +0 -0
- package/lib/static/illust/dark/square_clap.webp +0 -0
- package/lib/static/illust/dark/square_documents_reliable_citation.webp +0 -0
- package/lib/static/illust/dark/square_documents_reliable_source.webp +0 -0
- package/lib/static/illust/dark/square_empty_box.webp +0 -0
- package/lib/static/illust/dark/square_empty_box_2.webp +0 -0
- package/lib/static/illust/dark/square_find_man.webp +0 -0
- package/lib/static/illust/dark/square_folder_01.webp +0 -0
- package/lib/static/illust/dark/square_folder_02.webp +0 -0
- package/lib/static/illust/dark/square_free_ticket_welcome.webp +0 -0
- package/lib/static/illust/dark/square_gift_welcome.webp +0 -0
- package/lib/static/illust/dark/square_give_gift.webp +0 -0
- package/lib/static/illust/dark/square_holding_a_book_onboarding.webp +0 -0
- package/lib/static/illust/dark/square_introduce.webp +0 -0
- package/lib/static/illust/dark/square_introduce_pro.webp +0 -0
- package/lib/static/illust/dark/square_lock_locked_thread.webp +0 -0
- package/lib/static/illust/dark/square_magnifying_glass.webp +0 -0
- package/lib/static/illust/dark/square_magnifying_glass_not_found.webp +0 -0
- package/lib/static/illust/dark/square_make_profile_onboarding.webp +0 -0
- package/lib/static/illust/dark/square_paper.webp +0 -0
- package/lib/static/illust/dark/square_pencil_paper_empty_history.webp +0 -0
- package/lib/static/illust/dark/square_raining_error.webp +0 -0
- package/lib/static/illust/dark/square_searching_01.webp +0 -0
- package/lib/static/illust/dark/square_searching_02.webp +0 -0
- package/lib/static/illust/dark/square_searching_03.webp +0 -0
- package/lib/static/illust/dark/square_smoke_timeout.webp +0 -0
- package/lib/static/illust/dark/square_time_out.webp +0 -0
- package/lib/static/illust/dark/square_time_out_time_out_01.webp +0 -0
- package/lib/static/illust/dark/square_time_out_time_out_02.webp +0 -0
- package/lib/static/illust/dark/square_time_out_time_out_03.webp +0 -0
- package/lib/static/illust/dark/square_time_out_time_out_04.webp +0 -0
- package/lib/static/illust/dark/square_working_01.webp +0 -0
- package/lib/static/illust/dark/square_worried_01.webp +0 -0
- package/lib/static/illust/dark/square_worried_02.webp +0 -0
- package/lib/static/illust/dark/square_worried_03.webp +0 -0
- package/lib/static/illust/dark/square_worried_04.webp +0 -0
- package/lib/static/illust/dark/square_worried_05.webp +0 -0
- package/lib/static/illust/dark/square_writing_onboarding.webp +0 -0
- package/lib/static/illust/light/rectangle_cheerup_01.webp +0 -0
- package/lib/static/illust/light/rectangle_cheerup_02.webp +0 -0
- package/lib/static/illust/light/rectangle_searching.webp +0 -0
- package/lib/static/illust/light/rectangle_space_work.webp +0 -0
- package/lib/static/illust/light/rectangle_standing_with_a_star.webp +0 -0
- package/lib/static/illust/light/square_ai_writing_essay_mode.webp +0 -0
- package/lib/static/illust/light/square_bomb_timeout.webp +0 -0
- package/lib/static/illust/light/square_book_pencil_general_mode.webp +0 -0
- package/lib/static/illust/light/square_brain_deep_q_a.webp +0 -0
- package/lib/static/illust/light/square_bye_end_custom_ai.webp +0 -0
- package/lib/static/illust/light/square_clap.webp +0 -0
- package/lib/static/illust/light/square_documents_reliable_citation.webp +0 -0
- package/lib/static/illust/light/square_documents_reliable_source.webp +0 -0
- package/lib/static/illust/light/square_empty_box_2.webp +0 -0
- package/lib/static/illust/light/square_empty_box_empty_page.webp +0 -0
- package/lib/static/illust/light/square_feather_pen.webp +0 -0
- package/lib/static/illust/light/square_find_man.webp +0 -0
- package/lib/static/illust/light/square_find_paper_use_liner.webp +0 -0
- package/lib/static/illust/light/square_folder_01.webp +0 -0
- package/lib/static/illust/light/square_folder_02.webp +0 -0
- package/lib/static/illust/light/square_free_ticket_welcome.webp +0 -0
- package/lib/static/illust/light/square_gift_welcome.webp +0 -0
- package/lib/static/illust/light/square_give_gift.webp +0 -0
- package/lib/static/illust/light/square_graduation_cap_pencil_scholar_mode.webp +0 -0
- package/lib/static/illust/light/square_holding_a_book_onboarding.webp +0 -0
- package/lib/static/illust/light/square_introduce.webp +0 -0
- package/lib/static/illust/light/square_introduce_pro.webp +0 -0
- package/lib/static/illust/light/square_lock_locked_thread.webp +0 -0
- package/lib/static/illust/light/square_magnifying_glass.webp +0 -0
- package/lib/static/illust/light/square_magnifying_glass_not_found.webp +0 -0
- package/lib/static/illust/light/square_make_profile_onboarding.webp +0 -0
- package/lib/static/illust/light/square_megaphone.webp +0 -0
- package/lib/static/illust/light/square_paper.webp +0 -0
- package/lib/static/illust/light/square_pencil_paper_empty_history.webp +0 -0
- package/lib/static/illust/light/square_raining_error.webp +0 -0
- package/lib/static/illust/light/square_searching_01.webp +0 -0
- package/lib/static/illust/light/square_searching_02.webp +0 -0
- package/lib/static/illust/light/square_searching_03.webp +0 -0
- package/lib/static/illust/light/square_smoke_timeout.webp +0 -0
- package/lib/static/illust/light/square_time_out.webp +0 -0
- package/lib/static/illust/light/square_time_out_time_out_01.webp +0 -0
- package/lib/static/illust/light/square_time_out_time_out_02.webp +0 -0
- package/lib/static/illust/light/square_time_out_time_out_03.webp +0 -0
- package/lib/static/illust/light/square_time_out_time_out_04.webp +0 -0
- package/lib/static/illust/light/square_understand_concepts_use_liner.webp +0 -0
- package/lib/static/illust/light/square_university_01.webp +0 -0
- package/lib/static/illust/light/square_university_02.webp +0 -0
- package/lib/static/illust/light/square_working_01.webp +0 -0
- package/lib/static/illust/light/square_worried_01.webp +0 -0
- package/lib/static/illust/light/square_worried_02.webp +0 -0
- package/lib/static/illust/light/square_worried_03.webp +0 -0
- package/lib/static/illust/light/square_worried_04.webp +0 -0
- package/lib/static/illust/light/square_worried_05.webp +0 -0
- package/lib/static/illust/light/square_write_essay_use_liner.webp +0 -0
- package/lib/static/illust/light/square_writing.webp +0 -0
- package/lib/static/illust/light/square_writing_essay_mode.webp +0 -0
- /package/lib/static/illust/dark/{square_pricing_page_airplane.webp → decoration-airplane-1_1.webp} +0 -0
- /package/lib/static/illust/dark/{square_decoration_bulb.webp → decoration-bulb-1_1.webp} +0 -0
- /package/lib/static/illust/dark/{square_pricing_page_car.webp → decoration-car-1_1.webp} +0 -0
- /package/lib/static/illust/dark/{square_pricing_page_flag.webp → decoration-flag-1_1.webp} +0 -0
- /package/lib/static/illust/dark/{square_decoration_hourglass.webp → decoration-hourglass-1_1.webp} +0 -0
- /package/lib/static/illust/dark/{square_pricing_page_rocket.webp → decoration-rocket-1_1.webp} +0 -0
- /package/lib/static/illust/dark/{square_decoration_star_01.webp → decoration-star_01-1_1.webp} +0 -0
- /package/lib/static/illust/dark/{square_decoration_star_02.webp → decoration-star_02-1_1.webp} +0 -0
- /package/lib/static/illust/dark/{square_decoration_star_03.webp → decoration-star_03-1_1.webp} +0 -0
- /package/lib/static/illust/dark/{square_decoration_star_04.webp → decoration-star_04-1_1.webp} +0 -0
- /package/lib/static/illust/dark/{square_decoration_star_05.webp → decoration-star_05-1_1.webp} +0 -0
- /package/lib/static/illust/dark/{square_decoration_star_06.webp → decoration-star_06-1_1.webp} +0 -0
- /package/lib/static/illust/dark/{square_decoration_star_07.webp → decoration-star_07-1_1.webp} +0 -0
- /package/lib/static/illust/dark/{square_decoration_star_08.webp → decoration-star_08-1_1.webp} +0 -0
- /package/lib/static/illust/dark/{square_decoration_star_09.webp → decoration-star_09-1_1.webp} +0 -0
- /package/lib/static/illust/dark/{square_decoration_star_10.webp → decoration-star_10-1_1.webp} +0 -0
- /package/lib/static/illust/dark/{square_decoration_star_11.webp → decoration-star_11-1_1.webp} +0 -0
- /package/lib/static/illust/light/{square_pricing_page_airplane.webp → decoration-airplane-1_1.webp} +0 -0
- /package/lib/static/illust/light/{square_decoration_bulb.webp → decoration-bulb-1_1.webp} +0 -0
- /package/lib/static/illust/light/{square_pricing_page_car.webp → decoration-car-1_1.webp} +0 -0
- /package/lib/static/illust/light/{square_careers_page_coffee.webp → decoration-coffee-1_1.webp} +0 -0
- /package/lib/static/illust/light/{square_careers_page_english.webp → decoration-english-1_1.webp} +0 -0
- /package/lib/static/illust/light/{square_pricing_page_flag.webp → decoration-flag-1_1.webp} +0 -0
- /package/lib/static/illust/light/{square_decoration_hourglass.webp → decoration-hourglass-1_1.webp} +0 -0
- /package/lib/static/illust/light/{square_careers_page_money.webp → decoration-money-1_1.webp} +0 -0
- /package/lib/static/illust/light/{square_careers_page_palm.webp → decoration-palm-1_1.webp} +0 -0
- /package/lib/static/illust/light/{square_pricing_page_rocket.webp → decoration-rocket-1_1.webp} +0 -0
- /package/lib/static/illust/light/{square_careers_page_shake_hands.webp → decoration-shake_hands-1_1.webp} +0 -0
- /package/lib/static/illust/light/{square_decoration_star_01.webp → decoration-star_01-1_1.webp} +0 -0
- /package/lib/static/illust/light/{square_decoration_star_02.webp → decoration-star_02-1_1.webp} +0 -0
- /package/lib/static/illust/light/{square_decoration_star_03.webp → decoration-star_03-1_1.webp} +0 -0
- /package/lib/static/illust/light/{square_decoration_star_04.webp → decoration-star_04-1_1.webp} +0 -0
- /package/lib/static/illust/light/{square_decoration_star_05.webp → decoration-star_05-1_1.webp} +0 -0
- /package/lib/static/illust/light/{square_decoration_star_06.webp → decoration-star_06-1_1.webp} +0 -0
- /package/lib/static/illust/light/{square_decoration_star_07.webp → decoration-star_07-1_1.webp} +0 -0
- /package/lib/static/illust/light/{square_decoration_star_08.webp → decoration-star_08-1_1.webp} +0 -0
- /package/lib/static/illust/light/{square_decoration_star_09.webp → decoration-star_09-1_1.webp} +0 -0
- /package/lib/static/illust/light/{square_decoration_star_10.webp → decoration-star_10-1_1.webp} +0 -0
- /package/lib/static/illust/light/{square_decoration_star_11.webp → decoration-star_11-1_1.webp} +0 -0
- /package/lib/static/illust/light/{square_careers_page_tennis.webp → decoration-tennis-1_1.webp} +0 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const generateRandomId: () => number;
|
package/lib/types/illust.d.ts
CHANGED
|
@@ -1 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
type LightIllustType = "decoration-airplane-1_1" | "decoration-bulb-1_1" | "decoration-car-1_1" | "decoration-coffee-1_1" | "decoration-english-1_1" | "decoration-flag-1_1" | "decoration-hourglass-1_1" | "decoration-money-1_1" | "decoration-palm-1_1" | "decoration-rocket-1_1" | "decoration-shake_hands-1_1" | "decoration-star_01-1_1" | "decoration-star_02-1_1" | "decoration-star_03-1_1" | "decoration-star_04-1_1" | "decoration-star_05-1_1" | "decoration-star_06-1_1" | "decoration-star_07-1_1" | "decoration-star_08-1_1" | "decoration-star_09-1_1" | "decoration-star_10-1_1" | "decoration-star_11-1_1" | "decoration-tennis-1_1" | "object-bomb-1_1" | "object-book_pencil-4_3" | "object-brain-1_1" | "object-clap-1_1" | "object-documents_02-1_1" | "object-empty_box-1_1" | "object-empty_box-4_3" | "object-feather_pen-1_1" | "object-folder_01-1_1" | "object-folder_02-1_1" | "object-free_ticket-1_1" | "object-gift-1_1" | "object-give_gift-1_1" | "object-graduation_cap_pencil-4_3" | "object-lock-4_3" | "object-magnifying_glass-1_1" | "object-magnifying_glass-4_3" | "object-megaphone-1_1" | "object-paper-1_1" | "object-pencil_paper-16_9" | "object-puzzle-4_3" | "object-smoke-16_9" | "object-university_01-1_1" | "object-university_02-1_1" | "object_documents_01-1_1" | "object_find_man-1_1" | "person-ai_writing-1_1" | "person-bye-4_3" | "person-cheerup-16_9" | "person-cheerup-4_3" | "person-holding_a_book-1_1" | "person-introduce-1_1" | "person-introduce-pro-1_1" | "person-make_profile-1_1" | "person-raining-1_1" | "person-searching-16_9" | "person-searching_01-1_1" | "person-searching_01-4_3" | "person-searching_02-1_1" | "person-space_in_work-4_3" | "person-standing_with_a_star-16_9" | "person-time_out_01-1_1" | "person-time_out_02-1_1" | "person-time_out_03-1_1" | "person-time_out_04-1_1" | "person-time_out_05-1_1" | "person-understand-1_1" | "person-working_01-4_3" | "person-working_02-4_3" | "person-worried-1_1" | "person-worried_01-4_3" | "person-worried_02-4_3" | "person-worried_03-4_3" | "person-worried_04-4_3" | "person-writing_01-1_1" | "person-writing_02-1_1";
|
|
2
|
+
type DarkIllustType = "decoration-airplane-1_1" | "decoration-bulb-1_1" | "decoration-car-1_1" | "decoration-flag-1_1" | "decoration-hourglass-1_1" | "decoration-rocket-1_1" | "decoration-star_01-1_1" | "decoration-star_02-1_1" | "decoration-star_03-1_1" | "decoration-star_04-1_1" | "decoration-star_05-1_1" | "decoration-star_06-1_1" | "decoration-star_07-1_1" | "decoration-star_08-1_1" | "decoration-star_09-1_1" | "decoration-star_10-1_1" | "decoration-star_11-1_1" | "object-bomb-1_1" | "object-brain-1_1" | "object-clap-1_1" | "object-documents_02-1_1" | "object-empty_box-1_1" | "object-empty_box-4_3" | "object-folder_01-1_1" | "object-folder_02-1_1" | "object-free_ticket-1_1" | "object-gift-1_1" | "object-give_gift-1_1" | "object-graduation_cap_pencil-4_3" | "object-lock-4_3" | "object-magnifying_glass-1_1" | "object-magnifying_glass-4_3" | "object-megaphone-1_1" | "object-paper-1_1" | "object-pencil_paper-16_9" | "object-puzzle-4_3" | "object-smoke-16_9" | "object_documents_01-1_1" | "object_find_man-1_1" | "person-bye-4_3" | "person-holding_a_book-1_1" | "person-introduce-1_1" | "person-introduce-pro-1_1" | "person-make_profile-1_1" | "person-raining-1_1" | "person-searching-16_9" | "person-searching_01-1_1" | "person-searching_01-4_3" | "person-searching_02-1_1" | "person-space_in_work-4_3" | "person-standing_with_a_star-16_9" | "person-time_out_01-1_1" | "person-time_out_02-1_1" | "person-time_out_03-1_1" | "person-time_out_04-1_1" | "person-time_out_05-1_1" | "person-working_01-4_3" | "person-worried-1_1" | "person-worried_01-4_3" | "person-worried_02-4_3" | "person-worried_03-4_3" | "person-worried_04-4_3" | "person-writing_01-1_1";
|
|
3
|
+
export type IllustType = DarkIllustType | LightIllustType;
|
|
4
|
+
export {};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { IconProps } from '../components/Icon';
|
|
2
|
+
import { ToastProps } from '@radix-ui/react-toast';
|
|
3
|
+
interface ISnackbarBase extends ToastProps {
|
|
4
|
+
title: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
position?: 'left' | 'right';
|
|
7
|
+
}
|
|
8
|
+
export interface ButtonType {
|
|
9
|
+
onClick: () => void;
|
|
10
|
+
text: string;
|
|
11
|
+
}
|
|
12
|
+
interface ISnackbarBasic {
|
|
13
|
+
kind?: 'basic';
|
|
14
|
+
icon?: Pick<IconProps, 'name' | 'fill' | 'thick'>;
|
|
15
|
+
button?: {
|
|
16
|
+
text?: ButtonType;
|
|
17
|
+
basic?: ButtonType;
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
interface ISnackbarNavigation {
|
|
21
|
+
kind: 'navigation';
|
|
22
|
+
button: {
|
|
23
|
+
onClick: () => void;
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
interface ISnackbarExtended {
|
|
27
|
+
kind: 'extended';
|
|
28
|
+
button?: {
|
|
29
|
+
text?: ButtonType;
|
|
30
|
+
basic?: ButtonType;
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export type SnackbarProp = ISnackbarBase & (ISnackbarBasic | ISnackbarNavigation | ISnackbarExtended);
|
|
34
|
+
export type SnackbarPropWithId = SnackbarProp & {
|
|
35
|
+
snackbarId: number;
|
|
36
|
+
timer: number;
|
|
37
|
+
};
|
|
38
|
+
export {};
|
package/lib/utils/object.d.ts
CHANGED
|
@@ -3,4 +3,4 @@ export declare const objectToArray: <T extends Record<string, any>>(obj: T) => [
|
|
|
3
3
|
export declare const arrayToStyleObject: (colorKeys: BasicColorType[], style: {
|
|
4
4
|
readonly [key: string]: string;
|
|
5
5
|
}, prefix?: string) => Partial<Record<BasicColorType, string>>;
|
|
6
|
-
export declare const isEmptyObject: (obj:
|
|
6
|
+
export declare const isEmptyObject: (obj: object) => boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@liner-fe/prism",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.34",
|
|
4
4
|
"packageManager": "yarn@3.6.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev": "next dev",
|
|
@@ -9,10 +9,11 @@
|
|
|
9
9
|
"storybook": "storybook dev -p 6006",
|
|
10
10
|
"build-storybook": "storybook build",
|
|
11
11
|
"appendCSS": "ts-node './scripts/index.ts'",
|
|
12
|
-
"build": "ts-node ./scripts/clearFolder && node ./build.mjs && tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json && ts-node ./scripts/copyPublic",
|
|
12
|
+
"build": "ts-node ./scripts/clearFolder && yarn illustToTypescriptCode && node ./build.mjs && tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json && ts-node ./scripts/copyPublic",
|
|
13
13
|
"build:package": "yarn build",
|
|
14
14
|
"prepack": "yarn build",
|
|
15
|
-
"illust": "ts-node ./scripts/format-illust && find . -type d -empty -delete"
|
|
15
|
+
"illust": "ts-node ./scripts/format-illust && find . -type d -empty -delete",
|
|
16
|
+
"illustToTypescriptCode": "yarn workspace @liner-fe/prism ts-node ./scripts/illustToTypescriptCode"
|
|
16
17
|
},
|
|
17
18
|
"dependencies": {
|
|
18
19
|
"@artsy/fresnel": "^7.1.4",
|
|
@@ -29,6 +30,7 @@
|
|
|
29
30
|
"@radix-ui/react-tooltip": "^1.1.2",
|
|
30
31
|
"clsx": "^2.1.1",
|
|
31
32
|
"cva": "beta",
|
|
33
|
+
"date-fns": "^4.1.0",
|
|
32
34
|
"framer-motion": "^11.2.13",
|
|
33
35
|
"lottie-web": "^5.9.4",
|
|
34
36
|
"react": "^18.2.0",
|
|
@@ -42,6 +44,7 @@
|
|
|
42
44
|
},
|
|
43
45
|
"devDependencies": {
|
|
44
46
|
"@chromatic-com/storybook": "^1.5.0",
|
|
47
|
+
"@eslint/js": "^9.22.0",
|
|
45
48
|
"@storybook/addon-designs": "^8.0.4",
|
|
46
49
|
"@storybook/addon-essentials": "^8.4.2",
|
|
47
50
|
"@storybook/addon-interactions": "^8.4.2",
|
|
@@ -62,6 +65,9 @@
|
|
|
62
65
|
"esbuild": "^0.25.0",
|
|
63
66
|
"esbuild-node-externals": "^1.16.0",
|
|
64
67
|
"esbuild-sass-plugin": "^3.3.1",
|
|
68
|
+
"eslint": "^9.22.0",
|
|
69
|
+
"eslint-plugin-react": "^7.37.4",
|
|
70
|
+
"globals": "^16.0.0",
|
|
65
71
|
"next": "^15.1.2",
|
|
66
72
|
"postcss": "^8.4.24",
|
|
67
73
|
"prettier": "^2.8.8",
|
|
@@ -72,6 +78,7 @@
|
|
|
72
78
|
"ts-node": "^10.9.2",
|
|
73
79
|
"tsc-alias": "^1.8.10",
|
|
74
80
|
"typescript": "^5.1.6",
|
|
81
|
+
"typescript-eslint": "^8.26.1",
|
|
75
82
|
"typescript-plugin-css-modules": "^5.1.0"
|
|
76
83
|
},
|
|
77
84
|
"publishConfig": {
|
|
@@ -89,5 +96,9 @@
|
|
|
89
96
|
"name": "jake-liner",
|
|
90
97
|
"email": "jake@linercorp.com"
|
|
91
98
|
}
|
|
92
|
-
]
|
|
99
|
+
],
|
|
100
|
+
"volta": {
|
|
101
|
+
"node": "20.18.3",
|
|
102
|
+
"yarn": "1.22.22"
|
|
103
|
+
}
|
|
93
104
|
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ToastProp } from '..';
|
|
2
|
-
export declare const toastAtom: import("recoil").RecoilState<{
|
|
3
|
-
list: Array<ToastProp>;
|
|
4
|
-
}>;
|
|
5
|
-
export declare const ONE_SECOND = 1000;
|
|
6
|
-
export declare const useToast: () => {
|
|
7
|
-
open: (toast: Omit<Partial<ToastProp>, "toastId">) => {
|
|
8
|
-
toastId: number;
|
|
9
|
-
};
|
|
10
|
-
endLoading: (toastId: number) => void;
|
|
11
|
-
};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|