@policystudio/policy-studio-ui-vue 1.0.7 → 1.0.8

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.7",
3
+ "version": "1.0.8",
4
4
  "description": "Policy Studio UI",
5
5
  "main": "src/index.js",
6
6
  "author": "Policy Studio Team",
@@ -6571,24 +6571,29 @@ video {
6571
6571
  height: 100vh;
6572
6572
  }
6573
6573
 
6574
- .psui-text-sm {
6574
+ .psui-text-small {
6575
6575
  font-size: 14px;
6576
- line-height: 20px;
6576
+ line-height: 130%;
6577
6577
  }
6578
6578
 
6579
- .psui-text-base {
6580
- font-size: 16px;
6581
- line-height: 24px;
6579
+ .psui-text-xSmall {
6580
+ font-size: 12px;
6581
+ line-height: 130%;
6582
6582
  }
6583
6583
 
6584
- .psui-text-lg {
6585
- font-size: 20px;
6586
- line-height: 28px;
6584
+ .psui-text-accent {
6585
+ font-size: 14px;
6586
+ line-height: 130%;
6587
6587
  }
6588
6588
 
6589
- .psui-text-xl {
6590
- font-size: 24px;
6591
- line-height: 32px;
6589
+ .psui-text-accentSmall {
6590
+ font-size: 12px;
6591
+ line-height: 130%;
6592
+ }
6593
+
6594
+ .psui-text-p {
6595
+ font-size: 16px;
6596
+ line-height: 120%;
6592
6597
  }
6593
6598
 
6594
6599
  .psui-text-h1 {
@@ -10053,6 +10058,30 @@ video {
10053
10058
  resize: both;
10054
10059
  }
10055
10060
 
10061
+ .psui-shadow-elevationInner {
10062
+ box-shadow: box-shadow: 0px 1px 0px #FFFFFF, inset 0px 1px 2px rgba(0, 0, 0, 0.1);
10063
+ }
10064
+
10065
+ .psui-shadow-elevation5 {
10066
+ box-shadow: box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.03), 0px 1px 2px rgba(0, 0, 0, 0.1);
10067
+ }
10068
+
10069
+ .psui-shadow-elevation10 {
10070
+ box-shadow: box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.04), 0px 2px 5px rgba(0, 0, 0, 0.08);
10071
+ }
10072
+
10073
+ .psui-shadow-elevation20 {
10074
+ box-shadow: box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.04), 0px 5px 6px rgba(0, 0, 0, 0.1);
10075
+ }
10076
+
10077
+ .psui-shadow-elevation30 {
10078
+ box-shadow: box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.05), 0px 10px 15px rgba(0, 0, 0, 0.15);
10079
+ }
10080
+
10081
+ .psui-shadow-elevation40 {
10082
+ box-shadow: box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.05), 0px 30px 60px rgba(0, 0, 0, 0.2);
10083
+ }
10084
+
10056
10085
  .psui-shadow-sm {
10057
10086
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.03), 0px 1px 2px rgba(0, 0, 0, 0.1);
10058
10087
  }
@@ -10081,6 +10110,30 @@ video {
10081
10110
  box-shadow: none;
10082
10111
  }
10083
10112
 
10113
+ .active\:psui-shadow-elevationInner:active {
10114
+ box-shadow: box-shadow: 0px 1px 0px #FFFFFF, inset 0px 1px 2px rgba(0, 0, 0, 0.1);
10115
+ }
10116
+
10117
+ .active\:psui-shadow-elevation5:active {
10118
+ box-shadow: box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.03), 0px 1px 2px rgba(0, 0, 0, 0.1);
10119
+ }
10120
+
10121
+ .active\:psui-shadow-elevation10:active {
10122
+ box-shadow: box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.04), 0px 2px 5px rgba(0, 0, 0, 0.08);
10123
+ }
10124
+
10125
+ .active\:psui-shadow-elevation20:active {
10126
+ box-shadow: box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.04), 0px 5px 6px rgba(0, 0, 0, 0.1);
10127
+ }
10128
+
10129
+ .active\:psui-shadow-elevation30:active {
10130
+ box-shadow: box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.05), 0px 10px 15px rgba(0, 0, 0, 0.15);
10131
+ }
10132
+
10133
+ .active\:psui-shadow-elevation40:active {
10134
+ box-shadow: box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.05), 0px 30px 60px rgba(0, 0, 0, 0.2);
10135
+ }
10136
+
10084
10137
  .active\:psui-shadow-sm:active {
10085
10138
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.03), 0px 1px 2px rgba(0, 0, 0, 0.1);
10086
10139
  }
