@liner-fe/design-library 1.1.2 → 1.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.js CHANGED
@@ -5,7 +5,7 @@ import clsx from 'clsx';
5
5
  import { twMerge } from 'tailwind-merge';
6
6
  import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
7
7
 
8
- // src/template-dialog.tsx
8
+ // src/template-dialog/index.tsx
9
9
  var tw = (...args) => twMerge(clsx(args));
10
10
  var TemplateDialog = ({
11
11
  open = false,
@@ -45,7 +45,7 @@ var TemplateDialog = ({
45
45
  TemplateDialog.Close = ({ onClose }) => /* @__PURE__ */ jsx(
46
46
  IconButton,
47
47
  {
48
- icon: { icon: IconClose },
48
+ icon: { icon: IconClose, type: "neutral-label-secondary" },
49
49
  size: "m",
50
50
  level: "tertiary",
51
51
  fill: false,
@@ -126,7 +126,7 @@ var TemplateIllustDialog = ({
126
126
  TemplateIllustDialog.Close = ({ onClose }) => /* @__PURE__ */ jsx(
127
127
  IconButton,
128
128
  {
129
- icon: { icon: IconClose },
129
+ icon: { icon: IconClose, type: "neutral-label-secondary" },
130
130
  size: "m",
131
131
  level: "tertiary",
132
132
  fill: false,
@@ -162,7 +162,7 @@ TemplateIllustDialog.Description = ({
162
162
  type: "normal",
163
163
  weight: "regular",
164
164
  size: 4,
165
- className: tw("mt-component-200 pb-component-100 text-neutral-label-primary/90!", className),
165
+ className: tw("mt-component-200 pb-component-100 text-neutral-label-secondary", className),
166
166
  children
167
167
  }
168
168
  ) });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@liner-fe/design-library",
3
- "version": "1.1.2",
3
+ "version": "1.2.2",
4
4
  "type": "module",
5
5
  "dependencies": {
6
6
  "@tailwindcss/vite": "^4.1.14",
@@ -10,9 +10,9 @@
10
10
  "react-dom": "18.2.0",
11
11
  "tailwind-merge": "^3.3.1",
12
12
  "tailwindcss": "^4.1.14",
13
- "@liner-fe/design-token": "^2.5.33",
14
- "@liner-fe/icon": "^0.2.32",
15
- "@liner-fe/prism": "^2.9.41"
13
+ "@liner-fe/design-token": "^2.5.34",
14
+ "@liner-fe/icon": "^0.2.36",
15
+ "@liner-fe/prism": "^2.9.42"
16
16
  },
17
17
  "devDependencies": {
18
18
  "@chromatic-com/storybook": "^4.1.1",
@@ -58,8 +58,7 @@
58
58
  "preview": "vite preview",
59
59
  "storybook": "storybook dev -p 6006",
60
60
  "build-storybook": "storybook build",
61
- "build": "pnpm tsup --config ./tsup.config.ts && pnpm copy-tailwind",
62
- "build:package": "pnpm build",
63
- "copy-tailwind": "tailwindcss -c tailwind.config.js -i src/index.css -o lib/index.css --minify"
61
+ "build": "pnpm tsup --config ./tsup.config.ts",
62
+ "build:package": "pnpm build"
64
63
  }
65
64
  }
package/lib/index.css DELETED
@@ -1,2 +0,0 @@
1
- /*! tailwindcss v4.1.15 | MIT License | https://tailwindcss.com */
2
- @layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.top-1\/2{top:50%}.top-\[16px\]{top:16px}.right-\[16px\]{right:16px}.left-1\/2{left:50%}.z-\[1000\]{z-index:1000}.flex{display:flex}.w-\[400px\]{width:400px}.w-fit\!{width:fit-content!important}.w-full{width:100%}.w-full\!{width:100%!important}.-translate-x-1\/2{--tw-translate-x:calc(calc(1/2*100%)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1/2*100%)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.flex-col{flex-direction:column}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.rounded-\[16px\]{border-radius:16px}.shadow-\[0_1px_8px_0_rgba\(0\,0\,0\,0\.06\)\,0_2px_12px_0_rgba\(0\,0\,0\,0\.08\)\,0_0_1px_0_rgba\(0\,0\,0\,0\.06\)\]{--tw-shadow:0 1px 8px 0 var(--tw-shadow-color,#0000000f),0 2px 12px 0 var(--tw-shadow-color,#00000014),0 0 1px 0 var(--tw-shadow-color,#0000000f);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}