@rescui/typography 0.24.5-RUI-280-Update-select-component-downshift-2f40ef205.67 → 0.25.1-RUI-291-Update-next-js-to-the-latest-version-8f54dec0a.66

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.
@@ -105,7 +105,10 @@
105
105
  );
106
106
 
107
107
  @media screen and (max-width: 640px){
108
- --_rs-typography-digits-1-sm-font-size:var(--rs-digits-2-font-size, 40px);
108
+ --_rs-typography-digits-1-sm-font-size:var(
109
+ --rs-digits-2-font-size,
110
+ 40px
111
+ );
109
112
  --_rs-typography-digits-1-sm-line-height:var(
110
113
  --rs-digits-2-line-height,
111
114
  44px
@@ -114,7 +117,10 @@
114
117
  }
115
118
  }
116
119
  @define-mixin rs-typography-digits-1-sm{
117
- --_rs-typography-digits-1-sm-font-size:var(--rs-digits-2-font-size, 40px);
120
+ --_rs-typography-digits-1-sm-font-size:var(
121
+ --rs-digits-2-font-size,
122
+ 40px
123
+ );
118
124
  --_rs-typography-digits-1-sm-line-height:var(
119
125
  --rs-digits-2-line-height,
120
126
  44px
@@ -692,6 +698,67 @@
692
698
  32px
693
699
  );
694
700
  }
701
+ @define-mixin rs-typography-h3-plus{
702
+ --_rs-typography-letter-spacing:var(--rs-h3-plus-letter-spacing, normal);
703
+ --_rs-typography-text-transform:initial;
704
+ --_rs-typography-font-variant-numeric:initial;
705
+ --_rs-typography-font-family:var(
706
+ --rs-font-family-ui,
707
+ var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
708
+ BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
709
+ 'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
710
+ );
711
+ --_rs-typography-font-size:var(
712
+ --_rs-typography-h3-plus-sm-font-size,
713
+ var(--rs-h3-plus-font-size, 28px)
714
+ );
715
+ --_rs-typography-font-weight:var(
716
+ --rs-font-weight-semi-bold,
717
+ 600
718
+ );
719
+ --_rs-typography-line-height:var(
720
+ --_rs-typography-h3-plus-sm-line-height,
721
+ var(--rs-h3-plus-line-height, 34px)
722
+ );
723
+ --_rs-typography-base-color:var(
724
+ --_rs-typography-heading-hardness-color,
725
+ var(
726
+ --rs-color-hard,
727
+ rgb(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227))
728
+ )
729
+ );
730
+ --_rs-typography-text-auto-offset:0;
731
+
732
+ --_rs-typography-ul-bullet-offset:initial;
733
+ --_rs-typography-list-li-compact-left-offset:initial;
734
+ --_rs-typography-list-li-default-left-offset:initial;
735
+ --_rs-typography-list-li-margin-top-from-text:initial;
736
+
737
+ --_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
738
+ --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
739
+ --_rs-typography-link-border-bottom-width-from-text:2px;
740
+
741
+ @media screen and (max-width: 640px){
742
+ --_rs-typography-h3-plus-sm-font-size:var(
743
+ --rs-h3-font-size,
744
+ 20px
745
+ );
746
+ --_rs-typography-h3-plus-sm-line-height:var(
747
+ --rs-h3-line-height,
748
+ 28px
749
+ );
750
+ }
751
+ }
752
+ @define-mixin rs-typography-h3-plus-sm{
753
+ --_rs-typography-h3-plus-sm-font-size:var(
754
+ --rs-h3-font-size,
755
+ 20px
756
+ );
757
+ --_rs-typography-h3-plus-sm-line-height:var(
758
+ --rs-h3-line-height,
759
+ 28px
760
+ );
761
+ }
695
762
  @define-mixin rs-typography-h3{
696
763
  --_rs-typography-letter-spacing:var(--rs-h3-letter-spacing, normal);
697
764
  --_rs-typography-text-transform:initial;
@@ -1095,7 +1162,7 @@
1095
1162
  --_rs-typography-link-after-offset-left:0em;
1096
1163
  --_rs-typography-link-hover-after-offset-right:0em;
1097
1164
  --_rs-typography-link-hover-after-offset-left:0em;
1098
- --_rs-typography-link-transition:background-size 300ms, color 300ms;
1165
+ --_rs-typography-link-transition:background-size 300ms var(--rs-transition-function, ease), color 300ms var(--rs-transition-function, ease);
1099
1166
  }
