@liner-fe/prism 4.3.1 → 4.3.3

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/lib/index.css +51 -51
  2. package/lib/index.js +25 -25
  3. package/package.json +4 -4
package/lib/index.css CHANGED
@@ -3,7 +3,7 @@
3
3
  @import "@radix-ui/themes/layout/utilities.css";
4
4
 
5
5
  /* esbuild-sass-plugin:css-chunk:src/components/Button/style.module.scss */
6
- ._button_qblq6_1 {
6
+ ._button_63poc_1 {
7
7
  position: relative;
8
8
  display: flex;
9
9
  align-items: center;
@@ -18,172 +18,172 @@
18
18
  overflow: hidden;
19
19
  cursor: pointer;
20
20
  }
21
- ._button_qblq6_1:disabled:not(._loading-with-disabled_qblq6_16) {
21
+ ._button_63poc_1:disabled:not(._loading-with-disabled_63poc_16) {
22
22
  cursor: not-allowed;
23
23
  }
24
- ._button_qblq6_1:disabled._loading-with-disabled_qblq6_16 {
24
+ ._button_63poc_1:disabled._loading-with-disabled_63poc_16 {
25
25
  cursor: not-allowed;
26
26
  }
27
- ._primary_qblq6_23 {
27
+ ._primary_63poc_23 {
28
28
  color: var(--label-on-inverse-static-base);
29
29
  background: var(--control-fill-brand);
30
30
  }
31
- ._primary_qblq6_23:not(:disabled):hover {
31
+ ._primary_63poc_23:not(:disabled):hover {
32
32
  background: var(--control-fill-brand-hover);
33
33
  }
34
- ._primary_qblq6_23:disabled:not(._loading_qblq6_16) {
34
+ ._primary_63poc_23:disabled:not(._loading_63poc_16) {
35
35
  background: var(--control-fill-neutral-mid);
36
36
  color: var(--label-neutral-tertiary);
37
37
  }
38
- ._secondary_qblq6_35 {
38
+ ._secondary_63poc_35 {
39
39
  color: var(--label-brand-base);
40
40
  background: transparent;
41
- border: 1px solid var(--border-brand-strong);
41
+ border: 1px solid var(--border-brand-normal);
42
42
  }
43
- ._secondary_qblq6_35:not(:disabled):hover {
43
+ ._secondary_63poc_35:not(:disabled):hover {
44
44
  background: var(--control-fill-brand-faint-hover);
45
45
  }
46
- ._secondary_qblq6_35:disabled:not(._loading_qblq6_16) {
46
+ ._secondary_63poc_35:disabled:not(._loading_63poc_16) {
47
47
  border: 1px solid var(--border-neutral-alpha-normal);
48
48
  color: var(--label-neutral-tertiary);
49
49
  }
50
- ._tertiary_qblq6_48 {
50
+ ._tertiary_63poc_48 {
51
51
  color: var(--label-neutral-base);
52
52
  background: var(--surface-neutral-lowest);
53
53
  border: 1px solid var(--border-neutral-alpha-normal);
54
54
  }
55
- ._tertiary_qblq6_48:not(:disabled):hover {
55
+ ._tertiary_63poc_48:not(:disabled):hover {
56
56
  background: var(--surface-neutral-lowest-hover);
57
57
  }
58
- ._tertiary_qblq6_48:disabled:not(._loading_qblq6_16) {
58
+ ._tertiary_63poc_48:disabled:not(._loading_63poc_16) {
59
59
  color: var(--label-neutral-tertiary);
60
60
  }
61
- ._quaternary_qblq6_60 {
61
+ ._quaternary_63poc_60 {
62
62
  color: var(--label-neutral-base);
63
63
  background: var(--control-fill-neutral-lowest);
64
64
  }
65
- ._quaternary_qblq6_60:not(:disabled):hover {
65
+ ._quaternary_63poc_60:not(:disabled):hover {
66
66
  background: var(--control-fill-neutral-lowest-hover);
67
67
  }
68
- ._quaternary_qblq6_60:disabled:not(._loading_qblq6_16) {
68
+ ._quaternary_63poc_60:disabled:not(._loading_63poc_16) {
69
69
  background: var(--control-fill-neutral-mid);
70
70
  color: var(--label-neutral-tertiary);
71
71
  }
72
- ._quinary_qblq6_72 {
72
+ ._quinary_63poc_72 {
73
73
  color: var(--label-neutral-secondary);
74
- background: var(--surface-neutral-lowest);
74
+ background: var(--control-fill-neutral-lowest);
75
75
  }
76
- ._quinary_qblq6_72:not(:disabled):hover {
76
+ ._quinary_63poc_72:not(:disabled):hover {
77
77
  background: var(--control-fill-neutral-lowest-hover);
78
78
  }
79
- ._quinary_qblq6_72:disabled:not(._loading_qblq6_16) {
79
+ ._quinary_63poc_72:disabled:not(._loading_63poc_16) {
80
80
  background: none;
81
81
  color: var(--label-neutral-quaternary);
82
82
  }
83
- ._negative_qblq6_84 {
83
+ ._negative_63poc_84 {
84
84
  color: var(--label-on-inverse-static-base);
85
- background: var(--negative-strong);
85
+ background: var(--negative-base);
86
86
  }
87
- ._negative_qblq6_84:not(:disabled):hover {
87
+ ._negative_63poc_84:not(:disabled):hover {
88
88
  background: var(--negative-strong-hover);
89
89
  }
90
- ._negative_qblq6_84:disabled:not(._loading_qblq6_16) {
90
+ ._negative_63poc_84:disabled:not(._loading_63poc_16) {
91
91
  background: var(--control-fill-neutral-mid);
92
92
  color: var(--label-neutral-tertiary);
93
93
  }
94
- ._static_qblq6_96 {
94
+ ._static_63poc_96 {
95
95
  background: var(--surface-neutral-static-lowest);
96
96
  color: var(--label-neutral-static);
97
97
  }
98
- ._static_qblq6_96:not(:disabled):hover {
98
+ ._static_63poc_96:not(:disabled):hover {
99
99
  background: var(--surface-neutral-static-lowest-hover);
100
100
  }
101
- ._static_qblq6_96:disabled:not(._loading_qblq6_16) {
101
+ ._static_63poc_96:disabled:not(._loading_63poc_16) {
102
102
  background: var(--control-fill-neutral-mid);
103
103
  color: var(--label-neutral-tertiary);
104
104
  }
105
- ._inverse-static_qblq6_108 {
106
- background: transparent;
105
+ ._inverse-static_63poc_108 {
106
+ background: var(--surface-inverse-static-high);
107
107
  color: var(--label-on-inverse-static-base);
108
108
  }
109
- ._inverse-static_qblq6_108:not(:disabled):hover {
110
- background: var(--control-fill-neutral-lowest-hover);
109
+ ._inverse-static_63poc_108:not(:disabled):hover {
110
+ background: var(--surface-inverse-static-high-hover);
111
111
  }
112
- ._inverse-static_qblq6_108:disabled:not(._loading_qblq6_16) {
113
- background: var(--label-on-inverse-tertiary);
114
- color: var(--label-on-inverse-tertiary);
112
+ ._inverse-static_63poc_108:disabled:not(._loading_63poc_16) {
113
+ background: var(--control-fill-neutral-mid);
114
+ color: var(--label-neutral-tertiary);
115
115
  }
116
- ._cta_qblq6_120 {
116
+ ._cta_63poc_120 {
117
117
  border-radius: var(--lp-sys-radius-medium);
118
118
  width: fit-content;
119
119
  height: 48px;
120
120
  gap: 8px;
121
121
  min-width: 48px;
122
122
  }
123
- ._l_qblq6_16 {
123
+ ._l_63poc_16 {
124
124
  border-radius: var(--lp-sys-radius-small);
125
125
  width: fit-content;
126
126
  height: 40px;
127
127
  min-width: 40px;
128
128
  }
129
- ._m_qblq6_135 {
129
+ ._m_63poc_135 {
130
130
  border-radius: var(--lp-sys-radius-small);
131
131
  width: fit-content;
132
132
  height: 32px;
133
133
  min-width: 32px;
134
134
  }
135
- ._s_qblq6_35 {
135
+ ._s_63poc_35 {
136
136
  border-radius: var(--lp-sys-radius-extra-small);
137
137
  width: fit-content;
138
138
  height: 24px;
139
139
  min-width: 24px;
140
140
  }
141
- ._align-center_qblq6_149 > span {
141
+ ._align-center_63poc_149 > span {
142
142
  width: 100%;
143
143
  justify-content: center;
144
144
  }
145
- ._content_qblq6_154 {
145
+ ._content_63poc_154 {
146
146
  flex-shrink: 0;
147
147
  line-height: 0;
148
148
  }
149
- ._full_qblq6_159 {
149
+ ._full_63poc_159 {
150
150
  width: 100%;
151
151
  }
152
- ._fit-content_qblq6_163 {
152
+ ._fit-content_63poc_163 {
153
153
  width: fit-content;
154
154
  }
155
- ._children_qblq6_167 {
155
+ ._children_63poc_167 {
156
156
  position: relative;
157
157
  display: flex;
158
158
  align-items: center;
159
159
  justify-content: center;
160
160
  }
161
- ._cta-children_qblq6_174 {
161
+ ._cta-children_63poc_174 {
162
162
  padding: 0 var(--lp-sys-space-300);
163
163
  gap: var(--lp-sys-space-100);
164
164
  }
165
- ._cta-children_qblq6_174 ._content_qblq6_154 {
165
+ ._cta-children_63poc_174 ._content_63poc_154 {
166
166
  padding: 0px var(--lp-sys-space-100);
167
167
  }
168
- ._l-children_qblq6_182 {
168
+ ._l-children_63poc_182 {
169
169
  padding: 0 var(--lp-sys-space-200);
170
170
  gap: var(--lp-sys-space-50);
171
171
  }
172
- ._l-children_qblq6_182 ._content_qblq6_154 {
172
+ ._l-children_63poc_182 ._content_63poc_154 {
173
173
  padding: 0px var(--lp-sys-space-100);
174
174
  }
175
- ._m-children_qblq6_190 {
175
+ ._m-children_63poc_190 {
176
176
  padding: 0 var(--lp-sys-space-150);
177
177
  gap: var(--lp-sys-space-50);
178
178
  }
179
- ._m-children_qblq6_190 ._content_qblq6_154 {
179
+ ._m-children_63poc_190 ._content_63poc_154 {
180
180
  padding: 0px var(--lp-sys-space-100);
181
181
  }
182
- ._s-children_qblq6_198 {
182
+ ._s-children_63poc_198 {
183
183
  padding: 0 var(--lp-sys-space-100);
184
184
  gap: var(--lp-sys-space-50);
185
185
  }
186
- ._s-children_qblq6_198 ._content_qblq6_154 {
186
+ ._s-children_63poc_198 ._content_63poc_154 {
187
187
  padding: 0px var(--lp-sys-space-50);
188
188
  }
189
189
 
package/lib/index.js CHANGED
@@ -25,30 +25,30 @@ import {
25
25
 
26
26
  // src/components/Button/style.module.scss
27
27
  var style_module_default = {
28
- "button": "_button_qblq6_1",
29
- "loading-with-disabled": "_loading-with-disabled_qblq6_16",
30
- "primary": "_primary_qblq6_23",
31
- "loading": "_loading_qblq6_16",
32
- "secondary": "_secondary_qblq6_35",
33
- "tertiary": "_tertiary_qblq6_48",
34
- "quaternary": "_quaternary_qblq6_60",
35
- "quinary": "_quinary_qblq6_72",
36
- "negative": "_negative_qblq6_84",
37
- "static": "_static_qblq6_96",
38
- "inverse-static": "_inverse-static_qblq6_108",
39
- "cta": "_cta_qblq6_120",
40
- "l": "_l_qblq6_16",
41
- "m": "_m_qblq6_135",
42
- "s": "_s_qblq6_35",
43
- "align-center": "_align-center_qblq6_149",
44
- "content": "_content_qblq6_154",
45
- "full": "_full_qblq6_159",
46
- "fit-content": "_fit-content_qblq6_163",
47
- "children": "_children_qblq6_167",
48
- "cta-children": "_cta-children_qblq6_174",
49
- "l-children": "_l-children_qblq6_182",
50
- "m-children": "_m-children_qblq6_190",
51
- "s-children": "_s-children_qblq6_198"
28
+ "button": "_button_63poc_1",
29
+ "loading-with-disabled": "_loading-with-disabled_63poc_16",
30
+ "primary": "_primary_63poc_23",
31
+ "loading": "_loading_63poc_16",
32
+ "secondary": "_secondary_63poc_35",
33
+ "tertiary": "_tertiary_63poc_48",
34
+ "quaternary": "_quaternary_63poc_60",
35
+ "quinary": "_quinary_63poc_72",
36
+ "negative": "_negative_63poc_84",
37
+ "static": "_static_63poc_96",
38
+ "inverse-static": "_inverse-static_63poc_108",
39
+ "cta": "_cta_63poc_120",
40
+ "l": "_l_63poc_16",
41
+ "m": "_m_63poc_135",
42
+ "s": "_s_63poc_35",
43
+ "align-center": "_align-center_63poc_149",
44
+ "content": "_content_63poc_154",
45
+ "full": "_full_63poc_159",
46
+ "fit-content": "_fit-content_63poc_163",
47
+ "children": "_children_63poc_167",
48
+ "cta-children": "_cta-children_63poc_174",
49
+ "l-children": "_l-children_63poc_182",
50
+ "m-children": "_m-children_63poc_190",
51
+ "s-children": "_s-children_63poc_198"
52
52
  };
53
53
 
54
54
  // src/components/Button/index.tsx
@@ -198,7 +198,7 @@ var buttonDisabledIconTypeMap = {
198
198
  quinary: "label-neutral-quaternary",
199
199
  negative: "label-neutral-tertiary",
200
200
  static: "label-neutral-tertiary",
201
- "inverse-static": "label-on-inverse-tertiary"
201
+ "inverse-static": "label-neutral-tertiary"
202
202
  };
203
203
  var defaultButtonVariants = cva2({
204
204
  base: style_module_default.button,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@liner-fe/prism",
3
- "version": "4.3.1",
3
+ "version": "4.3.3",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "dependencies": {
@@ -21,9 +21,9 @@
21
21
  "react-dom": "^19.1.0",
22
22
  "sonner": "2.0.7",
23
23
  "vaul": "1.1.2",
24
- "@liner-fe/design-token": "^4.5.0",
25
- "@liner-fe/icon": "^2.2.2",
26
- "@liner-fe/design-token-primitive": "^1.5.0"
24
+ "@liner-fe/design-token-primitive": "^1.5.0",
25
+ "@liner-fe/icon": "^2.2.3",
26
+ "@liner-fe/design-token": "^4.5.0"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@chromatic-com/storybook": "^1.5.0",