@liner-fe/prism 2.1.4 → 2.1.6

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.
Files changed (151) hide show
  1. package/lib/components/Illust/index.d.ts +13 -0
  2. package/lib/constants/component.d.ts +1 -0
  3. package/lib/constants/figma/index.d.ts +1 -0
  4. package/lib/constants/illust/name.d.ts +1 -0
  5. package/lib/constants/illust/size.d.ts +5 -0
  6. package/lib/index.css +0 -3
  7. package/lib/index.css.map +1 -1
  8. package/lib/index.d.ts +1 -0
  9. package/lib/{index.mjs → index.js} +40 -2
  10. package/lib/{index.mjs.map → index.js.map} +4 -4
  11. package/lib/static/illust/dark/rectangle_searching.webp +0 -0
  12. package/lib/static/illust/dark/rectangle_space_work.webp +0 -0
  13. package/lib/static/illust/dark/rectangle_standing_with_a_star.webp +0 -0
  14. package/lib/static/illust/dark/square_bomb_timeout.webp +0 -0
  15. package/lib/static/illust/dark/square_brain_deep_q_a.webp +0 -0
  16. package/lib/static/illust/dark/square_bye_end_custom_AI.webp +0 -0
  17. package/lib/static/illust/dark/square_clap.webp +0 -0
  18. package/lib/static/illust/dark/square_decoration_bulb.webp +0 -0
  19. package/lib/static/illust/dark/square_decoration_hourglass.webp +0 -0
  20. package/lib/static/illust/dark/square_decoration_star_01.webp +0 -0
  21. package/lib/static/illust/dark/square_decoration_star_02.webp +0 -0
  22. package/lib/static/illust/dark/square_decoration_star_03.webp +0 -0
  23. package/lib/static/illust/dark/square_decoration_star_04.webp +0 -0
  24. package/lib/static/illust/dark/square_decoration_star_05.webp +0 -0
  25. package/lib/static/illust/dark/square_decoration_star_06.webp +0 -0
  26. package/lib/static/illust/dark/square_decoration_star_07.webp +0 -0
  27. package/lib/static/illust/dark/square_decoration_star_08.webp +0 -0
  28. package/lib/static/illust/dark/square_decoration_star_09.webp +0 -0
  29. package/lib/static/illust/dark/square_decoration_star_10.webp +0 -0
  30. package/lib/static/illust/dark/square_decoration_star_11.webp +0 -0
  31. package/lib/static/illust/dark/square_documents_reliable_citation.webp +0 -0
  32. package/lib/static/illust/dark/square_documents_reliable_source.webp +0 -0
  33. package/lib/static/illust/dark/square_empty_box.webp +0 -0
  34. package/lib/static/illust/dark/square_empty_box_2.webp +0 -0
  35. package/lib/static/illust/dark/square_find_man.webp +0 -0
  36. package/lib/static/illust/dark/square_folder_01.webp +0 -0
  37. package/lib/static/illust/dark/square_folder_02.webp +0 -0
  38. package/lib/static/illust/dark/square_free_ticket_welcome.webp +0 -0
  39. package/lib/static/illust/dark/square_gift_welcome.webp +0 -0
  40. package/lib/static/illust/dark/square_give_gift.webp +0 -0
  41. package/lib/static/illust/dark/square_holding_a_book_onboarding.webp +0 -0
  42. package/lib/static/illust/dark/square_introduce.webp +0 -0
  43. package/lib/static/illust/dark/square_introduce_pro.webp +0 -0
  44. package/lib/static/illust/dark/square_lock_locked_thread.webp +0 -0
  45. package/lib/static/illust/dark/square_magnifying_glass.webp +0 -0
  46. package/lib/static/illust/dark/square_magnifying_glass_not_found.webp +0 -0
  47. package/lib/static/illust/dark/square_make_profile_onboarding.webp +0 -0
  48. package/lib/static/illust/dark/square_paper.webp +0 -0
  49. package/lib/static/illust/dark/square_pencil_paper_empty_history.webp +0 -0
  50. package/lib/static/illust/dark/square_pricing_page_airplane.webp +0 -0
  51. package/lib/static/illust/dark/square_pricing_page_car.webp +0 -0
  52. package/lib/static/illust/dark/square_pricing_page_flag.webp +0 -0
  53. package/lib/static/illust/dark/square_pricing_page_rocket.webp +0 -0
  54. package/lib/static/illust/dark/square_raining_error.webp +0 -0
  55. package/lib/static/illust/dark/square_searching_01.webp +0 -0
  56. package/lib/static/illust/dark/square_searching_02.webp +0 -0
  57. package/lib/static/illust/dark/square_searching_03.webp +0 -0
  58. package/lib/static/illust/dark/square_smoke_timeout.webp +0 -0
  59. package/lib/static/illust/dark/square_time_out.webp +0 -0
  60. package/lib/static/illust/dark/square_time_out_time_out_01.webp +0 -0
  61. package/lib/static/illust/dark/square_time_out_time_out_02.webp +0 -0
  62. package/lib/static/illust/dark/square_time_out_time_out_03.webp +0 -0
  63. package/lib/static/illust/dark/square_time_out_time_out_04.webp +0 -0
  64. package/lib/static/illust/dark/square_working_01.webp +0 -0
  65. package/lib/static/illust/dark/square_worried_01.webp +0 -0
  66. package/lib/static/illust/dark/square_worried_02.webp +0 -0
  67. package/lib/static/illust/dark/square_worried_03.webp +0 -0
  68. package/lib/static/illust/dark/square_worried_04.webp +0 -0
  69. package/lib/static/illust/dark/square_worried_05.webp +0 -0
  70. package/lib/static/illust/dark/square_writing_onboarding.webp +0 -0
  71. package/lib/static/illust/light/rectangle_cheerup_01.webp +0 -0
  72. package/lib/static/illust/light/rectangle_cheerup_02.webp +0 -0
  73. package/lib/static/illust/light/rectangle_searching.webp +0 -0
  74. package/lib/static/illust/light/rectangle_space_work.webp +0 -0
  75. package/lib/static/illust/light/rectangle_standing_with_a_star.webp +0 -0
  76. package/lib/static/illust/light/square_ai_writing_essay_mode.webp +0 -0
  77. package/lib/static/illust/light/square_bomb_timeout.webp +0 -0
  78. package/lib/static/illust/light/square_book_pencil_general_mode.webp +0 -0
  79. package/lib/static/illust/light/square_brain_deep_q_a.webp +0 -0
  80. package/lib/static/illust/light/square_bye_end_custom_ai.webp +0 -0
  81. package/lib/static/illust/light/square_careers_page_coffee.webp +0 -0
  82. package/lib/static/illust/light/square_careers_page_english.webp +0 -0
  83. package/lib/static/illust/light/square_careers_page_money.webp +0 -0
  84. package/lib/static/illust/light/square_careers_page_palm.webp +0 -0
  85. package/lib/static/illust/light/square_careers_page_shake_hands.webp +0 -0
  86. package/lib/static/illust/light/square_careers_page_tennis.webp +0 -0
  87. package/lib/static/illust/light/square_clap.webp +0 -0
  88. package/lib/static/illust/light/square_decoration_bulb.webp +0 -0
  89. package/lib/static/illust/light/square_decoration_hourglass.webp +0 -0
  90. package/lib/static/illust/light/square_decoration_star_01.webp +0 -0
  91. package/lib/static/illust/light/square_decoration_star_02.webp +0 -0
  92. package/lib/static/illust/light/square_decoration_star_03.webp +0 -0
  93. package/lib/static/illust/light/square_decoration_star_04.webp +0 -0
  94. package/lib/static/illust/light/square_decoration_star_05.webp +0 -0
  95. package/lib/static/illust/light/square_decoration_star_06.webp +0 -0
  96. package/lib/static/illust/light/square_decoration_star_07.webp +0 -0
  97. package/lib/static/illust/light/square_decoration_star_08.webp +0 -0
  98. package/lib/static/illust/light/square_decoration_star_09.webp +0 -0
  99. package/lib/static/illust/light/square_decoration_star_10.webp +0 -0
  100. package/lib/static/illust/light/square_decoration_star_11.webp +0 -0
  101. package/lib/static/illust/light/square_documents_reliable_citation.webp +0 -0
  102. package/lib/static/illust/light/square_documents_reliable_source.webp +0 -0
  103. package/lib/static/illust/light/square_empty_box_2.webp +0 -0
  104. package/lib/static/illust/light/square_empty_box_empty_page.webp +0 -0
  105. package/lib/static/illust/light/square_feather_pen.webp +0 -0
  106. package/lib/static/illust/light/square_find_man.webp +0 -0
  107. package/lib/static/illust/light/square_find_paper_use_liner.webp +0 -0
  108. package/lib/static/illust/light/square_folder_01.webp +0 -0
  109. package/lib/static/illust/light/square_folder_02.webp +0 -0
  110. package/lib/static/illust/light/square_free_ticket_welcome.webp +0 -0
  111. package/lib/static/illust/light/square_gift_welcome.webp +0 -0
  112. package/lib/static/illust/light/square_give_gift.webp +0 -0
  113. package/lib/static/illust/light/square_graduation_cap_pencil_scholar_mode.webp +0 -0
  114. package/lib/static/illust/light/square_holding_a_book_onboarding.webp +0 -0
  115. package/lib/static/illust/light/square_introduce.webp +0 -0
  116. package/lib/static/illust/light/square_introduce_pro.webp +0 -0
  117. package/lib/static/illust/light/square_lock_locked_thread.webp +0 -0
  118. package/lib/static/illust/light/square_magnifying_glass.webp +0 -0
  119. package/lib/static/illust/light/square_magnifying_glass_not_found.webp +0 -0
  120. package/lib/static/illust/light/square_make_profile_onboarding.webp +0 -0
  121. package/lib/static/illust/light/square_megaphone.webp +0 -0
  122. package/lib/static/illust/light/square_paper.webp +0 -0
  123. package/lib/static/illust/light/square_pencil_paper_empty_history.webp +0 -0
  124. package/lib/static/illust/light/square_pricing_page_airplane.webp +0 -0
  125. package/lib/static/illust/light/square_pricing_page_car.webp +0 -0
  126. package/lib/static/illust/light/square_pricing_page_flag.webp +0 -0
  127. package/lib/static/illust/light/square_pricing_page_rocket.webp +0 -0
  128. package/lib/static/illust/light/square_raining_error.webp +0 -0
  129. package/lib/static/illust/light/square_searching_01.webp +0 -0
  130. package/lib/static/illust/light/square_searching_02.webp +0 -0
  131. package/lib/static/illust/light/square_searching_03.webp +0 -0
  132. package/lib/static/illust/light/square_smoke_timeout.webp +0 -0
  133. package/lib/static/illust/light/square_time_out.webp +0 -0
  134. package/lib/static/illust/light/square_time_out_time_out_01.webp +0 -0
  135. package/lib/static/illust/light/square_time_out_time_out_02.webp +0 -0
  136. package/lib/static/illust/light/square_time_out_time_out_03.webp +0 -0
  137. package/lib/static/illust/light/square_time_out_time_out_04.webp +0 -0
  138. package/lib/static/illust/light/square_understand_concepts_use_liner.webp +0 -0
  139. package/lib/static/illust/light/square_university_01.webp +0 -0
  140. package/lib/static/illust/light/square_university_02.webp +0 -0
  141. package/lib/static/illust/light/square_working_01.webp +0 -0
  142. package/lib/static/illust/light/square_worried_01.webp +0 -0
  143. package/lib/static/illust/light/square_worried_02.webp +0 -0
  144. package/lib/static/illust/light/square_worried_03.webp +0 -0
  145. package/lib/static/illust/light/square_worried_04.webp +0 -0
  146. package/lib/static/illust/light/square_worried_05.webp +0 -0
  147. package/lib/static/illust/light/square_write_essay_use_liner.webp +0 -0
  148. package/lib/static/illust/light/square_writing.webp +0 -0
  149. package/lib/static/illust/light/square_writing_essay_mode.webp +0 -0
  150. package/lib/types/illust.d.ts +1 -0
  151. package/package.json +11 -7