1100
1167
  @define-mixin rs-typography-link-mode-standalone{
1101
1168
  --_rs-typography-link-standalone-border-offset:var(
@@ -1575,7 +1642,7 @@
1575
1642
 
1576
1643
  content:var(--_rs-typography-link-after-content-or-initial, '\2192');
1577
1644
 
1578
- transition:margin-right 300ms, margin-left 300ms;
1645
+ transition:margin-right 300ms var(--rs-transition-function, ease), margin-left 300ms var(--rs-transition-function, ease);
1579
1646
  font-feature-settings:'ss20' 1;
1580
1647
  }
1581
1648
 
@@ -1640,7 +1707,10 @@
1640
1707
  3px
1641
1708
  );
1642
1709
  @media screen and (max-width: 640px){
1643
- --_rs-typography-digits-1-sm-font-size:var(--rs-digits-2-font-size, 40px);
1710
+ --_rs-typography-digits-1-sm-font-size:var(
1711
+ --rs-digits-2-font-size,
1712
+ 40px
1713
+ );
1644
1714
  --_rs-typography-digits-1-sm-line-height:var(
1645
1715
  --rs-digits-2-line-height,
1646
1716
  44px
@@ -2123,6 +2193,73 @@
2123
2193
  font-feature-settings:'kern', 'liga', 'calt';
2124
2194
  color:var(--_rs-typography-base-color);
2125
2195
  }
2196
+ @define-mixin rs-typography-h3-plus-full{
2197
+ --_rs-typography-letter-spacing:var(--rs-h3-plus-letter-spacing, normal);
2198
+ --_rs-typography-text-transform:initial;
2199
+ --_rs-typography-font-variant-numeric:initial;
2200
+ --_rs-typography-font-family:var(
2201
+ --rs-font-family-ui,
2202
+ var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
2203
+ BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
2204
+ 'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
2205
+ );
2206
+ --_rs-typography-font-size:var(
2207
+ --_rs-typography-h3-plus-sm-font-size,
2208
+ var(--rs-h3-plus-font-size, 28px)
2209
+ );
2210
+ --_rs-typography-font-weight:var(
2211
+ --rs-font-weight-semi-bold,
2212
+ 600
2213
+ );
2214
+ --_rs-typography-line-height:var(
2215
+ --_rs-typography-h3-plus-sm-line-height,
2216
+ var(--rs-h3-plus-line-height, 34px)
2217
+ );
2218
+ --_rs-typography-base-color:var(
2219
+ --_rs-typography-heading-hardness-color,
2220
+ var(
2221
+ --rs-color-hard,
2222
+ rgb(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227))
2223
+ )
2224
+ );
2225
+ --_rs-typography-text-auto-offset:0;
2226
+ --_rs-typography-ul-bullet-offset:initial;
2227
+ --_rs-typography-list-li-compact-left-offset:initial;
2228
+ --_rs-typography-list-li-default-left-offset:initial;
2229
+ --_rs-typography-list-li-margin-top-from-text:initial;
2230
+ --_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
2231
+ --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
2232
+ --_rs-typography-link-border-bottom-width-from-text:2px;
2233
+ @media screen and (max-width: 640px){
2234
+ --_rs-typography-h3-plus-sm-font-size:var(
2235
+ --rs-h3-font-size,
2236
+ 20px
2237
+ );
2238
+ --_rs-typography-h3-plus-sm-line-height:var(
2239
+ --rs-h3-line-height,
2240
+ 28px
2241
+ );
2242
+ }
2243
+ --_rs-theme-dark:var(
2244
+ --_rs-internal-force-theme-dark-consult-rescui-before-using,
2245
+ var(--rs-theme-dark, 0)
2246
+ );
2247
+ --_rs-theme-flip:var(--rs-theme-flip, 0);
2248
+ --_rs-theme-dark-coefficient:calc(var(--_rs-theme-dark)*(1 - var(--_rs-theme-flip)) + var(--_rs-theme-flip)*(1 - var(--_rs-theme-dark)));
2249
+ --_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
2250
+ letter-spacing:var(
2251
+ --rs-text-base-letter-spacing,
2252
+ var(--_rs-typography-letter-spacing)
2253
+ );
2254
+ text-transform:var(--_rs-typography-text-transform);
2255
+ font-family:var(--_rs-typography-font-family);
2256
+ font-size:var(--_rs-typography-font-size);
2257
+ font-weight:var(--_rs-typography-font-weight);
2258
+ line-height:var(--_rs-typography-line-height);
2259
+ font-variant-numeric:var(--_rs-typography-font-variant-numeric);
2260
+ font-feature-settings:'kern', 'liga', 'calt';
2261
+ color:var(--_rs-typography-base-color);
2262
+ }
2126
2263
  @define-mixin rs-typography-h3-full{
2127
2264
  --_rs-typography-letter-spacing:var(--rs-h3-letter-spacing, normal);
2128
2265
  --_rs-typography-text-transform:initial;
@@ -3044,7 +3181,7 @@
3044
3181
 
3045
3182
  content:var(--_rs-typography-link-after-content-or-initial, '\2192');
3046
3183
 
3047
- transition:margin-right 300ms, margin-left 300ms;
3184
+ transition:margin-right 300ms var(--rs-transition-function, ease), margin-left 300ms var(--rs-transition-function, ease);
3048
3185
  font-feature-settings:'ss20' 1;
3049
3186
  }