@@ -19649,24 +19702,29 @@ video {
19649
19702
  height: 100vh;
19650
19703
  }
19651
19704
 
19652
- .sm\:psui-text-sm {
19705
+ .sm\:psui-text-small {
19653
19706
  font-size: 14px;
19654
- line-height: 20px;
19707
+ line-height: 130%;
19655
19708
  }
19656
19709
 
19657
- .sm\:psui-text-base {
19658
- font-size: 16px;
19659
- line-height: 24px;
19710
+ .sm\:psui-text-xSmall {
19711
+ font-size: 12px;
19712
+ line-height: 130%;
19660
19713
  }
19661
19714
 
19662
- .sm\:psui-text-lg {
19663
- font-size: 20px;
19664
- line-height: 28px;
19715
+ .sm\:psui-text-accent {
19716
+ font-size: 14px;
19717
+ line-height: 130%;
19665
19718
  }
19666
19719
 
19667
- .sm\:psui-text-xl {
19668
- font-size: 24px;
19669
- line-height: 32px;
19720
+ .sm\:psui-text-accentSmall {
19721
+ font-size: 12px;
19722
+ line-height: 130%;
19723
+ }
19724
+
19725
+ .sm\:psui-text-p {
19726
+ font-size: 16px;
19727
+ line-height: 120%;
19670
19728
  }
19671
19729
 
19672
19730
  .sm\:psui-text-h1 {
@@ -32604,24 +32662,29 @@ video {
32604
32662
  height: 100vh;
32605
32663
  }
32606
32664
 
32607
- .md\:psui-text-sm {
32665
+ .md\:psui-text-small {
32608
32666
  font-size: 14px;
32609
- line-height: 20px;
32667
+ line-height: 130%;
32610
32668
  }
32611
32669
 
32612
- .md\:psui-text-base {
32613
- font-size: 16px;
32614
- line-height: 24px;
32670
+ .md\:psui-text-xSmall {
32671
+ font-size: 12px;
32672
+ line-height: 130%;
32615
32673
  }
32616
32674
 
32617
- .md\:psui-text-lg {
32618
- font-size: 20px;
32619
- line-height: 28px;
32675
+ .md\:psui-text-accent {
32676
+ font-size: 14px;
32677
+ line-height: 130%;
32620
32678
  }
32621
32679
 
32622
- .md\:psui-text-xl {
32623
- font-size: 24px;
32624
- line-height: 32px;
32680
+ .md\:psui-text-accentSmall {
32681
+ font-size: 12px;
32682
+ line-height: 130%;
32683
+ }
32684
+
32685
+ .md\:psui-text-p {
32686
+ font-size: 16px;
32687
+ line-height: 120%;
32625
32688
  }
32626
32689
 
32627
32690
  .md\:psui-text-h1 {
@@ -45559,24 +45622,29 @@ video {
45559
45622
  height: 100vh;
45560
45623
  }
45561
45624
 
45562
- .lg\:psui-text-sm {
45625
+ .lg\:psui-text-small {
45563
45626
  font-size: 14px;
45564
- line-height: 20px;
45627
+ line-height: 130%;
45565
45628
  }
45566
45629
 
45567
- .lg\:psui-text-base {
45568
- font-size: 16px;
45569
- line-height: 24px;
45630
+ .lg\:psui-text-xSmall {
45631
+ font-size: 12px;
45632
+ line-height: 130%;
45570
45633
  }
45571
45634
 
45572
- .lg\:psui-text-lg {
45573
- font-size: 20px;
45574
- line-height: 28px;
45635
+ .lg\:psui-text-accent {
45636
+ font-size: 14px;
45637
+ line-height: 130%;
45575
45638
  }
45576
45639
 
45577
- .lg\:psui-text-xl {
45578
- font-size: 24px;
45579
- line-height: 32px;
45640
+ .lg\:psui-text-accentSmall {
45641
+ font-size: 12px;
45642
+ line-height: 130%;
45643
+ }
45644
+
45645
+ .lg\:psui-text-p {
45646
+ font-size: 16px;
45647
+ line-height: 120%;
45580
45648
  }
45581
45649
 
45582
45650
  .lg\:psui-text-h1 {
@@ -58514,24 +58582,29 @@ video {
58514
58582
  height: 100vh;
58515
58583
  }
58516
58584
 
58517
- .xl\:psui-text-sm {
58585
+ .xl\:psui-text-small {
58518
58586
  font-size: 14px;
58519
- line-height: 20px;
58587
+ line-height: 130%;
58520
58588
  }
58521
58589
 
58522
- .xl\:psui-text-base {
58523
- font-size: 16px;
58524
- line-height: 24px;
58590
+ .xl\:psui-text-xSmall {
58591
+ font-size: 12px;
58592
+ line-height: 130%;
58525
58593
  }
58526
58594
 
58527
- .xl\:psui-text-lg {
58528
- font-size: 20px;
58529
- line-height: 28px;
58595
+ .xl\:psui-text-accent {
58596
+ font-size: 14px;
58597
+ line-height: 130%;
58530
58598
  }
58531
58599
 
58532
- .xl\:psui-text-xl {
58533
- font-size: 24px;
58534
- line-height: 32px;
58600
+ .xl\:psui-text-accentSmall {
58601
+ font-size: 12px;
58602
+ line-height: 130%;
58603
+ }
58604
+
58605
+ .xl\:psui-text-p {
58606
+ font-size: 16px;
58607
+ line-height: 120%;
58535
58608
  }
58536
58609
 
58537
58610
  .xl\:psui-text-h1 {
@@ -39,10 +39,11 @@ module.exports = {
39
39
  'sans': ['Lato'],
40
40
  },
41
41
  fontSize: {
42
- sm: ['14px', '20px'],
43
- base: ['16px', '24px'],
44
- lg: ['20px', '28px'],
45
- xl: ['24px', '32px'],
42
+ small: ['14px', '130%'],
43
+ xSmall: ['12px', '130%'],
44
+ accent: ['14px', '130%', { letterSpacing: '0.6px' }],
45
+ accentSmall: ['12px', '130%', { letterSpacing: '0.6px' }],
46
+ p: ['16px', '120%'],
46
47
  h1: ['28px', '120%'],
47
48
  h2: ['24px', '120%'],
48
49
  h3: ['22px', '120%'],
@@ -51,6 +52,12 @@ module.exports = {
51
52
  h6: ['17px', '120%'],
52
53
  },
53
54
  boxShadow: {
55
+ elevationInner: 'box-shadow: 0px 1px 0px #FFFFFF, inset 0px 1px 2px rgba(0, 0, 0, 0.1)',
56
+ elevation5: 'box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.03), 0px 1px 2px rgba(0, 0, 0, 0.1)',
57
+ elevation10: 'box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.04), 0px 2px 5px rgba(0, 0, 0, 0.08)',
58
+ elevation20: 'box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.04), 0px 5px 6px rgba(0, 0, 0, 0.1)',
59
+ elevation30: 'box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.05), 0px 10px 15px rgba(0, 0, 0, 0.15)',
60
+ elevation40: 'box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.05), 0px 30px 60px rgba(0, 0, 0, 0.2)',
54
61
  sm: '0px 0px 4px rgba(0, 0, 0, 0.03), 0px 1px 2px rgba(0, 0, 0, 0.1)',
55
62
  default: '0px 0px 8px rgba(0, 0, 0, 0.04), 0px 2px 5px rgba(0, 0, 0, 0.08)',
56
63
  md: '0px 0px 8px rgba(0, 0, 0, 0.04), 0px 5px 6px rgba(0, 0, 0, 0.1)',