@nordcode/ui 2.0.3 → 2.0.5
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/.idea/copilot.data.migration.agent.xml +6 -0
- package/.idea/copilot.data.migration.ask.xml +6 -0
- package/.idea/copilot.data.migration.ask2agent.xml +6 -0
- package/.idea/copilot.data.migration.edit.xml +6 -0
- package/.idea/modules.xml +8 -0
- package/.idea/ui.iml +9 -0
- package/.idea/vcs.xml +6 -0
- package/CHANGELOG.md +12 -0
- package/out/bundle.css +17 -15
- package/out/bundle_configless.css +15 -3
- package/out/complete.css +18 -17
- package/out/complete_configless.css +16 -5
- package/package.json +1 -1
- package/src/styles/components/buttons.css +0 -1
- package/src/styles/components/inputs/base.css +1 -1
- package/src/styles/utils/reset.css +16 -3
package/.idea/ui.iml
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<module type="JAVA_MODULE" version="4">
|
|
3
|
+
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
|
4
|
+
<exclude-output />
|
|
5
|
+
<content url="file://$MODULE_DIR$" />
|
|
6
|
+
<orderEntry type="inheritedJdk" />
|
|
7
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
|
8
|
+
</component>
|
|
9
|
+
</module>
|
package/.idea/vcs.xml
ADDED
package/CHANGELOG.md
CHANGED
package/out/bundle.css
CHANGED
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
--shadow-near: .3px 1px 2px 0px color-mix(in oklch, var(--shadow-color), transparent 50%), .9px 3px 6px -1.33px color-mix(in oklch, var(--shadow-color), transparent 60.5%), 2.7px 9px 18px -2.67px color-mix(in oklch, var(--shadow-color), transparent 68.79%), 8.1px 27px 54px -4px color-mix(in oklch, var(--shadow-color), transparent 75.35%);
|
|
45
45
|
--shadow-medium: .3px 1px 2px 0px color-mix(in oklch, var(--shadow-color), transparent 50%), .9px 3px 6px -.8px color-mix(in oklch, var(--shadow-color), transparent 60.5%), 2.7px 9px 18px -1.6px color-mix(in oklch, var(--shadow-color), transparent 68.79%), 8.1px 27px 54px -2.4px color-mix(in oklch, var(--shadow-color), transparent 75.35%), 24.3px 81px 162px -3.2px color-mix(in oklch, var(--shadow-color), transparent 80.52%), 72.9px 243px 486px -4px color-mix(in oklch, var(--shadow-color), transparent 84.61%);
|
|
46
46
|
--shadow-far: .3px 1px 2px 0px color-mix(in oklch, var(--shadow-color), transparent 50%), .9px 3px 6px -.5px color-mix(in oklch, var(--shadow-color), transparent 60.5%), 2.7px 9px 18px -1px color-mix(in oklch, var(--shadow-color), transparent 68.79%), 8.1px 27px 54px -1.5px color-mix(in oklch, var(--shadow-color), transparent 75.35%), 24.3px 81px 162px -2px color-mix(in oklch, var(--shadow-color), transparent 80.52%), 72.9px 243px 486px -2.5px color-mix(in oklch, var(--shadow-color), transparent 84.61%), 218.7px 729px 1458px -3px color-mix(in oklch, var(--shadow-color), transparent 87.85%), 656.1px 2187px 4374px -3.5px color-mix(in oklch, var(--shadow-color), transparent 90.4%), 1968.3px 6561px 13122px -4px color-mix(in oklch, var(--shadow-color), transparent 92.41%);
|
|
47
|
-
--shadow-color-light:
|
|
47
|
+
--shadow-color-light: oklch(80% .03 265);
|
|
48
48
|
--shadow-color-light-lch: 80% .03 265;
|
|
49
|
-
--shadow-color-dark:
|
|
49
|
+
--shadow-color-dark: oklch(24% .05 265);
|
|
50
50
|
--shadow-color-dark-lch: 24% .05 265;
|
|
51
51
|
--lightness-max: .99;
|
|
52
52
|
--lightness-min: .03;
|
|
@@ -201,16 +201,6 @@
|
|
|
201
201
|
--color-status-info-contrast-lightness-dark: calc(var(--lightness-max) - ( var(--lightness-diff) * min(max((var(--l-status-info-dark) - var(--lightness-contrast-cutoff)) * 1000000, 0), 1)));
|
|
202
202
|
--color-status-info-contrast-dark: oklch(var(--color-status-info-contrast-lightness-dark) calc(var(--c-status-info) * .25) var(--h-status-info));
|
|
203
203
|
--color-status-info-hover-dark: oklch(var(--l-status-info-dark) var(--c-status-info) var(--h-status-info) / calc(var(--transparency-weaker) / 10));
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
@supports (color: lab(0% 0 0)) {
|
|
207
|
-
:where(html) {
|
|
208
|
-
--shadow-color-light: lab(76.6551% -.431716 -11.1996);
|
|
209
|
-
--shadow-color-dark: lab(11.4338% 2.08272 -17.8892);
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
:where(html) {
|
|
214
204
|
--control-height-base: var(--button-height-base);
|
|
215
205
|
--control-height-small: var(--button-height-small);
|
|
216
206
|
--font-family-link: var(--font-family-default);
|
|
@@ -352,6 +342,8 @@
|
|
|
352
342
|
font-kerning: normal;
|
|
353
343
|
-moz-osx-font-smoothing: grayscale;
|
|
354
344
|
-webkit-font-smoothing: antialiased;
|
|
345
|
+
hanging-punctuation: first allow-end last;
|
|
346
|
+
word-break: break-word;
|
|
355
347
|
}
|
|
356
348
|
|
|
357
349
|
:where(body) {
|
|
@@ -415,9 +407,19 @@
|
|
|
415
407
|
letter-spacing: inherit;
|
|
416
408
|
}
|
|
417
409
|
|
|
418
|
-
:where(html)
|
|
419
|
-
|
|
420
|
-
|
|
410
|
+
:where(html) {
|
|
411
|
+
overflow-y: scroll;
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
@supports (scrollbar-gutter: stable) {
|
|
415
|
+
:where(html) {
|
|
416
|
+
scrollbar-gutter: stable;
|
|
417
|
+
overflow-y: auto;
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
:where(pre) {
|
|
422
|
+
white-space: pre-wrap;
|
|
421
423
|
}
|
|
422
424
|
}
|
|
423
425
|
|
|
@@ -134,6 +134,8 @@
|
|
|
134
134
|
font-kerning: normal;
|
|
135
135
|
-moz-osx-font-smoothing: grayscale;
|
|
136
136
|
-webkit-font-smoothing: antialiased;
|
|
137
|
+
hanging-punctuation: first allow-end last;
|
|
138
|
+
word-break: break-word;
|
|
137
139
|
}
|
|
138
140
|
|
|
139
141
|
:where(body) {
|
|
@@ -197,9 +199,19 @@
|
|
|
197
199
|
letter-spacing: inherit;
|
|
198
200
|
}
|
|
199
201
|
|
|
200
|
-
:where(html)
|
|
201
|
-
|
|
202
|
-
|
|
202
|
+
:where(html) {
|
|
203
|
+
overflow-y: scroll;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
@supports (scrollbar-gutter: stable) {
|
|
207
|
+
:where(html) {
|
|
208
|
+
scrollbar-gutter: stable;
|
|
209
|
+
overflow-y: auto;
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
:where(pre) {
|
|
214
|
+
white-space: pre-wrap;
|
|
203
215
|
}
|
|
204
216
|
}
|
|
205
217
|
|
package/out/complete.css
CHANGED
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
--shadow-near: .3px 1px 2px 0px color-mix(in oklch, var(--shadow-color), transparent 50%), .9px 3px 6px -1.33px color-mix(in oklch, var(--shadow-color), transparent 60.5%), 2.7px 9px 18px -2.67px color-mix(in oklch, var(--shadow-color), transparent 68.79%), 8.1px 27px 54px -4px color-mix(in oklch, var(--shadow-color), transparent 75.35%);
|
|
45
45
|
--shadow-medium: .3px 1px 2px 0px color-mix(in oklch, var(--shadow-color), transparent 50%), .9px 3px 6px -.8px color-mix(in oklch, var(--shadow-color), transparent 60.5%), 2.7px 9px 18px -1.6px color-mix(in oklch, var(--shadow-color), transparent 68.79%), 8.1px 27px 54px -2.4px color-mix(in oklch, var(--shadow-color), transparent 75.35%), 24.3px 81px 162px -3.2px color-mix(in oklch, var(--shadow-color), transparent 80.52%), 72.9px 243px 486px -4px color-mix(in oklch, var(--shadow-color), transparent 84.61%);
|
|
46
46
|
--shadow-far: .3px 1px 2px 0px color-mix(in oklch, var(--shadow-color), transparent 50%), .9px 3px 6px -.5px color-mix(in oklch, var(--shadow-color), transparent 60.5%), 2.7px 9px 18px -1px color-mix(in oklch, var(--shadow-color), transparent 68.79%), 8.1px 27px 54px -1.5px color-mix(in oklch, var(--shadow-color), transparent 75.35%), 24.3px 81px 162px -2px color-mix(in oklch, var(--shadow-color), transparent 80.52%), 72.9px 243px 486px -2.5px color-mix(in oklch, var(--shadow-color), transparent 84.61%), 218.7px 729px 1458px -3px color-mix(in oklch, var(--shadow-color), transparent 87.85%), 656.1px 2187px 4374px -3.5px color-mix(in oklch, var(--shadow-color), transparent 90.4%), 1968.3px 6561px 13122px -4px color-mix(in oklch, var(--shadow-color), transparent 92.41%);
|
|
47
|
-
--shadow-color-light:
|
|
47
|
+
--shadow-color-light: oklch(80% .03 265);
|
|
48
48
|
--shadow-color-light-lch: 80% .03 265;
|
|
49
|
-
--shadow-color-dark:
|
|
49
|
+
--shadow-color-dark: oklch(24% .05 265);
|
|
50
50
|
--shadow-color-dark-lch: 24% .05 265;
|
|
51
51
|
--lightness-max: .99;
|
|
52
52
|
--lightness-min: .03;
|
|
@@ -201,16 +201,6 @@
|
|
|
201
201
|
--color-status-info-contrast-lightness-dark: calc(var(--lightness-max) - ( var(--lightness-diff) * min(max((var(--l-status-info-dark) - var(--lightness-contrast-cutoff)) * 1000000, 0), 1)));
|
|
202
202
|
--color-status-info-contrast-dark: oklch(var(--color-status-info-contrast-lightness-dark) calc(var(--c-status-info) * .25) var(--h-status-info));
|
|
203
203
|
--color-status-info-hover-dark: oklch(var(--l-status-info-dark) var(--c-status-info) var(--h-status-info) / calc(var(--transparency-weaker) / 10));
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
@supports (color: lab(0% 0 0)) {
|
|
207
|
-
:where(html) {
|
|
208
|
-
--shadow-color-light: lab(76.6551% -.431716 -11.1996);
|
|
209
|
-
--shadow-color-dark: lab(11.4338% 2.08272 -17.8892);
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
:where(html) {
|
|
214
204
|
--control-height-base: var(--button-height-base);
|
|
215
205
|
--control-height-small: var(--button-height-small);
|
|
216
206
|
--font-family-link: var(--font-family-default);
|
|
@@ -352,6 +342,8 @@
|
|
|
352
342
|
font-kerning: normal;
|
|
353
343
|
-moz-osx-font-smoothing: grayscale;
|
|
354
344
|
-webkit-font-smoothing: antialiased;
|
|
345
|
+
hanging-punctuation: first allow-end last;
|
|
346
|
+
word-break: break-word;
|
|
355
347
|
}
|
|
356
348
|
|
|
357
349
|
:where(body) {
|
|
@@ -415,9 +407,19 @@
|
|
|
415
407
|
letter-spacing: inherit;
|
|
416
408
|
}
|
|
417
409
|
|
|
418
|
-
:where(html)
|
|
419
|
-
|
|
420
|
-
|
|
410
|
+
:where(html) {
|
|
411
|
+
overflow-y: scroll;
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
@supports (scrollbar-gutter: stable) {
|
|
415
|
+
:where(html) {
|
|
416
|
+
scrollbar-gutter: stable;
|
|
417
|
+
overflow-y: auto;
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
:where(pre) {
|
|
422
|
+
white-space: pre-wrap;
|
|
421
423
|
}
|
|
422
424
|
}
|
|
423
425
|
|
|
@@ -1545,7 +1547,6 @@
|
|
|
1545
1547
|
box-shadow: var(--_button-box-shadow);
|
|
1546
1548
|
-webkit-user-select: none;
|
|
1547
1549
|
user-select: none;
|
|
1548
|
-
text-box: cap alphabetic;
|
|
1549
1550
|
-webkit-tap-highlight-color: transparent;
|
|
1550
1551
|
-webkit-touch-callout: none;
|
|
1551
1552
|
line-height: var(--line-height-base);
|
|
@@ -2191,7 +2192,7 @@
|
|
|
2191
2192
|
}
|
|
2192
2193
|
|
|
2193
2194
|
:where(textarea:not([class]), .nc-textarea) {
|
|
2194
|
-
min-block-size: calc(
|
|
2195
|
+
min-block-size: calc(8lh + 2 * var(--_input-padding-block));
|
|
2195
2196
|
max-block-size: 80svh;
|
|
2196
2197
|
min-inline-size: var(--input-inline-size, 100%);
|
|
2197
2198
|
max-inline-size: 100%;
|
|
@@ -134,6 +134,8 @@
|
|
|
134
134
|
font-kerning: normal;
|
|
135
135
|
-moz-osx-font-smoothing: grayscale;
|
|
136
136
|
-webkit-font-smoothing: antialiased;
|
|
137
|
+
hanging-punctuation: first allow-end last;
|
|
138
|
+
word-break: break-word;
|
|
137
139
|
}
|
|
138
140
|
|
|
139
141
|
:where(body) {
|
|
@@ -197,9 +199,19 @@
|
|
|
197
199
|
letter-spacing: inherit;
|
|
198
200
|
}
|
|
199
201
|
|
|
200
|
-
:where(html)
|
|
201
|
-
|
|
202
|
-
|
|
202
|
+
:where(html) {
|
|
203
|
+
overflow-y: scroll;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
@supports (scrollbar-gutter: stable) {
|
|
207
|
+
:where(html) {
|
|
208
|
+
scrollbar-gutter: stable;
|
|
209
|
+
overflow-y: auto;
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
:where(pre) {
|
|
214
|
+
white-space: pre-wrap;
|
|
203
215
|
}
|
|
204
216
|
}
|
|
205
217
|
|
|
@@ -1327,7 +1339,6 @@
|
|
|
1327
1339
|
box-shadow: var(--_button-box-shadow);
|
|
1328
1340
|
-webkit-user-select: none;
|
|
1329
1341
|
user-select: none;
|
|
1330
|
-
text-box: cap alphabetic;
|
|
1331
1342
|
-webkit-tap-highlight-color: transparent;
|
|
1332
1343
|
-webkit-touch-callout: none;
|
|
1333
1344
|
line-height: var(--line-height-base);
|
|
@@ -1973,7 +1984,7 @@
|
|
|
1973
1984
|
}
|
|
1974
1985
|
|
|
1975
1986
|
:where(textarea:not([class]), .nc-textarea) {
|
|
1976
|
-
min-block-size: calc(
|
|
1987
|
+
min-block-size: calc(8lh + 2 * var(--_input-padding-block));
|
|
1977
1988
|
max-block-size: 80svh;
|
|
1978
1989
|
min-inline-size: var(--input-inline-size, 100%);
|
|
1979
1990
|
max-inline-size: 100%;
|
package/package.json
CHANGED
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
}
|
|
138
138
|
|
|
139
139
|
:where(textarea:not([class]), .nc-textarea) {
|
|
140
|
-
min-block-size: calc(
|
|
140
|
+
min-block-size: calc(8lh + 2 * var(--_input-padding-block));
|
|
141
141
|
max-block-size: 80svh;
|
|
142
142
|
min-inline-size: var(--input-inline-size, 100%);
|
|
143
143
|
max-inline-size: 100%;
|
|
@@ -53,6 +53,9 @@
|
|
|
53
53
|
font-kerning: normal;
|
|
54
54
|
-moz-osx-font-smoothing: grayscale;
|
|
55
55
|
-webkit-font-smoothing: antialiased;
|
|
56
|
+
|
|
57
|
+
hanging-punctuation: first allow-end last;
|
|
58
|
+
word-break: break-word;
|
|
56
59
|
}
|
|
57
60
|
|
|
58
61
|
:where(body) {
|
|
@@ -141,8 +144,18 @@
|
|
|
141
144
|
letter-spacing: inherit;
|
|
142
145
|
}
|
|
143
146
|
|
|
144
|
-
:where(html)
|
|
145
|
-
|
|
146
|
-
|
|
147
|
+
:where(html) {
|
|
148
|
+
overflow-y: scroll;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
@supports (scrollbar-gutter: stable) {
|
|
152
|
+
:where(html) {
|
|
153
|
+
overflow-y: auto;
|
|
154
|
+
scrollbar-gutter: stable;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
:where(pre) {
|
|
159
|
+
white-space: pre-wrap;
|
|
147
160
|
}
|
|
148
161
|
}
|