@@ -0,0 +1 @@
1
+ export type IllustName = 'rectangle_cheerup_01' | 'rectangle_cheerup_02' | 'rectangle_searching' | 'rectangle_space_work' | 'rectangle_standing_with_a_star' | 'square_ai_writing_essay_mode' | 'square_bomb_timeout' | 'square_book_pencil_general_mode' | 'square_brain_deep_q_a' | 'square_bye_end_custom_ai' | 'square_careers_page_coffee' | 'square_careers_page_english' | 'square_careers_page_money' | 'square_careers_page_palm' | 'square_careers_page_shake_hands' | 'square_careers_page_tennis' | 'square_clap' | 'square_decoration_bulb' | 'square_decoration_hourglass' | 'square_decoration_star_01' | 'square_decoration_star_02' | 'square_decoration_star_03' | 'square_decoration_star_04' | 'square_decoration_star_05' | 'square_decoration_star_06' | 'square_decoration_star_07' | 'square_decoration_star_08' | 'square_decoration_star_09' | 'square_decoration_star_10' | 'square_decoration_star_11' | 'square_documents_reliable_citation' | 'square_documents_reliable_source' | 'square_empty_box_2' | 'square_empty_box_empty_page' | 'square_feather_pen' | 'square_find_man' | 'square_find_paper_use_liner' | 'square_folder_01' | 'square_folder_02' | 'square_free_ticket_welcome' | 'square_gift_welcome' | 'square_give_gift' | 'square_graduation_cap_pencil_scholar_mode' | 'square_holding_a_book_onboarding' | 'square_introduce' | 'square_introduce_pro' | 'square_lock_locked_thread' | 'square_magnifying_glass' | 'square_magnifying_glass_not_found' | 'square_make_profile_onboarding' | 'square_megaphone' | 'square_paper' | 'square_pencil_paper_empty_history' | 'square_pricing_page_airplane' | 'square_pricing_page_car' | 'square_pricing_page_flag' | 'square_pricing_page_rocket' | 'square_raining_error' | 'square_searching_01' | 'square_searching_02' | 'square_searching_03' | 'square_smoke_timeout' | 'square_time_out' | 'square_time_out_time_out_01' | 'square_time_out_time_out_02' | 'square_time_out_time_out_03' | 'square_time_out_time_out_04' | 'square_understand_concepts_use_liner' | 'square_university_01' | 'square_university_02' | 'square_working_01' | 'square_worried_01' | 'square_worried_02' | 'square_worried_03' | 'square_worried_04' | 'square_worried_05' | 'square_write_essay_use_liner' | 'square_writing' | 'square_writing_essay_mode';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@liner-fe/prism",
3
- "version": "2.1.4",
3
+ "version": "2.1.6",
4
4
  "packageManager": "yarn@3.6.0",
