@triptease/stylesheet 1.1.1 → 1.2.0

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/dist/base.css CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * @triptease/stylesheet v1.1.1
2
+ * @triptease/stylesheet v1.2.0
3
3
  */
4
4
  @import url('https://fonts.googleapis.com/css?family=Roboto:400,500') layer(base);
5
5
  @import url('https://fonts.googleapis.com/css?family=Inter:300,500,600,700') layer(base);
@@ -272,6 +272,72 @@ button {
272
272
  /* noinspection CssInvalidAtRule */
273
273
  @layer base{
274
274
 
275
+ @property --button-height {
276
+ syntax: '*';
277
+ inherits: true;
278
+ initial-value: max-content;
279
+ }
280
+
281
+ @property --button-vertical-spacing {
282
+ syntax: '<length>';
283
+ inherits: true;
284
+ initial-value: 0.5rem;
285
+ }
286
+
287
+ @property --button-horizontal-spacing {
288
+ syntax: '<length>';
289
+ inherits: true;
290
+ initial-value: 0.75rem;
291
+ }
292
+
293
+ @property --button-border {
294
+ syntax: '*';
295
+ inherits: true;
296
+ initial-value: none;
297
+ }
298
+
299
+ @property --button-background-color {
300
+ syntax: '<color>';
301
+ inherits: true;
302
+ initial-value: transparent;
303
+ }
304
+
305
+ @property --button-color {
306
+ syntax: '<color>';
307
+ inherits: true;
308
+ initial-value: #0D0C0D;
309
+ }
310
+
311
+ @property --button-hover-background-color {
312
+ syntax: '<color>';
313
+ inherits: true;
314
+ initial-value: transparent;
315
+ }
316
+
317
+ @property --button-hover-color {
318
+ syntax: '<color>';
319
+ inherits: true;
320
+ initial-value: #0D0C0D;
321
+ }
322
+
323
+ @property --button-focus-outline-color {
324
+ syntax: '<color>';
325
+ inherits: true;
326
+ initial-value: rgba(1, 150, 237, 0.24);
327
+ }
328
+
329
+ @property --spinner-color {
330
+ syntax: '<color>';
331
+ inherits: true;
332
+ initial-value: #5E43C2;
333
+ }
334
+
335
+ @property --color-border {
336
+ syntax: '<color>';
337
+ inherits: true;
338
+ initial-value: #C5C8CE;
339
+ }
340
+
275
341
  button,
276
342
  .button {
277
343
  -webkit-appearance: none;
@@ -540,6 +606,66 @@ button,
540
606
  }
541
607
  @layer base{
542
608
 
609
+ @property --checkbox-size {
610
+ syntax: '<length>';
611
+ inherits: true;
612
+ initial-value: 1rem;
613
+ }
614
+
615
+ @property --toggle-width {
616
+ syntax: '<length>';
617
+ inherits: true;
618
+ initial-value: 3.5rem;
619
+ }
620
+
621
+ @property --toggle-height {
622
+ syntax: '<length>';
623
+ inherits: true;
624
+ initial-value: 1.75rem;
625
+ }
626
+
627
+ @property --toggle-background-color {
628
+ syntax: '<color>';
629
+ inherits: true;
630
+ initial-value: #75767E;
631
+ }
632
+
633
+ @property --toggle-color {
634
+ syntax: '<color>';
635
+ inherits: true;
636
+ initial-value: #B5B0B5;
637
+ }
638
+
639
+ @property --toggle-transition-speed {
640
+ syntax: '<time>';
641
+ inherits: true;
642
+ initial-value: 0.25s;
643
+ }
644
+
645
+ @property --toggle-border-color {
646
+ syntax: '<color>';
647
+ inherits: true;
648
+ initial-value: transparent;
649
+ }
650
+
651
+ @property --toggle-border-width {
652
+ syntax: '<length>';
653
+ inherits: true;
654
+ initial-value: 0px;
655
+ }
656
+
657
+ @property --toggle-hover-color {
658
+ syntax: '<color>';
659
+ inherits: true;
660
+ initial-value: #575157;
661
+ }
662
+
663
+ @property --toggle-hover-background-color {
664
+ syntax: '<color>';
665
+ inherits: true;
666
+ initial-value: #1C1B27;
667
+ }
668
+
543
669
  input[type='checkbox'] {
544
670
  accent-color: var(--color-primary-400);
545
671
  width: var(--checkbox-size, var(--space-scale-2));
@@ -677,6 +803,19 @@ input[type='number']::-webkit-inner-spin-button {
677
803
  }
678
804
  }
679
805
  @layer base{
806
+
807
+ @property --radio-size {
808
+ syntax: '<length>';
809
+ inherits: true;
810
+ initial-value: 1rem;
811
+ }
812
+
813
+ @property --radio-accent-color {
814
+ syntax: '<color>';
815
+ inherits: true;
816
+ initial-value: #5E43C2;
817
+ }
818
+
680
819
  input[type='radio'] {
681
820
  --radio-size: var(--space-scale-2);
682
821
  --radio-accent-color: var(--color-primary-400);
@@ -724,11 +863,59 @@ input[type='radio'] {
724
863
  @layer base{
725
864
 
726
865
  @property --input-horizontal-spacing {
727
- syntax: '*';
866
+ syntax: '<length>';
728
867
  inherits: true;
729
868
  initial-value: 1rem;
730
869
  }
731
870
 
871
+ @property --input-background-color {
872
+ syntax: '<color>';
873
+ inherits: true;
874
+ initial-value: #FFFFFF;
875
+ }
876
+
877
+ @property --input-border-color {
878
+ syntax: '<color>';
879
+ inherits: true;
880
+ initial-value: #C5C8CE;
881
+ }
882
+
883
+ @property --input-border-width {
884
+ syntax: '<length>';
885
+ inherits: true;
886
+ initial-value: 1px;
887
+ }
888
+
889
+ @property --input-color {
890
+ syntax: '*';
891
+ inherits: true;
892
+ initial-value: inherit;
893
+ }
894
+
895
+ @property --input-height {
896
+ syntax: '<length>';
897
+ inherits: true;
898
+ initial-value: 2.5rem;
899
+ }
900
+
901
+ @property --input-vertical-spacing {
902
+ syntax: '<length>';
903
+ inherits: true;
904
+ initial-value: 0;
905
+ }
906
+
907
+ @property --placeholder-color {
908
+ syntax: '<color>';
909
+ inherits: true;
910
+ initial-value: #575157;
911
+ }
912
+
913
+ @property --input-focus-border-color {
914
+ syntax: '<color>';
915
+ inherits: true;
916
+ initial-value: #5E43C2;
917
+ }
918
+
732
919
  input:not([type='checkbox'], [type='radio']),
733
920
  textarea {
734
921
  -webkit-appearance: none;
package/dist/blocks.css CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * @triptease/stylesheet v1.1.1
2
+ * @triptease/stylesheet v1.2.0
3
3
  */
4
4
  /*
5
5
  Suppress "invalid at-rule" warnings: @import-glob is a build-time feature
@@ -70,6 +70,18 @@
70
70
 
71
71
  @layer blocks {
72
72
 
73
+ @property --card-padding {
74
+ syntax: '<length>';
75
+ inherits: true;
76
+ initial-value: 1.5rem;
77
+ }
78
+
79
+ @property --card-vertical-spacing {
80
+ syntax: '<length>';
81
+ inherits: true;
82
+ initial-value: 0.5rem;
83
+ }
84
+
73
85
  .card,
74
86
  .card-dataview {
75
87
  border-radius: var(--border-radius-100);
@@ -155,6 +167,19 @@ header[data-theme='top-nav'] {
155
167
  }
156
168
 
157
169
  @layer blocks {
170
+
171
+ @property --tag-background-color {
172
+ syntax: '<color>';
173
+ inherits: true;
174
+ initial-value: #FFFFFF;
175
+ }
176
+
177
+ @property --tag-color {
178
+ syntax: '<color>';
179
+ inherits: true;
180
+ initial-value: #0D0C0D;
181
+ }
182
+
158
183
  .status {
159
184
  --tag-background-color: var(--color-surface-100);
160
185
  --tag-color: var(--color-text-500);
@@ -1,5 +1,5 @@
1
1
  /*
2
- * @triptease/stylesheet v1.1.1
2
+ * @triptease/stylesheet v1.2.0
3
3
  */
4
4
  /*
5
5
  Suppress "invalid at-rule" warnings: @import-glob is a build-time feature
@@ -10,6 +10,12 @@
10
10
 
11
11
  @layer compositions {
12
12
 
13
+ @property --column-vertical-spacing {
14
+ syntax: '<length>';
15
+ inherits: true;
16
+ initial-value: 0.5rem;
17
+ }
18
+
13
19
  [class^='column'] {
14
20
  display: flex;
15
21
  flex-direction: column;
@@ -65,8 +71,8 @@
65
71
 
66
72
  @property --stack-vertical-spacing {
67
73
  syntax: '<length>';
68
- initial-value: var(--space-scale-1);
69
74
  inherits: false;
75
+ initial-value: 0.5rem;
70
76
  }
71
77
 
72
78
  [class^='stack'] > * + * {
@@ -1,5 +1,5 @@
1
1
  /*
2
- * @triptease/stylesheet v1.1.1
2
+ * @triptease/stylesheet v1.2.0
3
3
  */
4
4
  /*
5
5
  Suppress "invalid at-rule" warnings: @import-glob is a build-time feature
@@ -1,5 +1,5 @@
1
1
  /*
2
- * @triptease/stylesheet v1.1.1
2
+ * @triptease/stylesheet v1.2.0
3
3
  */
4
4
  @import url('https://fonts.googleapis.com/css?family=Roboto:400,500') layer(base);
5
5
  @import url('https://fonts.googleapis.com/css?family=Inter:300,500,600,700') layer(base);
@@ -272,6 +272,72 @@ button {
272
272
  /* noinspection CssInvalidAtRule */
273
273
  @layer base{
274
274
 
275
+ @property --button-height {
276
+ syntax: '*';
277
+ inherits: true;
278
+ initial-value: max-content;
279
+ }
280
+
281
+ @property --button-vertical-spacing {
282
+ syntax: '<length>';
283
+ inherits: true;
284
+ initial-value: 0.5rem;
285
+ }
286
+
287
+ @property --button-horizontal-spacing {
288
+ syntax: '<length>';
289
+ inherits: true;
290
+ initial-value: 0.75rem;
291
+ }
292
+
293
+ @property --button-border {
294
+ syntax: '*';
295
+ inherits: true;
296
+ initial-value: none;
297
+ }
298
+
299
+ @property --button-background-color {
300
+ syntax: '<color>';
301
+ inherits: true;
302
+ initial-value: transparent;
303
+ }
304
+
305
+ @property --button-color {
306
+ syntax: '<color>';
307
+ inherits: true;
308
+ initial-value: #0D0C0D;
309
+ }
310
+
311
+ @property --button-hover-background-color {
312
+ syntax: '<color>';
313
+ inherits: true;
314
+ initial-value: transparent;
315
+ }
316
+
317
+ @property --button-hover-color {
318
+ syntax: '<color>';
319
+ inherits: true;
320
+ initial-value: #0D0C0D;
321
+ }
322
+
323
+ @property --button-focus-outline-color {
324
+ syntax: '<color>';
325
+ inherits: true;
326
+ initial-value: rgba(1, 150, 237, 0.24);
327
+ }
328
+
329
+ @property --spinner-color {
330
+ syntax: '<color>';
331
+ inherits: true;
332
+ initial-value: #5E43C2;
333
+ }
334
+
335
+ @property --color-border {
336
+ syntax: '<color>';
337
+ inherits: true;
338
+ initial-value: #C5C8CE;
339
+ }
340
+
275
341
  button,
276
342
  .button {
277
343
  -webkit-appearance: none;
@@ -540,6 +606,66 @@ button,
540
606
  }
541
607
  @layer base{
542
608
 
609
+ @property --checkbox-size {
610
+ syntax: '<length>';
611
+ inherits: true;
612
+ initial-value: 1rem;
613
+ }
614
+
615
+ @property --toggle-width {
616
+ syntax: '<length>';
617
+ inherits: true;
618
+ initial-value: 3.5rem;
619
+ }
620
+
621
+ @property --toggle-height {
622
+ syntax: '<length>';
623
+ inherits: true;
624
+ initial-value: 1.75rem;
625
+ }
626
+
627
+ @property --toggle-background-color {
628
+ syntax: '<color>';
629
+ inherits: true;
630
+ initial-value: #75767E;
631
+ }
632
+
633
+ @property --toggle-color {
634
+ syntax: '<color>';
635
+ inherits: true;
636
+ initial-value: #B5B0B5;
637
+ }
638
+
639
+ @property --toggle-transition-speed {
640
+ syntax: '<time>';
641
+ inherits: true;
642
+ initial-value: 0.25s;
643
+ }
644
+
645
+ @property --toggle-border-color {
646
+ syntax: '<color>';
647
+ inherits: true;
648
+ initial-value: transparent;
649
+ }
650
+
651
+ @property --toggle-border-width {
652
+ syntax: '<length>';
653
+ inherits: true;
654
+ initial-value: 0px;
655
+ }
656
+
657
+ @property --toggle-hover-color {
658
+ syntax: '<color>';
659
+ inherits: true;
660
+ initial-value: #575157;
661
+ }
662
+
663
+ @property --toggle-hover-background-color {
664
+ syntax: '<color>';
665
+ inherits: true;
666
+ initial-value: #1C1B27;
667
+ }
668
+
543
669
  input[type='checkbox'] {
544
670
  accent-color: var(--color-primary-400);
545
671
  width: var(--checkbox-size, var(--space-scale-2));
@@ -677,6 +803,19 @@ input[type='number']::-webkit-inner-spin-button {
677
803
  }
678
804
  }
679
805
  @layer base{
806
+
807
+ @property --radio-size {
808
+ syntax: '<length>';
809
+ inherits: true;
810
+ initial-value: 1rem;
811
+ }
812
+
813
+ @property --radio-accent-color {
814
+ syntax: '<color>';
815
+ inherits: true;
816
+ initial-value: #5E43C2;
817
+ }
818
+
680
819
  input[type='radio'] {
681
820
  --radio-size: var(--space-scale-2);
682
821
  --radio-accent-color: var(--color-primary-400);
@@ -724,11 +863,59 @@ input[type='radio'] {
724
863
  @layer base{
725
864
 
726
865
  @property --input-horizontal-spacing {
727
- syntax: '*';
866
+ syntax: '<length>';
728
867
  inherits: true;
729
868
  initial-value: 1rem;
730
869
  }
731
870
 
871
+ @property --input-background-color {
872
+ syntax: '<color>';
873
+ inherits: true;
874
+ initial-value: #FFFFFF;
875
+ }
876
+
877
+ @property --input-border-color {
878
+ syntax: '<color>';
879
+ inherits: true;
880
+ initial-value: #C5C8CE;
881
+ }
882
+
883
+ @property --input-border-width {
884
+ syntax: '<length>';
885
+ inherits: true;
886
+ initial-value: 1px;
887
+ }
888
+
889
+ @property --input-color {
890
+ syntax: '*';
891
+ inherits: true;
892
+ initial-value: inherit;
893
+ }
894
+
895
+ @property --input-height {
896
+ syntax: '<length>';
897
+ inherits: true;
898
+ initial-value: 2.5rem;
899
+ }
900
+
901
+ @property --input-vertical-spacing {
902
+ syntax: '<length>';
903
+ inherits: true;
904
+ initial-value: 0;
905
+ }
906
+
907
+ @property --placeholder-color {
908
+ syntax: '<color>';
909
+ inherits: true;
910
+ initial-value: #575157;
911
+ }
912
+
913
+ @property --input-focus-border-color {
914
+ syntax: '<color>';
915
+ inherits: true;
916
+ initial-value: #5E43C2;
917
+ }
918
+
732
919
  input:not([type='checkbox'], [type='radio']),
733
920
  textarea {
734
921
  -webkit-appearance: none;
@@ -925,6 +1112,18 @@ body {
925
1112
  }
926
1113
  @layer blocks{
927
1114
 
1115
+ @property --card-padding {
1116
+ syntax: '<length>';
1117
+ inherits: true;
1118
+ initial-value: 1.5rem;
1119
+ }
1120
+
1121
+ @property --card-vertical-spacing {
1122
+ syntax: '<length>';
1123
+ inherits: true;
1124
+ initial-value: 0.5rem;
1125
+ }
1126
+
928
1127
  .card,
929
1128
  .card-dataview {
930
1129
  border-radius: var(--border-radius-100);
@@ -1008,6 +1207,19 @@ header[data-theme='top-nav'] {
1008
1207
  }
1009
1208
  }
1010
1209
  @layer blocks{
1210
+
1211
+ @property --tag-background-color {
1212
+ syntax: '<color>';
1213
+ inherits: true;
1214
+ initial-value: #FFFFFF;
1215
+ }
1216
+
1217
+ @property --tag-color {
1218
+ syntax: '<color>';
1219
+ inherits: true;
1220
+ initial-value: #0D0C0D;
1221
+ }
1222
+
1011
1223
  .status {
1012
1224
  --tag-background-color: var(--color-surface-100);
1013
1225
  --tag-color: var(--color-text-500);
@@ -1068,6 +1280,12 @@ tfoot {
1068
1280
  /* noinspection CssInvalidAtRule */
1069
1281
  @layer compositions{
1070
1282
 
1283
+ @property --column-vertical-spacing {
1284
+ syntax: '<length>';
1285
+ inherits: true;
1286
+ initial-value: 0.5rem;
1287
+ }
1288
+
1071
1289
  [class^='column'] {
1072
1290
  display: flex;
1073
1291
  flex-direction: column;
@@ -1122,8 +1340,8 @@ tfoot {
1122
1340
 
1123
1341
  @property --stack-vertical-spacing {
1124
1342
  syntax: '<length>';
1125
- initial-value: var(--space-scale-1);
1126
1343
  inherits: false;
1344
+ initial-value: 0.5rem;
1127
1345
  }
1128
1346
 
1129
1347
  [class^='stack'] > * + * {
@@ -1,5 +1,5 @@
1
1
  /*
2
- * @triptease/stylesheet v1.1.1
2
+ * @triptease/stylesheet v1.2.0
3
3
  */
4
4
  /*
5
5
  Suppress "invalid at-rule" warnings: @import-glob is a build-time feature
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@triptease/stylesheet",
3
- "version": "1.1.1",
3
+ "version": "1.2.0",
4
4
  "description": "The stylesheet for the Triptease design system",
5
5
  "main": "dist/triptease.css",
6
6
  "type": "module",
@@ -12,6 +12,7 @@
12
12
  ".": "./dist/triptease.css"
13
13
  },
14
14
  "devDependencies": {
15
+ "@csstools/postcss-design-tokens": "^4.0.5",
15
16
  "autoprefixer": "^10.4.20",
16
17
  "concurrently": "^9.1.0",
17
18
  "lit": "^3.3.0",