@liner-fe/prism 2.1.32 → 2.1.33
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 +45 -49
- package/lib/index.cjs.map +4 -4
- package/lib/index.mjs +45 -49
- 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 +10 -3
- 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
package/lib/index.cjs
CHANGED
|
@@ -206,7 +206,7 @@ var ICLinerVariation = /* @__PURE__ */ __name((props) => {
|
|
|
206
206
|
const { thick = false, fill = false, size = 32, color = "#1E1E1F" } = props;
|
|
207
207
|
if (fill) {
|
|
208
208
|
return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("svg", { ...props, width: size, height: size, viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
209
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("g", {
|
|
209
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("g", { clipPath: "url(#clip0_1076_10079)", children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
210
210
|
"path",
|
|
211
211
|
{
|
|
212
212
|
d: "M45.1539 0H33.0996C32.3358 0 31.6225 0.295362 31.0821 0.83566L22.6303 9.28591C22.3493 9.56686 21.9747 9.72535 21.5712 9.72535H8.24147C7.47771 9.72535 6.76439 10.0207 6.224 10.561L0.84168 15.9424C0.013077 16.7708 -0.224696 17.9667 0.222029 19.0473C0.668754 20.1351 1.68469 20.805 2.85915 20.805H10.5688C11.3902 20.805 12.0675 21.475 12.0675 22.3035V32.7852C12.0675 34.5214 13.4797 35.9334 15.2161 35.9334H25.6998C26.5212 35.9334 27.1985 36.6033 27.1985 37.4318V45.14C27.1985 46.3143 27.8758 47.3228 28.9565 47.7767C29.324 47.928 29.6987 48 30.0661 48C30.8011 48 31.5144 47.7118 32.062 47.1571L37.4443 41.7758C37.9847 41.2355 38.2801 40.5223 38.2801 39.7587V26.3161C38.2801 25.9919 38.4026 25.6821 38.6332 25.4516L47.1642 16.9221C47.6974 16.389 48 15.6542 48 14.905V2.85277C48 1.28231 46.7175 0 45.1467 0H45.1539ZM23.1563 12.5781C23.1563 11.7569 23.8264 11.0869 24.655 11.0869H35.4341C36.2555 11.0869 36.9327 11.7569 36.9327 12.5781V23.3552C36.9327 24.1765 36.2627 24.8537 35.4341 24.8537H24.655C23.8336 24.8537 23.1563 24.1837 23.1563 23.3552V12.5781Z",
|
|
@@ -217,7 +217,7 @@ var ICLinerVariation = /* @__PURE__ */ __name((props) => {
|
|
|
217
217
|
] });
|
|
218
218
|
}
|
|
219
219
|
return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("svg", { ...props, width: size, height: size, viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
220
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("g", {
|
|
220
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("g", { clipPath: "url(#clip0_1076_10079)", children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
221
221
|
"path",
|
|
222
222
|
{
|
|
223
223
|
d: "M45.1539 0H33.0996C32.3358 0 31.6225 0.295362 31.0821 0.83566L22.6303 9.28591C22.3493 9.56686 21.9747 9.72535 21.5712 9.72535H8.24147C7.47771 9.72535 6.76439 10.0207 6.224 10.561L0.84168 15.9424C0.013077 16.7708 -0.224696 17.9667 0.222029 19.0473C0.668754 20.1351 1.68469 20.805 2.85915 20.805H10.5688C11.3902 20.805 12.0675 21.475 12.0675 22.3035V32.7852C12.0675 34.5214 13.4797 35.9334 15.2161 35.9334H25.6998C26.5212 35.9334 27.1985 36.6033 27.1985 37.4318V45.14C27.1985 46.3143 27.8758 47.3228 28.9565 47.7767C29.324 47.928 29.6987 48 30.0661 48C30.8011 48 31.5144 47.7118 32.062 47.1571L37.4443 41.7758C37.9847 41.2355 38.2801 40.5223 38.2801 39.7587V26.3161C38.2801 25.9919 38.4026 25.6821 38.6332 25.4516L47.1642 16.9221C47.6974 16.389 48 15.6542 48 14.905V2.85277C48 1.28231 46.7175 0 45.1467 0H45.1539ZM23.1563 12.5781C23.1563 11.7569 23.8264 11.0869 24.655 11.0869H35.4341C36.2555 11.0869 36.9327 11.7569 36.9327 12.5781V23.3552C36.9327 24.1765 36.2627 24.8537 35.4341 24.8537H24.655C23.8336 24.8537 23.1563 24.1837 23.1563 23.3552V12.5781Z",
|
|
@@ -418,7 +418,7 @@ var ICPaperclip = /* @__PURE__ */ __name((props) => {
|
|
|
418
418
|
const { thick = false, fill = false, size = 32, color = "#1E1E1F" } = props;
|
|
419
419
|
if (thick) {
|
|
420
420
|
return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("svg", { ...props, width: size, height: size, viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
421
|
-
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("g", {
|
|
421
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("g", { clipPath: "url(#clip0_978_3263)", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
422
422
|
"path",
|
|
423
423
|
{
|
|
424
424
|
fillRule: "evenodd",
|
|
@@ -1976,7 +1976,7 @@ var ICDescription = /* @__PURE__ */ __name((props) => {
|
|
|
1976
1976
|
d: "M13.5 29.5V31H15H33H34.5V29.5V26.5V25H33H15H13.5V26.5V29.5ZM20 23H21.5V21.5V20.257C22.31 21.9261 24.0211 23.0769 26.001 23.0769H37.5V42C37.5 42.2761 37.2761 42.5 37 42.5H11C10.7239 42.5 10.5 42.2761 10.5 42V6C10.5 5.72386 10.7239 5.5 11 5.5H21.001V17H20H15H13.5V18.5V21.5V23H15H20ZM13.5 36.5V38H15H33H34.5V36.5V33.5V32H33H15H13.5V33.5V36.5ZM27.001 17.0769V9.41465L34.1496 17.0769H27.001Z",
|
|
1977
1977
|
fill: color,
|
|
1978
1978
|
stroke: "#1E1E1F",
|
|
1979
|
-
|
|
1979
|
+
strokeWidth: "3"
|
|
1980
1980
|
}
|
|
1981
1981
|
) });
|
|
1982
1982
|
}
|
|
@@ -2119,7 +2119,7 @@ var ICCamera = /* @__PURE__ */ __name((props) => {
|
|
|
2119
2119
|
d: "M32.6832 12.7183L33.1096 13.5H34H42C42.2761 13.5 42.5 13.7239 42.5 14V39C42.5 39.2761 42.2761 39.5 42 39.5H6C5.72386 39.5 5.5 39.2761 5.5 39V14C5.5 13.7239 5.72386 13.5 6 13.5H14H14.8904L15.3168 12.7183L17.7483 8.26057L16.4315 7.5423L17.7483 8.26057C17.8359 8.09994 18.0043 8 18.1873 8H29.8127C29.9957 8 30.1641 8.09994 30.2517 8.26057L32.6832 12.7183ZM28.5 26C28.5 28.4853 26.4853 30.5 24 30.5C21.5147 30.5 19.5 28.4853 19.5 26C19.5 23.5147 21.5147 21.5 24 21.5C26.4853 21.5 28.5 23.5147 28.5 26ZM24 36.5C29.799 36.5 34.5 31.799 34.5 26C34.5 20.201 29.799 15.5 24 15.5C18.201 15.5 13.5 20.201 13.5 26C13.5 31.799 18.201 36.5 24 36.5Z",
|
|
2120
2120
|
fill: color,
|
|
2121
2121
|
stroke: "#1E1E1F",
|
|
2122
|
-
|
|
2122
|
+
strokeWidth: "3"
|
|
2123
2123
|
}
|
|
2124
2124
|
) });
|
|
2125
2125
|
}
|
|
@@ -2475,7 +2475,7 @@ var ICFolderAdd = /* @__PURE__ */ __name((props) => {
|
|
|
2475
2475
|
d: "M22.4 11.7L23 12.5H24H41.5V39H6.5L6.5 8.5L20 8.5L22.4 11.7ZM20 15.9998V17.9998V21.5H16.25H14.25V23.5V27.5V29.5H16.25H20V33.4998V35.4998H22H26H28V33.4998V29.5H31.75H33.75V27.5V23.5V21.5H31.75H28V17.9998V15.9998H26H22H20Z",
|
|
2476
2476
|
fill: color,
|
|
2477
2477
|
stroke: "#1E1E1F",
|
|
2478
|
-
|
|
2478
|
+
strokeWidth: "4"
|
|
2479
2479
|
}
|
|
2480
2480
|
) });
|
|
2481
2481
|
}
|
|
@@ -2500,7 +2500,7 @@ var ICFolderAdd = /* @__PURE__ */ __name((props) => {
|
|
|
2500
2500
|
d: "M22.4 11.7L23 12.5H24H41.5V39H6.5L6.5 8.5L20 8.5L22.4 11.7ZM22.5 15.9998H20.5V17.9998V22H16.25H14.25V24V27V29H16.25H20.5V33.4998V35.4998H22.5H25.5H27.5V33.4998V29H31.75H33.75V27V24V22H31.75H27.5V17.9998V15.9998H25.5H22.5Z",
|
|
2501
2501
|
fill: color,
|
|
2502
2502
|
stroke: "#1E1E1F",
|
|
2503
|
-
|
|
2503
|
+
strokeWidth: "4"
|
|
2504
2504
|
}
|
|
2505
2505
|
) });
|
|
2506
2506
|
}
|
|
@@ -3166,7 +3166,7 @@ var ICSummarize = /* @__PURE__ */ __name((props) => {
|
|
|
3166
3166
|
d: "M36 23.0379V22V20V18V14V12H34H14H12V14V18V20V22V26V28V30V34V36H14H22C22 37.7707 22.3548 39.4603 22.9969 41H7L7 7L41 7V24.465C39.4841 23.675 37.7926 23.1745 36 23.0379ZM33.3002 35.4997H32.7203L34.1999 33.2622L34.1999 34.2054C34.1998 35.5862 35.3191 36.7055 36.6999 36.7055H37.2831L35.8002 38.9518V37.9997C35.8002 36.6189 34.6809 35.4997 33.3002 35.4997Z",
|
|
3167
3167
|
fill: "black",
|
|
3168
3168
|
stroke: "black",
|
|
3169
|
-
|
|
3169
|
+
strokeWidth: "4"
|
|
3170
3170
|
}
|
|
3171
3171
|
) });
|
|
3172
3172
|
}
|
|
@@ -3198,7 +3198,7 @@ var ICSummarize = /* @__PURE__ */ __name((props) => {
|
|
|
3198
3198
|
d: "M14.5 35.5H22.0095C22.0032 35.666 22 35.8326 22 36C22 37.7707 22.3548 39.4603 22.9969 41H7L7 7L41 7V24.465C39.3439 23.6019 37.4782 23.0844 35.5 23.0095V22.5V20.5H33.5H14.5H12.5V22.5V25.5V27.5H14.5H25.1636C24.8868 27.8201 24.6254 28.1538 24.3805 28.5H14.5H12.5V30.5V33.5V35.5H14.5ZM12.5 17.5V19.5H14.5H33.5H35.5V17.5V14.5V12.5H33.5H14.5H12.5V14.5V17.5ZM33.3002 35.4997H32.7203L34.1999 33.2622L34.1999 34.2054C34.1998 35.5862 35.3191 36.7055 36.6999 36.7055H37.2831L35.8002 38.9518V37.9997C35.8002 36.6189 34.6809 35.4997 33.3002 35.4997Z",
|
|
3199
3199
|
fill: "black",
|
|
3200
3200
|
stroke: "black",
|
|
3201
|
-
|
|
3201
|
+
strokeWidth: "4"
|
|
3202
3202
|
}
|
|
3203
3203
|
) });
|
|
3204
3204
|
}
|
|
@@ -4248,8 +4248,8 @@ var ICBulb = /* @__PURE__ */ __name((props) => {
|
|
|
4248
4248
|
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
4249
4249
|
"path",
|
|
4250
4250
|
{
|
|
4251
|
-
|
|
4252
|
-
|
|
4251
|
+
fillRule: "evenodd",
|
|
4252
|
+
clipRule: "evenodd",
|
|
4253
4253
|
d: "M31 35C31 33.3206 31.9663 31.8223 33.2847 30.7819C36.7656 28.035 39 23.7784 39 19C39 10.7157 32.2843 4 24 4C15.7157 4 9 10.7157 9 19C9 23.7784 11.2344 28.035 14.7153 30.7819C16.0337 31.8223 17 33.3206 17 35C17 36.1046 17.8954 37 19 37H29C30.1046 37 31 36.1046 31 35ZM35 19C35 22.5022 33.3679 25.6208 30.8068 27.6419C29.2724 28.8527 27.7996 30.6858 27.2384 33H20.7616C20.2004 30.6858 18.7276 28.8527 17.1932 27.6419C14.6321 25.6208 13 22.5022 13 19C13 12.9249 17.9249 8 24 8C30.0751 8 35 12.9249 35 19Z",
|
|
4254
4254
|
fill: color
|
|
4255
4255
|
}
|
|
@@ -4261,8 +4261,8 @@ var ICBulb = /* @__PURE__ */ __name((props) => {
|
|
|
4261
4261
|
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
|
|
4262
4262
|
"path",
|
|
4263
4263
|
{
|
|
4264
|
-
|
|
4265
|
-
|
|
4264
|
+
fillRule: "evenodd",
|
|
4265
|
+
clipRule: "evenodd",
|
|
4266
4266
|
d: "M31 35C31 33.3206 31.9663 31.8223 33.2847 30.7819C36.7656 28.035 39 23.7784 39 19C39 10.7157 32.2843 4 24 4C15.7157 4 9 10.7157 9 19C9 23.7784 11.2344 28.035 14.7153 30.7819C16.0337 31.8223 17 33.3206 17 35C17 36.1046 17.8954 37 19 37H29C30.1046 37 31 36.1046 31 35ZM36 19C36 22.8213 34.2173 26.2244 31.4262 28.4269C29.8454 29.6744 28.3909 31.5977 28.0669 34H19.9331C19.6091 31.5977 18.1546 29.6744 16.5738 28.4269C13.7827 26.2244 12 22.8213 12 19C12 12.3726 17.3726 7 24 7C30.6274 7 36 12.3726 36 19Z",
|
|
4267
4267
|
fill: color
|
|
4268
4268
|
}
|
|
@@ -4491,7 +4491,7 @@ var ICFolderOpen = /* @__PURE__ */ __name((props) => {
|
|
|
4491
4491
|
}
|
|
4492
4492
|
if (thick) {
|
|
4493
4493
|
return /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)("svg", { ...rest, width: size, height: size, viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
4494
|
-
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)("g", {
|
|
4494
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)("g", { clipPath: "url(#clip0_975_1749)", children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
|
|
4495
4495
|
"path",
|
|
4496
4496
|
{
|
|
4497
4497
|
fillRule: "evenodd",
|
|
@@ -4504,7 +4504,7 @@ var ICFolderOpen = /* @__PURE__ */ __name((props) => {
|
|
|
4504
4504
|
] });
|
|
4505
4505
|
}
|
|
4506
4506
|
return /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)("svg", { ...rest, width: size, height: size, viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
4507
|
-
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)("g", {
|
|
4507
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)("g", { clipPath: "url(#clip0_975_1738)", children: /* @__PURE__ */ (0, import_jsx_runtime90.jsx)(
|
|
4508
4508
|
"path",
|
|
4509
4509
|
{
|
|
4510
4510
|
fillRule: "evenodd",
|
|
@@ -5998,7 +5998,7 @@ var ICTextSelect = /* @__PURE__ */ __name((props) => {
|
|
|
5998
5998
|
const { thick = false, fill = false, size = 32, color = "#1E1E1F" } = props;
|
|
5999
5999
|
if (thick) {
|
|
6000
6000
|
return /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)("svg", { ...props, width: size, height: size, viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
6001
|
-
/* @__PURE__ */ (0, import_jsx_runtime127.jsxs)("g", {
|
|
6001
|
+
/* @__PURE__ */ (0, import_jsx_runtime127.jsxs)("g", { clipPath: "url(#clip0_3527_4665)", children: [
|
|
6002
6002
|
/* @__PURE__ */ (0, import_jsx_runtime127.jsx)("path", { d: "M26 19H30V15H18V19H22V31H26V19Z", fill: color }),
|
|
6003
6003
|
/* @__PURE__ */ (0, import_jsx_runtime127.jsx)(
|
|
6004
6004
|
"path",
|
|
@@ -7705,34 +7705,33 @@ var DefaultButton = (0, import_react.forwardRef)(
|
|
|
7705
7705
|
);
|
|
7706
7706
|
var Button = (0, import_react.forwardRef)((props, ref) => /* @__PURE__ */ (0, import_jsx_runtime157.jsx)(DefaultButton, { ...props, ref }));
|
|
7707
7707
|
|
|
7708
|
-
// src/
|
|
7708
|
+
// src/hooks/useToast.ts
|
|
7709
7709
|
var import_recoil = require("recoil");
|
|
7710
|
+
|
|
7711
|
+
// src/types/generateRandomId.ts
|
|
7712
|
+
var generateRandomId = /* @__PURE__ */ __name(() => Date.now() + Math.random(), "generateRandomId");
|
|
7713
|
+
|
|
7714
|
+
// src/hooks/useToast.ts
|
|
7715
|
+
var import_constants = require("date-fns/constants");
|
|
7710
7716
|
var toastAtom = (0, import_recoil.atom)({
|
|
7711
|
-
default:
|
|
7717
|
+
default: [],
|
|
7712
7718
|
key: "toastAtoms"
|
|
7713
7719
|
});
|
|
7714
|
-
var ONE_SECOND = 1e3;
|
|
7715
7720
|
var useToast = /* @__PURE__ */ __name(() => {
|
|
7716
7721
|
const setToasts = (0, import_recoil.useSetRecoilState)(toastAtom);
|
|
7717
7722
|
return {
|
|
7718
7723
|
open: /* @__PURE__ */ __name((toast) => {
|
|
7719
|
-
const toastId =
|
|
7720
|
-
const timer = toast.button ?
|
|
7724
|
+
const toastId = generateRandomId();
|
|
7725
|
+
const timer = toast.button ? import_constants.millisecondsInSecond * 5 : import_constants.millisecondsInSecond + 800;
|
|
7721
7726
|
const list = { toastId, timer, ...toast };
|
|
7722
|
-
setToasts((prev) =>
|
|
7723
|
-
return {
|
|
7724
|
-
list: [...prev.list, list]
|
|
7725
|
-
};
|
|
7726
|
-
});
|
|
7727
|
+
setToasts((prev) => [...prev, list]);
|
|
7727
7728
|
return { toastId };
|
|
7728
7729
|
}, "open"),
|
|
7729
7730
|
endLoading: /* @__PURE__ */ __name((toastId) => {
|
|
7730
7731
|
setToasts((prev) => {
|
|
7731
|
-
return {
|
|
7732
|
-
list:
|
|
7733
|
-
|
|
7734
|
-
})
|
|
7735
|
-
};
|
|
7732
|
+
return prev.map((list) => {
|
|
7733
|
+
return { ...list, isLoading: list.toastId === toastId ? false : list.isLoading };
|
|
7734
|
+
});
|
|
7736
7735
|
});
|
|
7737
7736
|
}, "endLoading")
|
|
7738
7737
|
};
|
|
@@ -7802,9 +7801,9 @@ var colorVariants = (0, import_cva4.cva)({
|
|
|
7802
7801
|
// src/components/Typography/Set/Paragraph.tsx
|
|
7803
7802
|
var import_jsx_runtime158 = require("react/jsx-runtime");
|
|
7804
7803
|
var Paragraph = (0, import_react2.forwardRef)(
|
|
7805
|
-
({ size, type, weight, className, children, color = "neutral-label-primary", ...rest }, ref) => {
|
|
7804
|
+
({ size, type, weight, className, children, color = "neutral-label-primary", as: Element = "p", ...rest }, ref) => {
|
|
7806
7805
|
return /* @__PURE__ */ (0, import_jsx_runtime158.jsx)(
|
|
7807
|
-
|
|
7806
|
+
Element,
|
|
7808
7807
|
{
|
|
7809
7808
|
...rest,
|
|
7810
7809
|
className: (0, import_clsx3.default)(`lp-sys-typo-paragraph${size}-${type}-${weight}`, colorVariants({ type: color }), className),
|
|
@@ -8293,10 +8292,11 @@ var loading_default = {
|
|
|
8293
8292
|
};
|
|
8294
8293
|
|
|
8295
8294
|
// src/components/Toast/index.tsx
|
|
8295
|
+
var import_constants2 = require("date-fns/constants");
|
|
8296
8296
|
var import_jsx_runtime159 = require("react/jsx-runtime");
|
|
8297
8297
|
var import_react4 = require("react");
|
|
8298
8298
|
var Toaster = /* @__PURE__ */ __name(() => {
|
|
8299
|
-
const
|
|
8299
|
+
const list = (0, import_recoil2.useRecoilValue)(toastAtom);
|
|
8300
8300
|
return /* @__PURE__ */ (0, import_jsx_runtime159.jsxs)(import_react_toast.Provider, { children: [
|
|
8301
8301
|
list.map((props) => /* @__PURE__ */ (0, import_react4.createElement)(SingleToast, { ...props, key: props.toastId })),
|
|
8302
8302
|
/* @__PURE__ */ (0, import_jsx_runtime159.jsx)(import_react_toast.Viewport, { className: style_module_default4.ToastViewport })
|
|
@@ -8310,11 +8310,7 @@ var SingleToast = /* @__PURE__ */ __name((props) => {
|
|
|
8310
8310
|
const lottieRef = (0, import_react3.useRef)(null);
|
|
8311
8311
|
const toastSuccess = (0, import_react3.useRef)(false);
|
|
8312
8312
|
const removeToast = /* @__PURE__ */ __name(() => {
|
|
8313
|
-
setToast((prev) =>
|
|
8314
|
-
return {
|
|
8315
|
-
list: prev.list.filter((toast) => toast.toastId !== toastId)
|
|
8316
|
-
};
|
|
8317
|
-
});
|
|
8313
|
+
setToast((prev) => prev.filter((toast) => toast.toastId !== toastId));
|
|
8318
8314
|
timerRef.current && clearTimeout(timerRef.current);
|
|
8319
8315
|
}, "removeToast");
|
|
8320
8316
|
(0, import_react3.useEffect)(() => {
|
|
@@ -8333,7 +8329,7 @@ var SingleToast = /* @__PURE__ */ __name((props) => {
|
|
|
8333
8329
|
timerRef.current = setTimeout(() => {
|
|
8334
8330
|
removeToast();
|
|
8335
8331
|
clearTimeout(timerRef.current);
|
|
8336
|
-
}, timer +
|
|
8332
|
+
}, timer + import_constants2.millisecondsInSecond);
|
|
8337
8333
|
const preCloseTimeout = setTimeout(() => {
|
|
8338
8334
|
setIsOpen(false);
|
|
8339
8335
|
}, timer);
|
|
@@ -8387,8 +8383,8 @@ var import_react5 = require("react");
|
|
|
8387
8383
|
var import_clsx4 = __toESM(require("clsx"));
|
|
8388
8384
|
var import_jsx_runtime160 = require("react/jsx-runtime");
|
|
8389
8385
|
var Heading = (0, import_react5.forwardRef)(
|
|
8390
|
-
({ size, children, type, className, color = "neutral-label-primary", ...rest }, ref) => {
|
|
8391
|
-
const Element = `h${size}`;
|
|
8386
|
+
({ size, children, type, className, color = "neutral-label-primary", as, ...rest }, ref) => {
|
|
8387
|
+
const Element = as || `h${size}`;
|
|
8392
8388
|
return /* @__PURE__ */ (0, import_jsx_runtime160.jsx)(
|
|
8393
8389
|
Element,
|
|
8394
8390
|
{
|
|
@@ -8406,9 +8402,9 @@ var import_clsx5 = __toESM(require("clsx"));
|
|
|
8406
8402
|
var import_react6 = require("react");
|
|
8407
8403
|
var import_jsx_runtime161 = require("react/jsx-runtime");
|
|
8408
8404
|
var Caption = (0, import_react6.forwardRef)(
|
|
8409
|
-
({ children, size, weight, type, className, color = "neutral-label-primary", ...rest }, ref) => {
|
|
8405
|
+
({ children, size, weight, type, className, color = "neutral-label-primary", as: Element = "p", ...rest }, ref) => {
|
|
8410
8406
|
return /* @__PURE__ */ (0, import_jsx_runtime161.jsx)(
|
|
8411
|
-
|
|
8407
|
+
Element,
|
|
8412
8408
|
{
|
|
8413
8409
|
...rest,
|
|
8414
8410
|
className: (0, import_clsx5.default)(
|
|
@@ -8429,9 +8425,9 @@ var import_react7 = require("react");
|
|
|
8429
8425
|
var import_clsx6 = __toESM(require("clsx"));
|
|
8430
8426
|
var import_jsx_runtime162 = require("react/jsx-runtime");
|
|
8431
8427
|
var Title2 = (0, import_react7.forwardRef)(
|
|
8432
|
-
({ weight, size, type, className, children, color = "neutral-label-primary", ...rest }, ref) => {
|
|
8428
|
+
({ weight, size, type, className, children, color = "neutral-label-primary", as: Element = "p", ...rest }, ref) => {
|
|
8433
8429
|
return /* @__PURE__ */ (0, import_jsx_runtime162.jsx)(
|
|
8434
|
-
|
|
8430
|
+
Element,
|
|
8435
8431
|
{
|
|
8436
8432
|
...rest,
|
|
8437
8433
|
className: (0, import_clsx6.default)(`lp-sys-typo-title${size}-${type}-${weight}`, colorVariants({ type: color }), className),
|
|
@@ -8447,12 +8443,12 @@ var import_clsx7 = __toESM(require("clsx"));
|
|
|
8447
8443
|
var import_react8 = require("react");
|
|
8448
8444
|
var import_jsx_runtime163 = require("react/jsx-runtime");
|
|
8449
8445
|
var Display = (0, import_react8.forwardRef)(
|
|
8450
|
-
({ size, type, weight, className, children, color = "neutral-label-primary", ...rest }, ref) => {
|
|
8446
|
+
({ size, type, weight, className, children, color = "neutral-label-primary", as: Element = "p", ...rest }, ref) => {
|
|
8451
8447
|
return /* @__PURE__ */ (0, import_jsx_runtime163.jsx)(
|
|
8452
|
-
|
|
8448
|
+
Element,
|
|
8453
8449
|
{
|
|
8454
|
-
ref,
|
|
8455
8450
|
...rest,
|
|
8451
|
+
ref,
|
|
8456
8452
|
className: (0, import_clsx7.default)(`lp-sys-typo-display${size}-${type}-${weight}`, colorVariants({ type: color }), className),
|
|
8457
8453
|
children
|
|
8458
8454
|
}
|