5
5
  "scripts": {
6
6
  "dev": "next dev",
@@ -9,9 +9,10 @@
9
9
  "storybook": "storybook dev -p 6006",
10
10
  "build-storybook": "storybook build",
11
11
  "appendCSS": "ts-node './scripts/index.ts'",
12
- "build": "bundler build --tsconfig ./tsconfig.build.json && tsc --project tsconfig.build.json && tsc-alias -p tsconfig.build.json",
12
+ "build": "ts-node ./scripts/clearFolder && 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
- "prepack": "yarn build"
14
+ "prepack": "yarn build",
15
+ "illust": "ts-node ./scripts/format-illust && find . -type d -empty -delete"
15
16
  },
16
17
  "dependencies": {
17
18
  "@artsy/fresnel": "^7.1.4",
@@ -35,11 +36,12 @@
35
36
  "recoil": "^0.5.2"
36
37
  },
37
38
  "peerDependencies": {
38
- "react": "*"
39
+ "next": "*",
40
+ "react": "*",
41
+ "recoil": "^0.5.2"
39
42
  },
40
43
  "devDependencies": {
41
44
  "@chromatic-com/storybook": "^1.5.0",
42
- "@liner-fe/bundler": "workspace:^",
43
45
  "@storybook/addon-designs": "^8.0.4",
44
46
  "@storybook/addon-essentials": "^8.4.2",
45
47
  "@storybook/addon-interactions": "^8.4.2",
@@ -57,6 +59,9 @@
57
59
  "@types/react-dom": "^18.2.5",
58
60
  "autoprefixer": "^10.4.14",
59
61
  "chromatic": "^11.5.3",
62
+ "esbuild": "^0.24.2",
63
+ "esbuild-node-externals": "^1.16.0",
64
+ "esbuild-sass-plugin": "^3.3.1",
60
65
  "next": ">=13.5.7",
61
66
  "postcss": "^8.4.24",
62
67
  "prettier": "^2.8.8",
@@ -73,9 +78,8 @@
73
78
  "access": "public",
74
79
  "main": "./lib/index.mjs"
75
80
  },
76
- "main": "./lib/index.cjs",
81
+ "main": "./lib/index.js",
77
82
  "types": "./lib/index.d.ts",
78
- "module": "./lib/index.mjs",
79
83
  "files": [
80
84
  "lib"
81
85
  ],