@homlista-devs/ui 1.1.0 → 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/index.css CHANGED
@@ -36,6 +36,8 @@
36
36
  --text-3xl--line-height: calc(2.25 / 1.875);
37
37
  --text-4xl: 2.25rem;
38
38
  --text-4xl--line-height: calc(2.5 / 2.25);
39
+ --text-5xl: 3rem;
40
+ --text-5xl--line-height: 1;
39
41
  --font-weight-light: 300;
40
42
  --font-weight-normal: 400;
41
43
  --font-weight-medium: 500;
@@ -315,6 +317,9 @@
315
317
  .right-0 {
316
318
  right: calc(var(--spacing) * 0);
317
319
  }
320
+ .right-3 {
321
+ right: calc(var(--spacing) * 3);
322
+ }
318
323
  .right-4 {
319
324
  right: calc(var(--spacing) * 4);
320
325
  }
@@ -327,6 +332,9 @@
327
332
  .left-1\/2 {
328
333
  left: calc(1/2 * 100%);
329
334
  }
335
+ .left-3 {
336
+ left: calc(var(--spacing) * 3);
337
+ }
330
338
  .left-4 {
331
339
  left: calc(var(--spacing) * 4);
332
340
  }
@@ -372,15 +380,27 @@
372
380
  .mx-auto {
373
381
  margin-inline: auto;
374
382
  }
383
+ .mt-1\.5 {
384
+ margin-top: calc(var(--spacing) * 1.5);
385
+ }
375
386
  .mt-4 {
376
387
  margin-top: calc(var(--spacing) * 4);
377
388
  }
389
+ .mt-6 {
390
+ margin-top: calc(var(--spacing) * 6);
391
+ }
378
392
  .mt-auto {
379
393
  margin-top: auto;
380
394
  }
381
395
  .mr-1\.5 {
382
396
  margin-right: calc(var(--spacing) * 1.5);
383
397
  }
398
+ .mb-1 {
399
+ margin-bottom: calc(var(--spacing) * 1);
400
+ }
401
+ .mb-1\.5 {
402
+ margin-bottom: calc(var(--spacing) * 1.5);
403
+ }
384
404
  .mb-2 {
385
405
  margin-bottom: calc(var(--spacing) * 2);
386
406
  }
@@ -420,6 +440,9 @@
420
440
  .inline {
421
441
  display: inline;
422
442
  }
443
+ .inline-block {
444
+ display: inline-block;
445
+ }
423
446
  .inline-flex {
424
447
  display: inline-flex;
425
448
  }
@@ -584,6 +607,11 @@
584
607
  .cursor-pointer {
585
608
  cursor: pointer;
586
609
  }
610
+ .appearance-none {
611
+ -webkit-appearance: none;
612
+ -moz-appearance: none;
613
+ appearance: none;
614
+ }
587
615
  .grid-cols-1 {
588
616
  grid-template-columns: repeat(1, minmax(0, 1fr));
589
617
  }
@@ -596,6 +624,15 @@
596
624
  .flex-col {
597
625
  flex-direction: column;
598
626
  }
627
+ .flex-col-reverse {
628
+ flex-direction: column-reverse;
629
+ }
630
+ .flex-row {
631
+ flex-direction: row;
632
+ }
633
+ .flex-row-reverse {
634
+ flex-direction: row-reverse;
635
+ }
599
636
  .flex-wrap {
600
637
  flex-wrap: wrap;
601
638
  }
@@ -632,6 +669,13 @@
632
669
  .gap-8 {
633
670
  gap: calc(var(--spacing) * 8);
634
671
  }
672
+ .space-y-1 {
673
+ :where(& > :not(:last-child)) {
674
+ --tw-space-y-reverse: 0;
675
+ margin-block-start: calc(calc(var(--spacing) * 1) * var(--tw-space-y-reverse));
676
+ margin-block-end: calc(calc(var(--spacing) * 1) * calc(1 - var(--tw-space-y-reverse)));
677
+ }
678
+ }
635
679
  .space-y-1\.5 {
636
680
  :where(& > :not(:last-child)) {
637
681
  --tw-space-y-reverse: 0;
@@ -746,6 +790,9 @@
746
790
  border-color: color-mix(in oklab, var(--color-border) 20%, transparent);
747
791
  }
748
792
  }
793
+ .border-destructive {
794
+ border-color: var(--color-destructive);
795
+ }
749
796
  .border-error {
750
797
  border-color: var(--color-error);
751
798
  }
@@ -930,6 +977,9 @@
930
977
  .pr-3 {
931
978
  padding-right: calc(var(--spacing) * 3);
932
979
  }
980
+ .pr-10 {
981
+ padding-right: calc(var(--spacing) * 10);
982
+ }
933
983
  .pb-2 {
934
984
  padding-bottom: calc(var(--spacing) * 2);
935
985
  }
@@ -963,6 +1013,10 @@
963
1013
  font-size: var(--text-4xl);
964
1014
  line-height: var(--tw-leading, var(--text-4xl--line-height));
965
1015
  }
1016
+ .text-5xl {
1017
+ font-size: var(--text-5xl);
1018
+ line-height: var(--tw-leading, var(--text-5xl--line-height));
1019
+ }
966
1020
  .text-base {
967
1021
  font-size: var(--text-base);
968
1022
  line-height: var(--tw-leading, var(--text-base--line-height));
@@ -1183,6 +1237,11 @@
1183
1237
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
1184
1238
  transition-duration: var(--tw-duration, var(--default-transition-duration));
1185
1239
  }