3050
3187
  &:focus[data-focus-method='key']{
@@ -3097,7 +3234,10 @@
3097
3234
  }
3098
3235
  @media screen and (max-width: 640px){
3099
3236
  &:not(html){
3100
- --_rs-typography-digits-1-sm-font-size:var(--rs-digits-2-font-size, 40px);
3237
+ --_rs-typography-digits-1-sm-font-size:var(
3238
+ --rs-digits-2-font-size,
3239
+ 40px
3240
+ );
3101
3241
  --_rs-typography-digits-1-sm-line-height:var(
3102
3242
  --rs-digits-2-line-height,
3103
3243
  44px
@@ -3576,6 +3716,58 @@
3576
3716
  }
3577
3717
  }
3578
3718
  }
3719
+ @define-mixin rs-text-cn-h3-plus{
3720
+ &:not(html){
3721
+ --_rs-typography-letter-spacing:var(--rs-h3-plus-letter-spacing, normal);
3722
+ --_rs-typography-text-transform:initial;
3723
+ --_rs-typography-font-variant-numeric:initial;
3724
+ --_rs-typography-font-family:var(
3725
+ --rs-font-family-ui,
3726
+ var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
3727
+ BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
3728
+ 'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
3729
+ );
3730
+ --_rs-typography-font-size:var(
3731
+ --_rs-typography-h3-plus-sm-font-size,
3732
+ var(--rs-h3-plus-font-size, 28px)
3733
+ );
3734
+ --_rs-typography-font-weight:var(
3735
+ --rs-font-weight-semi-bold,
3736
+ 600
3737
+ );
3738
+ --_rs-typography-line-height:var(
3739
+ --_rs-typography-h3-plus-sm-line-height,
3740
+ var(--rs-h3-plus-line-height, 34px)
3741
+ );
3742
+ --_rs-typography-base-color:var(
3743
+ --_rs-typography-heading-hardness-color,
3744
+ var(
3745
+ --rs-color-hard,
3746
+ rgb(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227))
3747
+ )
3748
+ );
3749
+ --_rs-typography-text-auto-offset:0;
3750
+ --_rs-typography-ul-bullet-offset:initial;
3751
+ --_rs-typography-list-li-compact-left-offset:initial;
3752
+ --_rs-typography-list-li-default-left-offset:initial;
3753
+ --_rs-typography-list-li-margin-top-from-text:initial;
3754
+ --_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
3755
+ --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
3756
+ --_rs-typography-link-border-bottom-width-from-text:2px;
3757
+ }
3758
+ @media screen and (max-width: 640px){
3759
+ &:not(html){
3760
+ --_rs-typography-h3-plus-sm-font-size:var(
3761
+ --rs-h3-font-size,
3762
+ 20px
3763
+ );
3764
+ --_rs-typography-h3-plus-sm-line-height:var(
3765
+ --rs-h3-line-height,
3766
+ 28px
3767
+ );
3768
+ }
3769
+ }
3770
+ }
3579
3771
  @define-mixin rs-text-cn-h3{
3580
3772
  &:not(html){
3581
3773
  --_rs-typography-letter-spacing:var(--rs-h3-letter-spacing, normal);
@@ -4041,7 +4233,7 @@
4041
4233
  --_rs-typography-link-after-offset-left:0em;
4042
4234
  --_rs-typography-link-hover-after-offset-right:0em;
4043
4235
  --_rs-typography-link-hover-after-offset-left:0em;
4044
- --_rs-typography-link-transition:background-size 300ms, color 300ms;
4236
+ --_rs-typography-link-transition:background-size 300ms var(--rs-transition-function, ease), color 300ms var(--rs-transition-function, ease);
4045
4237
  }
4046
4238
  }
