@aleph-alpha/ui-library 5.0.0 → 5.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/README.md +2 -0
- package/config.js +123 -2
- package/dist/system/components/core/sidebar/SidebarInset.vue.d.ts +14 -1
- package/dist/system/lib.js +11 -5
- package/package.json +14 -5
- package/src/components/UiButton/UiButton.stories.ts +526 -38
- package/src/components/core/sidebar/SidebarInset.vue +19 -2
- package/src/patterns/UiSidebar/UiSidebar.stories.ts +4 -1
- package/src/patterns/UiSidebar/UiSidebarInset.stories.ts +259 -0
- package/src/patterns/UiSidebar/__tests__/UiSidebarInset.test.ts +20 -0
- package/src/theme/Shadow.stories.ts +20 -41
- package/tokens.json +147 -13
package/tokens.json
CHANGED
|
@@ -2912,6 +2912,28 @@
|
|
|
2912
2912
|
"com.figma.hiddenFromPublishing": true
|
|
2913
2913
|
}
|
|
2914
2914
|
}
|
|
2915
|
+
},
|
|
2916
|
+
"base": {
|
|
2917
|
+
"white": {
|
|
2918
|
+
"value": "#ffffff",
|
|
2919
|
+
"type": "color",
|
|
2920
|
+
"$extensions": {
|
|
2921
|
+
"com.figma.scopes": [
|
|
2922
|
+
"ALL_SCOPES"
|
|
2923
|
+
],
|
|
2924
|
+
"com.figma.hiddenFromPublishing": true
|
|
2925
|
+
}
|
|
2926
|
+
},
|
|
2927
|
+
"black": {
|
|
2928
|
+
"value": "#000000",
|
|
2929
|
+
"type": "color",
|
|
2930
|
+
"$extensions": {
|
|
2931
|
+
"com.figma.scopes": [
|
|
2932
|
+
"ALL_SCOPES"
|
|
2933
|
+
],
|
|
2934
|
+
"com.figma.hiddenFromPublishing": true
|
|
2935
|
+
}
|
|
2936
|
+
}
|
|
2915
2937
|
}
|
|
2916
2938
|
},
|
|
2917
2939
|
"spacing": {
|
|
@@ -9255,6 +9277,30 @@
|
|
|
9255
9277
|
"description": "Used in UI elements that have background color variable in light mode and input/30 variable in dark mode"
|
|
9256
9278
|
}
|
|
9257
9279
|
}
|
|
9280
|
+
},
|
|
9281
|
+
"base": {
|
|
9282
|
+
"white": {
|
|
9283
|
+
"value": "{colors.base.white-pure}",
|
|
9284
|
+
"type": "color",
|
|
9285
|
+
"$extensions": {
|
|
9286
|
+
"com.figma.scopes": [
|
|
9287
|
+
"ALL_SCOPES"
|
|
9288
|
+
],
|
|
9289
|
+
"com.figma.hiddenFromPublishing": false
|
|
9290
|
+
},
|
|
9291
|
+
"description": "Main application background"
|
|
9292
|
+
},
|
|
9293
|
+
"black": {
|
|
9294
|
+
"value": "{colors.base.black-pure}",
|
|
9295
|
+
"type": "color",
|
|
9296
|
+
"$extensions": {
|
|
9297
|
+
"com.figma.scopes": [
|
|
9298
|
+
"ALL_SCOPES"
|
|
9299
|
+
],
|
|
9300
|
+
"com.figma.hiddenFromPublishing": false
|
|
9301
|
+
},
|
|
9302
|
+
"description": "Main application background"
|
|
9303
|
+
}
|
|
9258
9304
|
}
|
|
9259
9305
|
},
|
|
9260
9306
|
"3-mode/Dark": {
|
|
@@ -10008,6 +10054,30 @@
|
|
|
10008
10054
|
"description": "Used in UI elements that have background color variable in light mode and input/30 variable in dark mode"
|
|
10009
10055
|
}
|
|
10010
10056
|
}
|
|
10057
|
+
},
|
|
10058
|
+
"base": {
|
|
10059
|
+
"white": {
|
|
10060
|
+
"value": "{colors.base.black-pure}",
|
|
10061
|
+
"type": "color",
|
|
10062
|
+
"$extensions": {
|
|
10063
|
+
"com.figma.scopes": [
|
|
10064
|
+
"ALL_SCOPES"
|
|
10065
|
+
],
|
|
10066
|
+
"com.figma.hiddenFromPublishing": false
|
|
10067
|
+
},
|
|
10068
|
+
"description": "Main application background"
|
|
10069
|
+
},
|
|
10070
|
+
"black": {
|
|
10071
|
+
"value": "{colors.base.white-pure}",
|
|
10072
|
+
"type": "color",
|
|
10073
|
+
"$extensions": {
|
|
10074
|
+
"com.figma.scopes": [
|
|
10075
|
+
"ALL_SCOPES"
|
|
10076
|
+
],
|
|
10077
|
+
"com.figma.hiddenFromPublishing": false
|
|
10078
|
+
},
|
|
10079
|
+
"description": "Main application background"
|
|
10080
|
+
}
|
|
10011
10081
|
}
|
|
10012
10082
|
},
|
|
10013
10083
|
"2-theme/AA Base": {
|
|
@@ -10217,7 +10287,7 @@
|
|
|
10217
10287
|
}
|
|
10218
10288
|
},
|
|
10219
10289
|
"inverse-light": {
|
|
10220
|
-
"value": "{aa.colors.rose.
|
|
10290
|
+
"value": "{aa.colors.rose.800}",
|
|
10221
10291
|
"type": "color",
|
|
10222
10292
|
"$extensions": {
|
|
10223
10293
|
"com.figma.scopes": [
|
|
@@ -11359,6 +11429,30 @@
|
|
|
11359
11429
|
}
|
|
11360
11430
|
}
|
|
11361
11431
|
}
|
|
11432
|
+
},
|
|
11433
|
+
"base": {
|
|
11434
|
+
"white-pure": {
|
|
11435
|
+
"value": "{aa.colors.base.white}",
|
|
11436
|
+
"type": "color",
|
|
11437
|
+
"$extensions": {
|
|
11438
|
+
"com.figma.scopes": [
|
|
11439
|
+
"FRAME_FILL",
|
|
11440
|
+
"SHAPE_FILL"
|
|
11441
|
+
],
|
|
11442
|
+
"com.figma.hiddenFromPublishing": true
|
|
11443
|
+
}
|
|
11444
|
+
},
|
|
11445
|
+
"black-pure": {
|
|
11446
|
+
"value": "{aa.colors.base.black}",
|
|
11447
|
+
"type": "color",
|
|
11448
|
+
"$extensions": {
|
|
11449
|
+
"com.figma.scopes": [
|
|
11450
|
+
"FRAME_FILL",
|
|
11451
|
+
"SHAPE_FILL"
|
|
11452
|
+
],
|
|
11453
|
+
"com.figma.hiddenFromPublishing": true
|
|
11454
|
+
}
|
|
11455
|
+
}
|
|
11362
11456
|
}
|
|
11363
11457
|
},
|
|
11364
11458
|
"shadow": {
|
|
@@ -11469,7 +11563,7 @@
|
|
|
11469
11563
|
"sm": {
|
|
11470
11564
|
"1": {
|
|
11471
11565
|
"color": {
|
|
11472
|
-
"value": "
|
|
11566
|
+
"value": "{aa.colors.alpha.rose.20}",
|
|
11473
11567
|
"type": "color",
|
|
11474
11568
|
"$extensions": {
|
|
11475
11569
|
"com.figma.scopes": [
|
|
@@ -11521,7 +11615,7 @@
|
|
|
11521
11615
|
},
|
|
11522
11616
|
"2": {
|
|
11523
11617
|
"color": {
|
|
11524
|
-
"value": "#
|
|
11618
|
+
"value": "#f85e2b0a",
|
|
11525
11619
|
"type": "color",
|
|
11526
11620
|
"$extensions": {
|
|
11527
11621
|
"com.figma.scopes": [
|
|
@@ -11575,7 +11669,7 @@
|
|
|
11575
11669
|
"md": {
|
|
11576
11670
|
"1": {
|
|
11577
11671
|
"color": {
|
|
11578
|
-
"value": "
|
|
11672
|
+
"value": "{aa.colors.alpha.rose.20}",
|
|
11579
11673
|
"type": "color",
|
|
11580
11674
|
"$extensions": {
|
|
11581
11675
|
"com.figma.scopes": [
|
|
@@ -11627,7 +11721,7 @@
|
|
|
11627
11721
|
},
|
|
11628
11722
|
"2": {
|
|
11629
11723
|
"color": {
|
|
11630
|
-
"value": "#
|
|
11724
|
+
"value": "#f85e2b0a",
|
|
11631
11725
|
"type": "color",
|
|
11632
11726
|
"$extensions": {
|
|
11633
11727
|
"com.figma.scopes": [
|
|
@@ -11681,7 +11775,7 @@
|
|
|
11681
11775
|
"lg": {
|
|
11682
11776
|
"1": {
|
|
11683
11777
|
"color": {
|
|
11684
|
-
"value": "
|
|
11778
|
+
"value": "{aa.colors.alpha.rose.10}",
|
|
11685
11779
|
"type": "color",
|
|
11686
11780
|
"$extensions": {
|
|
11687
11781
|
"com.figma.scopes": [
|
|
@@ -11733,7 +11827,7 @@
|
|
|
11733
11827
|
},
|
|
11734
11828
|
"2": {
|
|
11735
11829
|
"color": {
|
|
11736
|
-
"value": "#
|
|
11830
|
+
"value": "#f85e2b0d",
|
|
11737
11831
|
"type": "color",
|
|
11738
11832
|
"$extensions": {
|
|
11739
11833
|
"com.figma.scopes": [
|
|
@@ -11787,7 +11881,7 @@
|
|
|
11787
11881
|
"xl": {
|
|
11788
11882
|
"1": {
|
|
11789
11883
|
"color": {
|
|
11790
|
-
"value": "
|
|
11884
|
+
"value": "{aa.colors.alpha.rose.10}",
|
|
11791
11885
|
"type": "color",
|
|
11792
11886
|
"$extensions": {
|
|
11793
11887
|
"com.figma.scopes": [
|
|
@@ -11839,7 +11933,7 @@
|
|
|
11839
11933
|
},
|
|
11840
11934
|
"2": {
|
|
11841
11935
|
"color": {
|
|
11842
|
-
"value": "#
|
|
11936
|
+
"value": "#f85e2b0d",
|
|
11843
11937
|
"type": "color",
|
|
11844
11938
|
"$extensions": {
|
|
11845
11939
|
"com.figma.scopes": [
|
|
@@ -11859,7 +11953,7 @@
|
|
|
11859
11953
|
}
|
|
11860
11954
|
},
|
|
11861
11955
|
"offset-y": {
|
|
11862
|
-
"value": "
|
|
11956
|
+
"value": "1.25rem",
|
|
11863
11957
|
"type": "dimension",
|
|
11864
11958
|
"$extensions": {
|
|
11865
11959
|
"com.figma.scopes": [
|
|
@@ -11869,7 +11963,7 @@
|
|
|
11869
11963
|
}
|
|
11870
11964
|
},
|
|
11871
11965
|
"blur-radius": {
|
|
11872
|
-
"value": "
|
|
11966
|
+
"value": "2rem",
|
|
11873
11967
|
"type": "dimension",
|
|
11874
11968
|
"$extensions": {
|
|
11875
11969
|
"com.figma.scopes": [
|
|
@@ -16899,7 +16993,7 @@
|
|
|
16899
16993
|
"border": {
|
|
16900
16994
|
"surface": {
|
|
16901
16995
|
"default-light": {
|
|
16902
|
-
"value": "{
|
|
16996
|
+
"value": "{solea.colors.rose.700}",
|
|
16903
16997
|
"type": "color",
|
|
16904
16998
|
"$extensions": {
|
|
16905
16999
|
"com.figma.scopes": [
|
|
@@ -16909,7 +17003,7 @@
|
|
|
16909
17003
|
}
|
|
16910
17004
|
},
|
|
16911
17005
|
"default-dark": {
|
|
16912
|
-
"value": "{aa.colors.
|
|
17006
|
+
"value": "{aa.colors.basalt.200}",
|
|
16913
17007
|
"type": "color",
|
|
16914
17008
|
"$extensions": {
|
|
16915
17009
|
"com.figma.scopes": [
|
|
@@ -17281,6 +17375,30 @@
|
|
|
17281
17375
|
}
|
|
17282
17376
|
}
|
|
17283
17377
|
}
|
|
17378
|
+
},
|
|
17379
|
+
"base": {
|
|
17380
|
+
"white-pure": {
|
|
17381
|
+
"value": "{aa.colors.base.white}",
|
|
17382
|
+
"type": "color",
|
|
17383
|
+
"$extensions": {
|
|
17384
|
+
"com.figma.scopes": [
|
|
17385
|
+
"FRAME_FILL",
|
|
17386
|
+
"SHAPE_FILL"
|
|
17387
|
+
],
|
|
17388
|
+
"com.figma.hiddenFromPublishing": true
|
|
17389
|
+
}
|
|
17390
|
+
},
|
|
17391
|
+
"black-pure": {
|
|
17392
|
+
"value": "{aa.colors.base.black}",
|
|
17393
|
+
"type": "color",
|
|
17394
|
+
"$extensions": {
|
|
17395
|
+
"com.figma.scopes": [
|
|
17396
|
+
"FRAME_FILL",
|
|
17397
|
+
"SHAPE_FILL"
|
|
17398
|
+
],
|
|
17399
|
+
"com.figma.hiddenFromPublishing": true
|
|
17400
|
+
}
|
|
17401
|
+
}
|
|
17284
17402
|
}
|
|
17285
17403
|
},
|
|
17286
17404
|
"shadow": {
|
|
@@ -18746,6 +18864,22 @@
|
|
|
18746
18864
|
"com.figma.hiddenFromPublishing": true
|
|
18747
18865
|
}
|
|
18748
18866
|
}
|
|
18867
|
+
},
|
|
18868
|
+
"Heading 2XL": {
|
|
18869
|
+
"regular": {
|
|
18870
|
+
"value": {
|
|
18871
|
+
"fontFamily": "{font.font-family.body}",
|
|
18872
|
+
"fontWeight": "{fontWeights.saans-0}",
|
|
18873
|
+
"lineHeight": "{font.line-height.60}",
|
|
18874
|
+
"fontSize": "{fontSize.7}",
|
|
18875
|
+
"letterSpacing": "{letterSpacing.0}",
|
|
18876
|
+
"paragraphSpacing": "{paragraphSpacing.0}",
|
|
18877
|
+
"paragraphIndent": "{paragraphIndent.0}",
|
|
18878
|
+
"textCase": "{textCase.none}",
|
|
18879
|
+
"textDecoration": "{textDecoration.none}"
|
|
18880
|
+
},
|
|
18881
|
+
"type": "typography"
|
|
18882
|
+
}
|
|
18749
18883
|
}
|
|
18750
18884
|
},
|
|
18751
18885
|
"$themes": [],
|