@policystudio/policy-studio-ui-vue 1.0.6 → 1.0.10

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@policystudio/policy-studio-ui-vue",
3
- "version": "1.0.6",
3
+ "version": "1.0.10",
4
4
  "description": "Policy Studio UI",
5
5
  "main": "src/index.js",
6
6
  "author": "Policy Studio Team",
@@ -3,27 +3,3 @@
3
3
  @tailwind utilities;
4
4
  @import url('https://fonts.googleapis.com/icon?family=Material+Icons');
5
5
 
6
- .text-h1 {
7
- font-size: 28;
8
- line-height: 120%;
9
- }
10
- .text-h2 {
11
- font-size: 24px;
12
- line-height: 120%;
13
- }
14
- .text-h3 {
15
- font-size: 22px;
16
- line-height: 120%;
17
- }
18
- .text-h4 {
19
- font-size: 20px;
20
- line-height: 120%;
21
- }
22
- .text-h5 {
23
- font-size: 18px;
24
- line-height: 120%;
25
- }
26
- .text-h6 {
27
- font-size: 17px;
28
- line-height: 120%;
29
- }
@@ -6571,44 +6571,59 @@ video {
6571
6571
  height: 100vh;
6572
6572
  }
6573
6573
 
6574
- .psui-text-xs {
6575
- font-size: 0.75rem;
6574
+ .psui-text-small {
6575
+ font-size: 14px;
6576
+ line-height: 130%;
6576
6577
  }
6577
6578
 
6578
- .psui-text-sm {
6579
- font-size: 0.875rem;
6579
+ .psui-text-xSmall {
6580
+ font-size: 12px;
6581
+ line-height: 130%;
6580
6582
  }
6581
6583
 
6582
- .psui-text-base {
6583
- font-size: 1rem;
6584
+ .psui-text-accent {
6585
+ font-size: 14px;
6586
+ line-height: 130%;
6584
6587
  }
6585
6588
 
6586
- .psui-text-lg {
6587
- font-size: 1.125rem;
6589
+ .psui-text-accentSmall {
6590
+ font-size: 12px;
6591
+ line-height: 130%;
6588
6592
  }
6589
6593
 
6590
- .psui-text-xl {
6591
- font-size: 1.25rem;
6594
+ .psui-text-p {
6595
+ font-size: 16px;
6596
+ line-height: 120%;
6592
6597
  }
6593
6598
 
6594
- .psui-text-2xl {
6595
- font-size: 1.5rem;
6599
+ .psui-text-h1 {
6600
+ font-size: 28px;
6601
+ line-height: 120%;
6596
6602
  }
6597
6603
 
6598
- .psui-text-3xl {
6599
- font-size: 1.875rem;
6604
+ .psui-text-h2 {
6605
+ font-size: 24px;
6606
+ line-height: 120%;
6600
6607
  }
6601
6608
 
6602
- .psui-text-4xl {
6603
- font-size: 2.25rem;
6609
+ .psui-text-h3 {
6610
+ font-size: 22px;
6611
+ line-height: 120%;
6604
6612
  }
6605
6613
 
6606
- .psui-text-5xl {
6607
- font-size: 3rem;
6614
+ .psui-text-h4 {
6615
+ font-size: 20px;
6616
+ line-height: 120%;
6608
6617
  }
6609
6618
 
6610
- .psui-text-6xl {
6611
- font-size: 4rem;
6619
+ .psui-text-h5 {
6620
+ font-size: 18px;
6621
+ line-height: 120%;
6622
+ }
6623
+
6624
+ .psui-text-h6 {
6625
+ font-size: 17px;
6626
+ line-height: 120%;
6612
6627
  }
6613
6628
 
6614
6629
  .psui-leading-3 {
@@ -14733,36 +14748,6 @@ video {
14733
14748
 
14734
14749
  @import url('https://fonts.googleapis.com/icon?family=Material+Icons');
14735
14750
 
14736
- .text-h1 {
14737
- font-size: 28;
14738
- line-height: 120%;
14739
- }
14740
-
14741
- .text-h2 {
14742
- font-size: 24px;
14743
- line-height: 120%;
14744
- }
14745
-
14746
- .text-h3 {
14747
- font-size: 22px;
14748
- line-height: 120%;
14749
- }
14750
-
14751
- .text-h4 {
14752
- font-size: 20px;
14753
- line-height: 120%;
14754
- }
14755
-
14756
- .text-h5 {
14757
- font-size: 18px;
14758
- line-height: 120%;
14759
- }
14760
-
14761
- .text-h6 {
14762
- font-size: 17px;
14763
- line-height: 120%;
14764
- }
14765
-
14766
14751
  @media (min-width: 640px) {
14767
14752
  .sm\:psui-container {
14768
14753
  width: 100%;
@@ -19669,44 +19654,59 @@ video {
19669
19654
  height: 100vh;
19670
19655
  }
19671
19656
 
19672
- .sm\:psui-text-xs {
19673
- font-size: 0.75rem;
19657
+ .sm\:psui-text-small {
19658
+ font-size: 14px;
19659
+ line-height: 130%;
19660
+ }
19661
+
19662
+ .sm\:psui-text-xSmall {
19663
+ font-size: 12px;
19664
+ line-height: 130%;
19674
19665
  }
19675
19666
 
19676
- .sm\:psui-text-sm {
19677
- font-size: 0.875rem;
19667
+ .sm\:psui-text-accent {
19668
+ font-size: 14px;
19669
+ line-height: 130%;
19678
19670
  }
19679
19671
 
19680
- .sm\:psui-text-base {
19681
- font-size: 1rem;
19672
+ .sm\:psui-text-accentSmall {
19673
+ font-size: 12px;
19674
+ line-height: 130%;
19682
19675
  }
19683
19676
 
19684
- .sm\:psui-text-lg {
19685
- font-size: 1.125rem;
19677
+ .sm\:psui-text-p {
19678
+ font-size: 16px;
19679
+ line-height: 120%;
19686
19680
  }
19687
19681
 
19688
- .sm\:psui-text-xl {
19689
- font-size: 1.25rem;
19682
+ .sm\:psui-text-h1 {
19683
+ font-size: 28px;
19684
+ line-height: 120%;
19690
19685
  }
19691
19686
 
19692
- .sm\:psui-text-2xl {
19693
- font-size: 1.5rem;
19687
+ .sm\:psui-text-h2 {
19688
+ font-size: 24px;
19689
+ line-height: 120%;
19694
19690
  }
19695
19691
 
19696
- .sm\:psui-text-3xl {
19697
- font-size: 1.875rem;
19692
+ .sm\:psui-text-h3 {
19693
+ font-size: 22px;
19694
+ line-height: 120%;
19698
19695
  }
19699
19696
 
19700
- .sm\:psui-text-4xl {
19701
- font-size: 2.25rem;
19697
+ .sm\:psui-text-h4 {
19698
+ font-size: 20px;
19699
+ line-height: 120%;
19702
19700
  }
19703
19701
 
19704
- .sm\:psui-text-5xl {
19705
- font-size: 3rem;
19702
+ .sm\:psui-text-h5 {
19703
+ font-size: 18px;
19704
+ line-height: 120%;
19706
19705
  }
19707
19706
 
19708
- .sm\:psui-text-6xl {
19709
- font-size: 4rem;
19707
+ .sm\:psui-text-h6 {
19708
+ font-size: 17px;
19709
+ line-height: 120%;
19710
19710
  }
19711
19711
 
19712
19712
  .sm\:psui-leading-3 {
@@ -32614,44 +32614,59 @@ video {
32614
32614
  height: 100vh;
32615
32615
  }
32616
32616
 
32617
- .md\:psui-text-xs {
32618
- font-size: 0.75rem;
32617
+ .md\:psui-text-small {
32618
+ font-size: 14px;
32619
+ line-height: 130%;
32620
+ }
32621
+
32622
+ .md\:psui-text-xSmall {
32623
+ font-size: 12px;
32624
+ line-height: 130%;
32619
32625
  }
32620
32626
 
32621
- .md\:psui-text-sm {
32622
- font-size: 0.875rem;
32627
+ .md\:psui-text-accent {
32628
+ font-size: 14px;
32629
+ line-height: 130%;
32623
32630
  }
32624
32631
 
32625
- .md\:psui-text-base {
32626
- font-size: 1rem;
32632
+ .md\:psui-text-accentSmall {
32633
+ font-size: 12px;
32634
+ line-height: 130%;
32627
32635
  }
32628
32636
 
32629
- .md\:psui-text-lg {
32630
- font-size: 1.125rem;
32637
+ .md\:psui-text-p {
32638
+ font-size: 16px;
32639
+ line-height: 120%;
32631
32640
  }
32632
32641
 
32633
- .md\:psui-text-xl {
32634
- font-size: 1.25rem;
32642
+ .md\:psui-text-h1 {
32643
+ font-size: 28px;
32644
+ line-height: 120%;
32635
32645
  }
32636
32646
 
32637
- .md\:psui-text-2xl {
32638
- font-size: 1.5rem;
32647
+ .md\:psui-text-h2 {
32648
+ font-size: 24px;
32649
+ line-height: 120%;
32639
32650
  }
32640
32651
 
32641
- .md\:psui-text-3xl {
32642
- font-size: 1.875rem;
32652
+ .md\:psui-text-h3 {
32653
+ font-size: 22px;
32654
+ line-height: 120%;
32643
32655
  }
32644
32656
 
32645
- .md\:psui-text-4xl {
32646
- font-size: 2.25rem;
32657
+ .md\:psui-text-h4 {
32658
+ font-size: 20px;
32659
+ line-height: 120%;
32647
32660
  }
32648
32661
 
32649
- .md\:psui-text-5xl {
32650
- font-size: 3rem;
32662
+ .md\:psui-text-h5 {
32663
+ font-size: 18px;
32664
+ line-height: 120%;
32651
32665
  }
32652
32666
 
32653
- .md\:psui-text-6xl {
32654
- font-size: 4rem;
32667
+ .md\:psui-text-h6 {
32668
+ font-size: 17px;
32669
+ line-height: 120%;
32655
32670
  }
32656
32671
 
32657
32672
  .md\:psui-leading-3 {
@@ -45559,44 +45574,59 @@ video {
45559
45574
  height: 100vh;
45560
45575
  }
45561
45576
 
45562
- .lg\:psui-text-xs {
45563
- font-size: 0.75rem;
45577
+ .lg\:psui-text-small {
45578
+ font-size: 14px;
45579
+ line-height: 130%;
45564
45580
  }
45565
45581
 
45566
- .lg\:psui-text-sm {
45567
- font-size: 0.875rem;
45582
+ .lg\:psui-text-xSmall {
45583
+ font-size: 12px;
45584
+ line-height: 130%;
45568
45585
  }
45569
45586
 
45570
- .lg\:psui-text-base {
45571
- font-size: 1rem;
45587
+ .lg\:psui-text-accent {
45588
+ font-size: 14px;
45589
+ line-height: 130%;
45572
45590
  }
45573
45591
 
45574
- .lg\:psui-text-lg {
45575
- font-size: 1.125rem;
45592
+ .lg\:psui-text-accentSmall {
45593
+ font-size: 12px;
45594
+ line-height: 130%;
45576
45595
  }
45577
45596
 
45578
- .lg\:psui-text-xl {
45579
- font-size: 1.25rem;
45597
+ .lg\:psui-text-p {
45598
+ font-size: 16px;
45599
+ line-height: 120%;
45580
45600
  }
45581
45601
 
45582
- .lg\:psui-text-2xl {
45583
- font-size: 1.5rem;
45602
+ .lg\:psui-text-h1 {
45603
+ font-size: 28px;
45604
+ line-height: 120%;
45584
45605
  }
45585
45606
 
45586
- .lg\:psui-text-3xl {
45587
- font-size: 1.875rem;
45607
+ .lg\:psui-text-h2 {
45608
+ font-size: 24px;
45609
+ line-height: 120%;
45588
45610
  }
45589
45611
 
45590
- .lg\:psui-text-4xl {
45591
- font-size: 2.25rem;
45612
+ .lg\:psui-text-h3 {
45613
+ font-size: 22px;
45614
+ line-height: 120%;
45592
45615
  }
45593
45616
 
45594
- .lg\:psui-text-5xl {
45595
- font-size: 3rem;
45617
+ .lg\:psui-text-h4 {
45618
+ font-size: 20px;
45619
+ line-height: 120%;
45596
45620
  }
45597
45621
 
45598
- .lg\:psui-text-6xl {
45599
- font-size: 4rem;
45622
+ .lg\:psui-text-h5 {
45623
+ font-size: 18px;
45624
+ line-height: 120%;
45625
+ }
45626
+
45627
+ .lg\:psui-text-h6 {
45628
+ font-size: 17px;
45629
+ line-height: 120%;
45600
45630
  }
45601
45631
 
45602
45632
  .lg\:psui-leading-3 {
@@ -58504,44 +58534,59 @@ video {
58504
58534
  height: 100vh;
58505
58535
  }
58506
58536
 
58507
- .xl\:psui-text-xs {
58508
- font-size: 0.75rem;
58537
+ .xl\:psui-text-small {
58538
+ font-size: 14px;
58539
+ line-height: 130%;
58509
58540
  }
58510
58541
 
58511
- .xl\:psui-text-sm {
58512
- font-size: 0.875rem;
58542
+ .xl\:psui-text-xSmall {
58543
+ font-size: 12px;
58544
+ line-height: 130%;
58513
58545
  }
58514
58546
 
58515
- .xl\:psui-text-base {
58516
- font-size: 1rem;
58547
+ .xl\:psui-text-accent {
58548
+ font-size: 14px;
58549
+ line-height: 130%;
58517
58550
  }
58518
58551
 
58519
- .xl\:psui-text-lg {
58520
- font-size: 1.125rem;
58552
+ .xl\:psui-text-accentSmall {
58553
+ font-size: 12px;
58554
+ line-height: 130%;
58521
58555
  }
58522
58556
 
58523
- .xl\:psui-text-xl {
58524
- font-size: 1.25rem;
58557
+ .xl\:psui-text-p {
58558
+ font-size: 16px;
58559
+ line-height: 120%;
58525
58560
  }
58526
58561
 
58527
- .xl\:psui-text-2xl {
58528
- font-size: 1.5rem;
58562
+ .xl\:psui-text-h1 {
58563
+ font-size: 28px;
58564
+ line-height: 120%;
58529
58565
  }
58530
58566
 
58531
- .xl\:psui-text-3xl {
58532
- font-size: 1.875rem;
58567
+ .xl\:psui-text-h2 {
58568
+ font-size: 24px;
58569
+ line-height: 120%;
58533
58570
  }
58534
58571
 
58535
- .xl\:psui-text-4xl {
58536
- font-size: 2.25rem;
58572
+ .xl\:psui-text-h3 {
58573
+ font-size: 22px;
58574
+ line-height: 120%;
58537
58575
  }
58538
58576
 
58539
- .xl\:psui-text-5xl {
58540
- font-size: 3rem;
58577
+ .xl\:psui-text-h4 {
58578
+ font-size: 20px;
58579
+ line-height: 120%;
58541
58580
  }
58542
58581
 
58543
- .xl\:psui-text-6xl {
58544
- font-size: 4rem;
58582
+ .xl\:psui-text-h5 {
58583
+ font-size: 18px;
58584
+ line-height: 120%;
58585
+ }
58586
+
58587
+ .xl\:psui-text-h6 {
58588
+ font-size: 17px;
58589
+ line-height: 120%;
58545
58590
  }
58546
58591
 
58547
58592
  .xl\:psui-leading-3 {
@@ -66542,3 +66587,4 @@ video {
66542
66587
  animation: bounce 1s infinite;
66543
66588
  }
66544
66589
  }
66590
+
@@ -7,9 +7,13 @@ module.exports = {
7
7
  'white': '#ffffff !important',
8
8
  'gray-10': '#F3F6F9',
9
9
  'gray-20': '#E6ECF2',
10
+ 'gray-30': '#D6DDE5',
10
11
  'gray-40': '#A2ACB7',
11
12
  'gray-50': '#798490',
12
13
  'gray-60': '#515E6A',
14
+ 'gray-70': '#34404A',
15
+ 'gray-80': '#28323B',
16
+
13
17
  'blue': '#5094D3',
14
18
  'blue-10':'#ECF7FB',
15
19
  'blue-20':'#E0EFF6',
@@ -17,18 +21,22 @@ module.exports = {
17
21
  'blue-60':'#318FAC',
18
22
  'blue-70':'#00465F',
19
23
  'blue-80':'#002A3A',
24
+
20
25
  'green-10':'#DEF8E8',
21
26
  'green-20':'#5DB883',
22
27
  'green-70':'#44A06A',
23
28
  'green-80':'#286943',
29
+
24
30
  'yellow-10':'#FDF3E3',
25
31
  'yellow-20':'#EDAB3E',
26
32
  'yellow-70':'#B87305',
27
33
  'yellow-80':'#834C0D',
34
+
28
35
  'red-10':'#FCEBEB',
29
36
  'red-20':'#D65C5A',
30
37
  'red-70':'#AA3937',
31
38
  'red-80':'#832F2E',
39
+
32
40
  'purple': '#9278C9',
33
41
  'teal': '#57C0BA',
34
42
  'emerald': '#8CCA82',
@@ -38,7 +46,26 @@ module.exports = {
38
46
  fontFamily: {
39
47
  'sans': ['Lato'],
40
48
  },
49
+ fontSize: {
50
+ small: ['14px', '130%'],
51
+ xSmall: ['12px', '130%'],
52
+ accent: ['14px', '130%', { letterSpacing: '0.6px' }],
53
+ accentSmall: ['12px', '130%', { letterSpacing: '0.6px' }],
54
+ p: ['16px', '120%'],
55
+ h1: ['28px', '120%'],
56
+ h2: ['24px', '120%'],
57
+ h3: ['22px', '120%'],
58
+ h4: ['20px', '120%'],
59
+ h5: ['18px', '120%'],
60
+ h6: ['17px', '120%'],
61
+ },
41
62
  boxShadow: {
63
+ // elevationInner: '0px 1px 0px #FFFFFF, inset 0px 1px 2px rgba(0, 0, 0, 0.1)',
64
+ // elevation5: '0px 0px 4px rgba(0, 0, 0, 0.03), 0px 1px 2px rgba(0, 0, 0, 0.1)',
65
+ // elevation10: '0px 0px 8px rgba(0, 0, 0, 0.04), 0px 2px 5px rgba(0, 0, 0, 0.08)',
66
+ // elevation20: '0px 0px 8px rgba(0, 0, 0, 0.04), 0px 5px 6px rgba(0, 0, 0, 0.1)',
67
+ // elevation30: '0px 0px 8px rgba(0, 0, 0, 0.05), 0px 10px 15px rgba(0, 0, 0, 0.15)',
68
+ // elevation40: '0px 0px 20px rgba(0, 0, 0, 0.05), 0px 30px 60px rgba(0, 0, 0, 0.2)',
42
69
  sm: '0px 0px 4px rgba(0, 0, 0, 0.03), 0px 1px 2px rgba(0, 0, 0, 0.1)',
43
70
  default: '0px 0px 8px rgba(0, 0, 0, 0.04), 0px 2px 5px rgba(0, 0, 0, 0.08)',
44
71
  md: '0px 0px 8px rgba(0, 0, 0, 0.04), 0px 5px 6px rgba(0, 0, 0, 0.1)',