4047
4239
  @define-mixin rs-text-cn-link-mode-standalone{
@@ -4161,7 +4353,10 @@
4161
4353
  }
4162
4354
  }
4163
4355
  @define-mixin rs-typography-sm{
4164
- --_rs-typography-digits-1-sm-font-size:var(--rs-digits-2-font-size, 40px);
4356
+ --_rs-typography-digits-1-sm-font-size:var(
4357
+ --rs-digits-2-font-size,
4358
+ 40px
4359
+ );
4165
4360
  --_rs-typography-digits-1-sm-line-height:var(
4166
4361
  --rs-digits-2-line-height,
4167
4362
  44px
@@ -4226,6 +4421,14 @@
4226
4421
  --rs-h2-line-height-mobile,
4227
4422
  32px
4228
4423
  );
4424
+ --_rs-typography-h3-plus-sm-font-size:var(
4425
+ --rs-h3-font-size,
4426
+ 20px
4427
+ );
4428
+ --_rs-typography-h3-plus-sm-line-height:var(
4429
+ --rs-h3-line-height,
4430
+ 28px
4431
+ );
4229
4432
  --_rs-typography-subtitle-1-sm-font-size:var(
4230
4433
  --rs-subtitle-2-font-size-mobile,
4231
4434
  23px
@@ -1,15 +1,15 @@
1
- /**
2
- * noop. Exists for the previous versions. If you used it, please consult RescUI team to migrate
3
- * @param el
4
- */
5
- export declare function typographyLight(el: HTMLElement): void;
6
- /**
7
- * noop. Exists for the previous versions. If you used it, please consult RescUI team to migrate
8
- * @param el
9
- */
10
- export declare function typographyDark(el: HTMLElement): void;
11
- /**
12
- * noop. Exists for the previous versions. If you used it, please consult RescUI team to migrate
13
- * @param el
14
- */
15
- export declare function resetTypographyColorVariables(el: HTMLElement): void;
1
+ /**
2
+ * noop. Exists for the previous versions. If you used it, please consult RescUI team to migrate
3
+ * @param el
4
+ */
5
+ export declare function typographyLight(el: HTMLElement): void;
6
+ /**
7
+ * noop. Exists for the previous versions. If you used it, please consult RescUI team to migrate
8
+ * @param el
9
+ */
10
+ export declare function typographyDark(el: HTMLElement): void;
11
+ /**
12
+ * noop. Exists for the previous versions. If you used it, please consult RescUI team to migrate
13
+ * @param el
14
+ */
15
+ export declare function resetTypographyColorVariables(el: HTMLElement): void;
@@ -1,20 +1,20 @@
1
1
  /* eslint-disable @typescript-eslint/no-empty-function,@typescript-eslint/no-unused-vars */
2
2
 
3
- /**
4
- * noop. Exists for the previous versions. If you used it, please consult RescUI team to migrate
5
- * @param el
3
+ /**
4
+ * noop. Exists for the previous versions. If you used it, please consult RescUI team to migrate
5
+ * @param el
6
6
  */
7
7
  function typographyLight(el) {}
8
- /**
9
- * noop. Exists for the previous versions. If you used it, please consult RescUI team to migrate
10
- * @param el
8
+ /**
9
+ * noop. Exists for the previous versions. If you used it, please consult RescUI team to migrate
10
+ * @param el
11
11
  */
12
12
 
13
13
 
14
14
  function typographyDark(el) {}
15
- /**
16
- * noop. Exists for the previous versions. If you used it, please consult RescUI team to migrate
17
- * @param el
15
+ /**
16
+ * noop. Exists for the previous versions. If you used it, please consult RescUI team to migrate
17
+ * @param el
18
18
  */
19
19
 
20
20
 
@@ -1,9 +1,9 @@
1
- export declare const useTextStyles: () => {
2
- <T extends import("./create-text-cn").Texts | import("./create-text-cn").SubtitlesAndDigits | "rs-link" | "rs-ol" | "rs-ul" | import("./create-text-cn").Others>(type: T, params?: import("./create-text-cn").TypeToParams[T]): string;
3
- (type: import("./create-text-cn").Texts, params?: import("./create-text-cn").TextsParams): string;
4
- (type: import("./create-text-cn").SubtitlesAndDigits, params?: import("./create-text-cn").SubtitlesAndDigitsParams): string;
5
- (type: "rs-link", params?: import("./create-text-cn").LinkParams): string;
6
- (type: "rs-ol", params?: import("./create-text-cn").OrderedListParams): string;
7
- (type: "rs-ul", params?: import("./create-text-cn").UnorderedListParams): string;
8
- (type: import("./create-text-cn").Others): string;
9
- };
1
+ export declare const useTextStyles: () => {
2
+ <T extends keyof import("./create-text-cn").TypeToParams>(type: T, params?: import("./create-text-cn").TypeToParams[T]): string;
3
+ (type: import("./create-text-cn").Texts, params?: import("./create-text-cn").TextsParams): string;
4
+ (type: import("./create-text-cn").SubtitlesAndDigits, params?: import("./create-text-cn").SubtitlesAndDigitsParams): string;
5
+ (type: import("./create-text-cn").Link, params?: import("./create-text-cn").LinkParams): string;
6
+ (type: import("./create-text-cn").OrderedList, params?: import("./create-text-cn").OrderedListParams): string;
7
+ (type: import("./create-text-cn").UnorderedList, params?: import("./create-text-cn").UnorderedListParams): string;
8
+ (type: import("./create-text-cn").Others): string;
9
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rescui/typography",
3
- "version": "0.24.5-RUI-280-Update-select-component-downshift-2f40ef205.67+2f40ef205",
3
+ "version": "0.25.1-RUI-291-Update-next-js-to-the-latest-version-8f54dec0a.66+8f54dec0a",
4
4
  "description": "",
5
5
  "license": "Apache-2.0",
6
6
  "author": "JetBrains",
@@ -20,7 +20,7 @@
20
20
  },
21
21
  "dependencies": {
22
22
  "@babel/runtime-corejs3": "^7.26.0",
23
- "@rescui/colors": "0.3.1-RUI-280-Update-select-component-downshift-2f40ef205.67+2f40ef205",
23
+ "@rescui/colors": "0.3.1-RUI-291-Update-next-js-to-the-latest-version-8f54dec0a.79+8f54dec0a",
24
24
  "classnames": "^2.2.6",
25
25
  "inter-ui": "^3.15.1"
26
26
  },
@@ -44,5 +44,5 @@
44
44
  "build-mixins": "rescui-scripts build-pcss-api --file mixins.p.css"
45
45
  },
46
46
  "nx": {},
47
- "gitHead": "2f40ef205f94c200019ec963e3fd0ca47fe1cdcb"
47
+ "gitHead": "8f54dec0a450da30835485cba2edfd0037cccd25"
48
48
  }