1240
+ .transition-opacity {
1241
+ transition-property: opacity;
1242
+ transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
1243
+ transition-duration: var(--tw-duration, var(--default-transition-duration));
1244
+ }
1186
1245
  .transition-transform {
1187
1246
  transition-property: transform, translate, scale, rotate;
1188
1247
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
@@ -1223,6 +1282,29 @@
1223
1282
  }
1224
1283
  }
1225
1284
  }
1285
+ .file\:border-0 {
1286
+ &::file-selector-button {
1287
+ border-style: var(--tw-border-style);
1288
+ border-width: 0px;
1289
+ }
1290
+ }
1291
+ .file\:bg-transparent {
1292
+ &::file-selector-button {
1293
+ background-color: transparent;
1294
+ }
1295
+ }
1296
+ .file\:text-sm {
1297
+ &::file-selector-button {
1298
+ font-size: var(--text-sm);
1299
+ line-height: var(--tw-leading, var(--text-sm--line-height));
1300
+ }
1301
+ }
1302
+ .file\:font-medium {
1303
+ &::file-selector-button {
1304
+ --tw-font-weight: var(--font-weight-medium);
1305
+ font-weight: var(--font-weight-medium);
1306
+ }
1307
+ }
1226
1308
  .placeholder\:text-muted-foreground {
1227
1309
  &::-moz-placeholder {
1228
1310
  color: var(--color-muted-foreground);
@@ -1231,6 +1313,24 @@
1231
1313
  color: var(--color-muted-foreground);
1232
1314
  }
1233
1315
  }
1316
+ .after\:ml-0\.5 {
1317
+ &::after {
1318
+ content: var(--tw-content);
1319
+ margin-left: calc(var(--spacing) * 0.5);
1320
+ }
1321
+ }
1322
+ .after\:text-destructive {
1323
+ &::after {
1324
+ content: var(--tw-content);
1325
+ color: var(--color-destructive);
1326
+ }
1327
+ }
1328
+ .after\:content-\[\'\*\'\] {
1329
+ &::after {
1330
+ --tw-content: '*';
1331
+ content: var(--tw-content);
1332
+ }
1333
+ }
1234
1334
  .focus-within\:ring-2 {
1235
1335
  &:focus-within {
1236
1336
  --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
@@ -1513,11 +1613,26 @@
1513
1613
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
1514
1614
  }
1515
1615
  }
1616
+ .focus-visible\:ring-destructive {
1617
+ &:focus-visible {
1618
+ --tw-ring-color: var(--color-destructive);
1619
+ }
1620
+ }
1621
+ .focus-visible\:ring-primary {
1622
+ &:focus-visible {
1623
+ --tw-ring-color: var(--color-primary);
1624
+ }
1625
+ }
1516
1626
  .focus-visible\:ring-ring {
1517
1627
  &:focus-visible {
1518
1628
  --tw-ring-color: var(--color-ring);
1519
1629
  }
1520
1630
  }
1631
+ .focus-visible\:ring-success {
1632
+ &:focus-visible {
1633
+ --tw-ring-color: var(--color-success);
1634
+ }
1635
+ }
1521
1636
  .focus-visible\:ring-offset-2 {
1522
1637
  &:focus-visible {
1523
1638
  --tw-ring-offset-width: 2px;
@@ -1541,6 +1656,11 @@
1541
1656
  pointer-events: none;
1542
1657
  }
1543
1658
  }
1659
+ .disabled\:cursor-not-allowed {
1660
+ &:disabled {
1661
+ cursor: not-allowed;
1662
+ }
1663
+ }
1544
1664
  .disabled\:opacity-50 {
1545
1665
  &:disabled {
1546
1666
  opacity: 50%;
@@ -1581,6 +1701,11 @@
1581
1701
  padding: calc(var(--spacing) * 6);
1582
1702
  }
1583
1703
  }
1704
+ .lg\:grid-cols-2 {
1705
+ @media (width >= 64rem) {
1706
+ grid-template-columns: repeat(2, minmax(0, 1fr));
1707
+ }
1708
+ }
1584
1709
  .lg\:grid-cols-3 {
1585
1710
  @media (width >= 64rem) {
1586
1711
  grid-template-columns: repeat(3, minmax(0, 1fr));
@@ -2801,6 +2926,11 @@
2801
2926
  inherits: false;
2802
2927
  initial-value: 1;
2803
2928
  }
2929
+ @property --tw-content {
2930
+ syntax: "*";
2931
+ initial-value: "";
2932
+ inherits: false;
2933
+ }
2804
2934
  @keyframes pulse {
2805
2935
  50% {
2806
2936
  opacity: 0.5;
@@ -2873,6 +3003,7 @@
2873
3003
  --tw-scale-x: 1;
2874
3004
  --tw-scale-y: 1;
2875
3005
  --tw-scale-z: 1;
3006
+ --tw-content: "";
2876
3007
  }
2877
3008
  }
2878
3009
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@homlista-devs/ui",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "main": "./dist/design-system.cjs.js",
5
5
  "module": "./dist/design-system.es.js",
6
6
  "types": "./dist/types/index.d.ts",