@liner-fe/prism 1.6.11 → 1.6.12

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.
@@ -1,6 +1,6 @@
1
1
  import { ButtonHTMLAttributes } from 'react';
2
2
  import { VariantProps } from 'class-variance-authority';
3
- import { IconKey } from '@/type';
3
+ import { IconKey } from '@/utils/icon';
4
4
  declare const defaultButtonVariants: (props?: ({
5
5
  level?: "primary" | "secondary" | "tertiary" | "quaternary" | "error" | "inverse" | null | undefined;
6
6
  fill?: "solid" | "ghost" | null | undefined;
@@ -1,5 +1,6 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
- import { IconKey, IconMapType } from '@/type';
2
+ import { IconKey } from '@/utils/icon';
3
+ import { IconMapType } from '@/type';
3
4
  declare const iconSizeMap: {
4
5
  readonly xs: 16;
5
6
  readonly s: 20;
package/lib/index.mjs CHANGED
@@ -158,6 +158,34 @@ var ICLinerVariation = /* @__PURE__ */ __name((props) => {
158
158
 
159
159
  // src/assets/person-fill.tsx
160
160
  import { jsx as jsx5, jsxs as jsxs4 } from "react/jsx-runtime";
161
+ var ICPersonFill = /* @__PURE__ */ __name((props) => {
162
+ const { thick = false, fill = false, size = 32, color = "#1E1E1F" } = props;
163
+ if (fill && thick) {
164
+ return /* @__PURE__ */ jsxs4("svg", { ...props, width: size, height: size, viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
165
+ /* @__PURE__ */ jsx5(
166
+ "path",
167
+ {
168
+ d: "M44 24C44 35.0457 35.0457 44 24 44C12.9543 44 4 35.0457 4 24C4 21.6624 4.40103 19.4185 5.13804 17.3333C7.88361 9.56538 15.2919 4 24 4C32.7081 4 40.1164 9.56538 42.862 17.3333C43.599 19.4185 44 21.6624 44 24Z",
169
+ fill: color
170
+ }
171
+ ),
172
+ /* @__PURE__ */ jsx5(
173
+ "path",
174
+ {
175
+ d: "M24 23.5C27.0376 23.5 29.5 21.0376 29.5 18C29.5 14.9624 27.0376 12.5 24 12.5C20.9624 12.5 18.5 14.9624 18.5 18C18.5 21.0376 20.9624 23.5 24 23.5Z",
176
+ fill: "white"
177
+ }
178
+ ),
179
+ /* @__PURE__ */ jsx5(
180
+ "path",
181
+ {
182
+ d: "M11 38V39.1992C14.4961 42.1922 19.0369 44 24 44C28.9631 44 33.5039 42.1922 37 39.1992V38C37 31.9249 32.0751 27 26 27H22C15.9249 27 11 31.9249 11 38Z",
183
+ fill: "white"
184
+ }
185
+ )
186
+ ] });
187
+ }
188
+ }, "ICPersonFill");
161
189
 
162
190
  // src/assets/history.tsx
163
191
  import { jsx as jsx6, jsxs as jsxs5 } from "react/jsx-runtime";
@@ -1072,6 +1100,51 @@ var ICArrowRight = /* @__PURE__ */ __name((props) => {
1072
1100
 
1073
1101
  // src/assets/step.tsx
1074
1102
  import { jsx as jsx34, jsxs as jsxs22 } from "react/jsx-runtime";
1103
+ var ICStep = /* @__PURE__ */ __name((props) => {
1104
+ const { thick = false, fill = false, size = 32, color = "#1E1E1F" } = props;
1105
+ if (thick) {
1106
+ return /* @__PURE__ */ jsxs22("svg", { ...props, width: size, height: size, viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
1107
+ /* @__PURE__ */ jsx34(
1108
+ "path",
1109
+ {
1110
+ "fill-rule": "evenodd",
1111
+ "clip-rule": "evenodd",
1112
+ d: "M22.8654 14.6163C23.2221 8.92215 19.9812 1.8611 14.084 1.78885C8.06671 1.71513 4.9647 6.96132 4.33886 13.9625C3.91046 18.7548 5.17618 24.4113 8.05642 27.5034C7.96404 29.3709 8.50755 31.3685 8.96795 33.0606C10.0244 36.9432 13.9048 39.2679 17.6352 38.2529C21.3656 37.238 23.5332 33.2677 22.4768 29.385C22.0083 27.663 21.4537 25.6245 20.3922 24.0495C20.8192 23.1808 21.1881 22.2612 21.5019 21.326C22.2359 19.1392 22.6688 16.8673 22.8391 14.9626C22.8493 14.8478 22.8581 14.7323 22.8654 14.6163ZM12.0681 28.4634L17.4239 26.8878C17.8669 27.7717 18.2109 28.9422 18.6172 30.4352C19.1336 32.3331 18.0397 33.9975 16.585 34.3932C15.1304 34.789 13.344 33.9084 12.8276 32.0104C12.4386 30.5806 12.1486 29.432 12.0681 28.4634ZM8.32297 14.3186C7.96052 18.3732 9.104 22.6274 10.8665 24.6474L16.4483 23.0053L16.8024 22.285C17.9624 19.9249 18.6447 16.959 18.855 14.6065C19.0407 12.5284 18.5238 10.0884 17.4582 8.267C16.4101 6.4754 15.1987 5.80281 14.035 5.78855C12.3979 5.7685 11.3017 6.38607 10.4088 7.59676C9.39334 8.97371 8.59872 11.2339 8.32297 14.3186Z",
1113
+ fill: color
1114
+ }
1115
+ ),
1116
+ /* @__PURE__ */ jsx34(
1117
+ "path",
1118
+ {
1119
+ "fill-rule": "evenodd",
1120
+ "clip-rule": "evenodd",
1121
+ d: "M27.9966 32.0495C26.9352 33.6245 26.3805 35.663 25.912 37.385C24.8556 41.2677 27.0233 45.238 30.7536 46.2529C34.484 47.2679 38.3645 44.9432 39.4209 41.0605C39.8813 39.3684 40.4248 37.3709 40.3324 35.5034C43.2127 32.4113 44.4784 26.7548 44.05 21.9625C43.4241 14.9613 40.3221 9.71513 34.3048 9.78885C30.7968 9.83183 28.2287 12.3479 26.7988 15.5781C25.9156 17.5733 25.4665 19.841 25.4984 21.9667C25.5034 22.3028 25.5205 22.6353 25.5497 22.9626C25.7928 25.6818 26.5712 29.1494 27.9966 32.0495ZM31.7806 30.68L37.7078 32.4237C39.3642 30.3252 40.4154 26.2291 40.0659 22.3186C39.7901 19.2339 38.9955 16.9737 37.98 15.5968C37.0871 14.3861 35.9909 13.7685 34.3538 13.7886C33.1902 13.8028 31.9787 14.4754 30.9306 16.267C29.865 18.0884 29.3481 20.5284 29.5339 22.6065C29.7442 24.959 30.4264 27.9249 31.5865 30.285L31.7806 30.68ZM36.338 36.1902L31.0922 34.647C30.5858 35.5552 30.216 36.8023 29.7717 38.4352C29.2553 40.3332 30.3491 41.9975 31.8038 42.3932C33.2585 42.789 35.0448 41.9084 35.5612 40.0104C35.9875 38.4437 36.2948 37.2148 36.338 36.1902Z",
1122
+ fill: color
1123
+ }
1124
+ )
1125
+ ] });
1126
+ }
1127
+ return /* @__PURE__ */ jsxs22("svg", { ...props, width: size, height: size, viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
1128
+ /* @__PURE__ */ jsx34(
1129
+ "path",
1130
+ {
1131
+ "fill-rule": "evenodd",
1132
+ "clip-rule": "evenodd",
1133
+ d: "M20.3922 24.0495C21.8176 21.1494 22.596 17.6818 22.8391 14.9626C23.3531 9.2128 20.1014 1.86258 14.084 1.78885C8.06671 1.71513 4.9647 6.96132 4.33886 13.9625C3.91046 18.7548 5.17618 24.4113 8.05642 27.5034C7.96404 29.3709 8.50755 31.3685 8.96795 33.0606C10.0244 36.9432 13.9048 39.2679 17.6352 38.2529C21.3656 37.238 23.5332 33.2677 22.4768 29.385C22.0083 27.663 21.4537 25.6245 20.3922 24.0495ZM11.0524 28.241L18.1636 26.149C18.7498 27.1978 19.1463 28.5711 19.5821 30.1726C20.2335 32.5668 18.8712 34.8076 16.8476 35.3582C14.824 35.9088 12.5141 34.6671 11.8627 32.273C11.4469 30.7447 11.104 29.4109 11.0524 28.241ZM7.32694 14.2296C6.9469 18.481 8.12976 23.0955 10.173 25.3726L17.4515 23.2314L17.6998 22.7262C18.9262 20.231 19.6325 17.1397 19.851 14.6955C20.0546 12.4182 19.4957 9.76951 18.3214 7.76205C17.1601 5.77698 15.6722 4.80854 14.0473 4.78863C12.0673 4.76437 10.6752 5.55083 9.60404 7.00322C8.44094 8.5803 7.61198 11.0409 7.32694 14.2296Z",
1134
+ fill: color
1135
+ }
1136
+ ),
1137
+ /* @__PURE__ */ jsx34(
1138
+ "path",
1139
+ {
1140
+ "fill-rule": "evenodd",
1141
+ "clip-rule": "evenodd",
1142
+ d: "M27.9966 32.0495C26.9352 33.6245 26.3805 35.663 25.912 37.385C24.8556 41.2677 27.0233 45.238 30.7536 46.2529C34.484 47.2679 38.3645 44.9432 39.4209 41.0605C39.8813 39.3684 40.4248 37.3709 40.3324 35.5034C43.2127 32.4113 44.4784 26.7548 44.05 21.9625C43.4241 14.9613 40.3221 9.71513 34.3048 9.78885C28.2875 9.86258 25.0358 17.2128 25.5497 22.9626C25.7928 25.6818 26.5712 29.1494 27.9966 32.0495ZM30.985 31.3283L38.3671 33.1979C40.3171 30.8656 41.4325 26.375 41.0619 22.2296C40.7768 19.0409 39.9479 16.5803 38.7848 15.0032C37.7136 13.5508 36.3216 12.7644 34.3415 12.7886C32.7166 12.8085 31.2288 13.777 30.0675 15.762C28.8931 17.7695 28.3343 20.4182 28.5378 22.6955C28.7563 25.1397 29.4626 28.231 30.689 30.7261L30.985 31.3283ZM37.3425 36.0332L30.1858 34.2206C29.6211 35.26 29.2327 36.6072 28.8067 38.1726C28.1553 40.5668 29.5177 42.8076 31.5413 43.3582C33.5648 43.9088 35.8747 42.6671 36.5261 40.273C36.9667 38.6535 37.3255 37.2523 37.3425 36.0332Z",
1143
+ fill: color
1144
+ }
1145
+ )
1146
+ ] });
1147
+ }, "ICStep");
1075
1148
 
1076
1149
  // src/assets/chart-bar.tsx
1077
1150
  import { jsx as jsx35, jsxs as jsxs23 } from "react/jsx-runtime";
@@ -3002,12 +3075,13 @@ var ICThumbDown = /* @__PURE__ */ __name((props) => {
3002
3075
  ) });
3003
3076
  }, "ICThumbDown");
3004
3077
 
3005
- // src/utils/icon.tsx
3078
+ // src/utils/icon.ts
3006
3079
  var iconMap = {
3007
3080
  "close-fill": ICCloseFill,
3008
3081
  more: ICMore,
3009
3082
  liner: ICLiner,
3010
3083
  "liner-variation": ICLinerVariation,
3084
+ "person-fill": ICPersonFill,
3011
3085
  history: ICHistory,
3012
3086
  start: ICStart,
3013
3087
  end: ICEnd,
@@ -3036,6 +3110,7 @@ var iconMap = {
3036
3110
  menu: ICMenu,
3037
3111
  "document-warning": ICDocumentWarning,
3038
3112
  "arrow-right": ICArrowRight,
3113
+ step: ICStep,
3039
3114
  "chart-bar": ICChartBar,
3040
3115
  "chart-line-uptrend": ICChartLineUptrend,
3041
3116
  folder: ICFolder,
@@ -3058,13 +3133,13 @@ var iconMap = {
3058
3133
  stack: ICStack,
3059
3134
  summarize: ICSummarize,
3060
3135
  memo: ICMemo,
3061
- highlighter: ICHighlighter,
3062
- creditcard: ICCreditcard,
3063
3136
  speaker: ICSpeaker,
3064
- light: ICLight,
3065
3137
  "document-add": ICDocumentAdd,
3138
+ highlighter: ICHighlighter,
3066
3139
  "thumb-up": ICThumbUp,
3067
- "thumb-down": ICThumbDown
3140
+ "thumb-down": ICThumbDown,
3141
+ light: ICLight,
3142
+ creditcard: ICCreditcard
3068
3143
  };
3069
3144
 
3070
3145
  // src/components/Icon/index.tsx
@@ -3136,9 +3211,9 @@ var defaultButtonVariants = cva2([style_module_default.button, style_module_defa
3136
3211
  },
3137
3212
  size: {
3138
3213
  cta: [style_module_default.cta, "lp-sys-typo-paragraph2-normal-bold"],
3139
- l: [style_module_default.l, "lp-sys-typo-paragraph3-normal-medium"],
3140
- m: [style_module_default.m, "lp-sys-typo-paragraph4-normal-regular"],
3141
- s: [style_module_default.s, "lp-sys-typo-caption1-normal-regular"]
3214
+ l: [style_module_default.l, "lp-sys-typo-paragraph3-normal-bold"],
3215
+ m: [style_module_default.m, "lp-sys-typo-paragraph4-normal-medium"],
3216
+ s: [style_module_default.s, "lp-sys-typo-caption1-normal-medium"]
3142
3217
  },
3143
3218
  width: {
3144
3219
  full: style_module_default.full,