@liner-fe/prism 1.1.18 → 1.1.20

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 (3) hide show
  1. package/index.css +138 -0
  2. package/lib/index.mjs +1 -0
  3. package/package.json +6 -4
package/index.css ADDED
@@ -0,0 +1,138 @@
1
+ /* index.css */
2
+ ._button_1jmfl_1 {
3
+ position: relative;
4
+ display: flex;
5
+ align-items: center;
6
+ justify-content: center;
7
+ border: none;
8
+ font-style: normal;
9
+ font-size: var(--lp-pri-font-size-16);
10
+ font-weight: var(--lp-pri-font-weight-700);
11
+ line-height: 130%;
12
+ overflow: hidden;
13
+ cursor: pointer;
14
+ }
15
+ ._button_1jmfl_1:disabled {
16
+ background: var(--neutral-container-mid);
17
+ color: var(--neutral-label-tertiary);
18
+ cursor: not-allowed;
19
+ }
20
+ ._default_1jmfl_20 {
21
+ color: var(--inverse-label-static-primary);
22
+ background: var(--lp-pri-achromatic-white);
23
+ }
24
+ ._text_1jmfl_25 {
25
+ background: none;
26
+ color: var(--inverse-label-static-primary);
27
+ font-size: var(--lp-pri-font-size-13);
28
+ font-weight: var(--lp-pri-font-weight-500);
29
+ }
30
+ ._text_1jmfl_25:not(:disabled):hover {
31
+ text-decoration: underline;
32
+ text-underline-offset: 0.2rem;
33
+ }
34
+ ._icon_1jmfl_36 {
35
+ background: none;
36
+ }
37
+ ._primary_1jmfl_40 {
38
+ background: #4058ff;
39
+ }
40
+ ._primary_1jmfl_40:not(:disabled):hover {
41
+ background: #3346cc;
42
+ }
43
+ ._secondary_1jmfl_47 {
44
+ background: var(--inverse-container-high);
45
+ }
46
+ ._secondary_1jmfl_47:not(:disabled):hover {
47
+ background: #121212;
48
+ }
49
+ ._tertiary_1jmfl_54 {
50
+ background: rgba(109, 109, 112, 0.0784313725);
51
+ color: var(--neutral-label-primary);
52
+ }
53
+ ._tertiary_1jmfl_54:not(:disabled):hover {
54
+ background: #ebebeb;
55
+ }
56
+ ._quaternary_1jmfl_62 {
57
+ color: var(--neutral-label-primary);
58
+ border: 1px solid var(--neutral-border-overlay-normal);
59
+ }
60
+ ._quaternary_1jmfl_62:not(:disabled):hover {
61
+ background: #f5f5f5;
62
+ }
63
+ ._quaternary_1jmfl_62:disabled {
64
+ background: var(--neutral-container-mid);
65
+ color: var(--neutral-label-tertiary);
66
+ opacity: 0.4;
67
+ }
68
+ ._quinary_1jmfl_75 {
69
+ color: rgba(109, 109, 112, 0.8);
70
+ }
71
+ ._quinary_1jmfl_75:not(:disabled):hover {
72
+ background: #f5f5f5;
73
+ }
74
+ ._quinary_1jmfl_75:disabled {
75
+ background: var(--neutral-container-mid);
76
+ color: var(--neutral-label-tertiary);
77
+ opacity: 0.4;
78
+ }
79
+ ._negative_1jmfl_87 {
80
+ background: var(--function-negative);
81
+ }
82
+ ._negative_1jmfl_87:not(:disabled):hover {
83
+ background: #af1b1c;
84
+ }
85
+ ._inverse_1jmfl_94 {
86
+ color: var(--neutral-label-primary);
87
+ }
88
+ ._inverse_1jmfl_94:not(:disabled):hover {
89
+ background: #f5f5f5;
90
+ }
91
+ ._cta_1jmfl_101 {
92
+ border-radius: 8px;
93
+ padding: 13.5px 12px;
94
+ font-size: var(--lp-pri-font-size-16);
95
+ min-width: 129px;
96
+ max-height: 48px;
97
+ }
98
+ ._l_1jmfl_109 {
99
+ border-radius: 6px;
100
+ padding: 10.5px 8px;
101
+ font-size: var(--lp-pri-font-size-15);
102
+ min-width: 107px;
103
+ max-height: 40px;
104
+ }
105
+ ._m_1jmfl_117 {
106
+ border-radius: 6px;
107
+ padding: 7px 6px;
108
+ font-size: var(--lp-pri-font-size-14);
109
+ font-weight: var(--lp-pri-font-weight-500);
110
+ min-width: 91px;
111
+ max-height: 32px;
112
+ }
113
+ ._s_1jmfl_47 {
114
+ border-radius: 6px;
115
+ padding: 3.5px 6px;
116
+ font-size: var(--lp-pri-font-size-13);
117
+ font-weight: var(--lp-pri-font-weight-500);
118
+ min-width: 89px;
119
+ max-height: 24px;
120
+ }
121
+ ._align-center_1jmfl_135 {
122
+ justify-content: center;
123
+ }
124
+ ._align-space-between_1jmfl_139 {
125
+ justify-content: space-between;
126
+ }
127
+ ._inverse-primary_1jmfl_143 {
128
+ color: var(--inverse-label-static-primary);
129
+ }
130
+ ._neutral-primary_1jmfl_147 {
131
+ color: rgba(109, 109, 112, 0.8);
132
+ opacity: 0.8;
133
+ }
134
+ ._inverse-static-primary_1jmfl_152 {
135
+ color: var(--inverse-label-static-primary);
136
+ }
137
+ /*! For license information please see index.css.LEGAL.txt */
138
+ /*# sourceMappingURL=index.css.map */
package/lib/index.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ import './index.css';
1
2
  var __defProp = Object.defineProperty;
2
3
  var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
3
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@liner-fe/prism",
3
- "version": "1.1.18",
3
+ "version": "1.1.20",
4
4
  "packageManager": "yarn@3.6.0",
5
5
  "scripts": {
6
6
  "dev": "next dev",
@@ -8,7 +8,8 @@
8
8
  "lint": "next lint",
9
9
  "storybook": "storybook dev -p 6006",
10
10
  "build-storybook": "storybook build",
11
- "build": "bundler build --tsconfig ./tsconfig.build.json && tsc --project tsconfig.build.json",
11
+ "appendCSS": "ts-node './scripts/index.ts'",
12
+ "build": "bundler build --tsconfig ./tsconfig.build.json && tsc --project tsconfig.build.json && yarn appendCSS",
12
13
  "build:package": "yarn build",
13
14
  "prepack": "yarn build"
14
15
  },
@@ -48,6 +49,7 @@
48
49
  "sass": "^1.77.6",
49
50
  "sass-loader": "^14.2.1",
50
51
  "storybook": "^8.1.7",
52
+ "ts-node": "^10.9.2",
51
53
  "typescript": "^5.1.6",
52
54
  "typescript-plugin-css-modules": "^5.1.0"
53
55
  },
@@ -63,12 +65,12 @@
63
65
  "import": "./lib/index.mjs",
64
66
  "require": "./lib/index.cjs"
65
67
  },
66
- "./index.css": "./index.css",
67
68
  "./package.json": "./package.json"
68
69
  },
69
70
  "files": [
70
71
  "lib",
71
- "src"
72
+ "src",
73
+ "index.css"
72
74
  ],
73
75
  "maintainers": [
74
76
  {