@revikornmann/muka-ui 0.4.0 → 0.4.1

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.
@@ -5532,6 +5532,53 @@ body {
5532
5532
  }
5533
5533
 
5534
5534
 
5535
+ /* PullToRefresh */
5536
+ /* PullToRefresh Component Styles */
5537
+
5538
+ .muka-pull-to-refresh {
5539
+ position: relative;
5540
+ display: flex;
5541
+ flex-direction: column;
5542
+ width: 100%;
5543
+ height: 100%;
5544
+ overflow: hidden;
5545
+ }
5546
+
5547
+ .muka-pull-to-refresh__indicator {
5548
+ position: absolute;
5549
+ top: 0;
5550
+ left: 0;
5551
+ right: 0;
5552
+ display: flex;
5553
+ align-items: flex-end;
5554
+ justify-content: center;
5555
+ padding-bottom: var(--spacing-2);
5556
+ color: var(--color-text-subtle-default);
5557
+ overflow: hidden;
5558
+ pointer-events: none;
5559
+ z-index: 1;
5560
+ }
5561
+
5562
+ .muka-pull-to-refresh__chevron {
5563
+ display: inline-flex;
5564
+ align-items: center;
5565
+ justify-content: center;
5566
+ transition: transform 0.16s ease;
5567
+ }
5568
+
5569
+ .muka-pull-to-refresh__scroller {
5570
+ flex: 1 1 auto;
5571
+ min-height: 0;
5572
+ width: 100%;
5573
+ overflow-x: clip;
5574
+ overflow-y: auto;
5575
+ -webkit-overflow-scrolling: touch;
5576
+ overscroll-behavior-y: contain;
5577
+ touch-action: pan-y;
5578
+ will-change: transform;
5579
+ }
5580
+
5581
+
5535
5582
  /* Progress */
5536
5583
  /* Progress Component Styles - Using Muka Design Tokens */
5537
5584
 
@@ -5704,53 +5751,6 @@ body {
5704
5751
  }
5705
5752
 
5706
5753
 
5707
- /* PullToRefresh */
5708
- /* PullToRefresh Component Styles */
5709
-
5710
- .muka-pull-to-refresh {
5711
- position: relative;
5712
- display: flex;
5713
- flex-direction: column;
5714
- width: 100%;
5715
- height: 100%;
5716
- overflow: hidden;
5717
- }
5718
-
5719
- .muka-pull-to-refresh__indicator {
5720
- position: absolute;
5721
- top: 0;
5722
- left: 0;
5723
- right: 0;
5724
- display: flex;
5725
- align-items: flex-end;
5726
- justify-content: center;
5727
- padding-bottom: var(--spacing-2);
5728
- color: var(--color-text-subtle-default);
5729
- overflow: hidden;
5730
- pointer-events: none;
5731
- z-index: 1;
5732
- }
5733
-
5734
- .muka-pull-to-refresh__chevron {
5735
- display: inline-flex;
5736
- align-items: center;
5737
- justify-content: center;
5738
- transition: transform 0.16s ease;
5739
- }
5740
-
5741
- .muka-pull-to-refresh__scroller {
5742
- flex: 1 1 auto;
5743
- min-height: 0;
5744
- width: 100%;
5745
- overflow-x: clip;
5746
- overflow-y: auto;
5747
- -webkit-overflow-scrolling: touch;
5748
- overscroll-behavior-y: contain;
5749
- touch-action: pan-y;
5750
- will-change: transform;
5751
- }
5752
-
5753
-
5754
5754
  /* ProfileBadge */
5755
5755
  /* ProfileBadge Component Styles - Using Muka Design Tokens */
5756
5756
 
@@ -6871,47 +6871,6 @@ li.muka-listitem {
6871
6871
  }
6872
6872
 
6873
6873
 
6874
- /* Label */
6875
- /* Label Component Styles - Using Muka Design Tokens */
6876
-
6877
- .muka-label {
6878
- display: inline-flex;
6879
- align-items: center;
6880
- color: var(--color-text-default-default);
6881
- cursor: pointer;
6882
- }
6883
-
6884
- .muka-label--sm {
6885
- font-family: var(--text-label-sm-semibold-fontFamily);
6886
- font-weight: var(--text-label-sm-semibold-fontWeight);
6887
- font-size: var(--text-label-sm-semibold-fontSize);
6888
- line-height: var(--text-label-sm-semibold-lineHeight);
6889
- }
6890
-
6891
- .muka-label--md {
6892
- font-family: var(--text-label-md-semibold-fontFamily);
6893
- font-weight: var(--text-label-md-semibold-fontWeight);
6894
- font-size: var(--text-label-md-semibold-fontSize);
6895
- line-height: var(--text-label-md-semibold-lineHeight);
6896
- }
6897
-
6898
- .muka-label--lg {
6899
- font-family: var(--text-label-lg-semibold-fontFamily);
6900
- font-weight: var(--text-label-lg-semibold-fontWeight);
6901
- font-size: var(--text-label-lg-semibold-fontSize);
6902
- line-height: var(--text-label-lg-semibold-lineHeight);
6903
- }
6904
-
6905
- .muka-label--disabled {
6906
- color: var(--color-text-subtle-default);
6907
- cursor: not-allowed;
6908
- }
6909
-
6910
- .muka-label__required {
6911
- color: var(--color-state-error-foreground);
6912
- }
6913
-
6914
-
6915
6874
  /* Input */
6916
6875
  /* Input Component Styles - Using Muka Design Tokens */
6917
6876
 
@@ -7604,6 +7563,47 @@ li.muka-listitem {
7604
7563
  }
7605
7564
 
7606
7565
 
7566
+ /* Label */
7567
+ /* Label Component Styles - Using Muka Design Tokens */
7568
+
7569
+ .muka-label {
7570
+ display: inline-flex;
7571
+ align-items: center;
7572
+ color: var(--color-text-default-default);
7573
+ cursor: pointer;
7574
+ }
7575
+
7576
+ .muka-label--sm {
7577
+ font-family: var(--text-label-sm-semibold-fontFamily);
7578
+ font-weight: var(--text-label-sm-semibold-fontWeight);
7579
+ font-size: var(--text-label-sm-semibold-fontSize);
7580
+ line-height: var(--text-label-sm-semibold-lineHeight);
7581
+ }
7582
+
7583
+ .muka-label--md {
7584
+ font-family: var(--text-label-md-semibold-fontFamily);
7585
+ font-weight: var(--text-label-md-semibold-fontWeight);
7586
+ font-size: var(--text-label-md-semibold-fontSize);
7587
+ line-height: var(--text-label-md-semibold-lineHeight);
7588
+ }
7589
+
7590
+ .muka-label--lg {
7591
+ font-family: var(--text-label-lg-semibold-fontFamily);
7592
+ font-weight: var(--text-label-lg-semibold-fontWeight);
7593
+ font-size: var(--text-label-lg-semibold-fontSize);
7594
+ line-height: var(--text-label-lg-semibold-lineHeight);
7595
+ }
7596
+
7597
+ .muka-label--disabled {
7598
+ color: var(--color-text-subtle-default);
7599
+ cursor: not-allowed;
7600
+ }
7601
+
7602
+ .muka-label__required {
7603
+ color: var(--color-state-error-foreground);
7604
+ }
7605
+
7606
+
7607
7607
  /* FAB */
7608
7608
  /* FAB (Floating Action Button) Component Styles */
7609
7609
 
@@ -5532,6 +5532,53 @@ body {
5532
5532
  }
5533
5533
 
5534
5534
 
5535
+ /* PullToRefresh */
5536
+ /* PullToRefresh Component Styles */
5537
+
5538
+ .muka-pull-to-refresh {
5539
+ position: relative;
5540
+ display: flex;
5541
+ flex-direction: column;
5542
+ width: 100%;
5543
+ height: 100%;
5544
+ overflow: hidden;
5545
+ }
5546
+
5547
+ .muka-pull-to-refresh__indicator {
5548
+ position: absolute;
5549
+ top: 0;
5550
+ left: 0;
5551
+ right: 0;
5552
+ display: flex;
5553
+ align-items: flex-end;
5554
+ justify-content: center;
5555
+ padding-bottom: var(--spacing-2);
5556
+ color: var(--color-text-subtle-default);
5557
+ overflow: hidden;
5558
+ pointer-events: none;
5559
+ z-index: 1;
5560
+ }
5561
+
5562
+ .muka-pull-to-refresh__chevron {
5563
+ display: inline-flex;
5564
+ align-items: center;
5565
+ justify-content: center;
5566
+ transition: transform 0.16s ease;
5567
+ }
5568
+
5569
+ .muka-pull-to-refresh__scroller {
5570
+ flex: 1 1 auto;
5571
+ min-height: 0;
5572
+ width: 100%;
5573
+ overflow-x: clip;
5574
+ overflow-y: auto;
5575
+ -webkit-overflow-scrolling: touch;
5576
+ overscroll-behavior-y: contain;
5577
+ touch-action: pan-y;
5578
+ will-change: transform;
5579
+ }
5580
+
5581
+
5535
5582
  /* Progress */
5536
5583
  /* Progress Component Styles - Using Muka Design Tokens */
5537
5584
 
@@ -5704,53 +5751,6 @@ body {
5704
5751
  }
5705
5752
 
5706
5753
 
5707
- /* PullToRefresh */
5708
- /* PullToRefresh Component Styles */
5709
-
5710
- .muka-pull-to-refresh {
5711
- position: relative;
5712
- display: flex;
5713
- flex-direction: column;
5714
- width: 100%;
5715
- height: 100%;
5716
- overflow: hidden;
5717
- }
5718
-
5719
- .muka-pull-to-refresh__indicator {
5720
- position: absolute;
5721
- top: 0;
5722
- left: 0;
5723
- right: 0;
5724
- display: flex;
5725
- align-items: flex-end;
5726
- justify-content: center;
5727
- padding-bottom: var(--spacing-2);
5728
- color: var(--color-text-subtle-default);
5729
- overflow: hidden;
5730
- pointer-events: none;
5731
- z-index: 1;
5732
- }
5733
-
5734
- .muka-pull-to-refresh__chevron {
5735
- display: inline-flex;
5736
- align-items: center;
5737
- justify-content: center;
5738
- transition: transform 0.16s ease;
5739
- }
5740
-
5741
- .muka-pull-to-refresh__scroller {
5742
- flex: 1 1 auto;
5743
- min-height: 0;
5744
- width: 100%;
5745
- overflow-x: clip;
5746
- overflow-y: auto;
5747
- -webkit-overflow-scrolling: touch;
5748
- overscroll-behavior-y: contain;
5749
- touch-action: pan-y;
5750
- will-change: transform;
5751
- }
5752
-
5753
-
5754
5754
  /* ProfileBadge */
5755
5755
  /* ProfileBadge Component Styles - Using Muka Design Tokens */
5756
5756
 
@@ -6871,47 +6871,6 @@ li.muka-listitem {
6871
6871
  }
6872
6872
 
6873
6873
 
6874
- /* Label */
6875
- /* Label Component Styles - Using Muka Design Tokens */
6876
-
6877
- .muka-label {
6878
- display: inline-flex;
6879
- align-items: center;
6880
- color: var(--color-text-default-default);
6881
- cursor: pointer;
6882
- }
6883
-
6884
- .muka-label--sm {
6885
- font-family: var(--text-label-sm-semibold-fontFamily);
6886
- font-weight: var(--text-label-sm-semibold-fontWeight);
6887
- font-size: var(--text-label-sm-semibold-fontSize);
6888
- line-height: var(--text-label-sm-semibold-lineHeight);
6889
- }
6890
-
6891
- .muka-label--md {
6892
- font-family: var(--text-label-md-semibold-fontFamily);
6893
- font-weight: var(--text-label-md-semibold-fontWeight);
6894
- font-size: var(--text-label-md-semibold-fontSize);
6895
- line-height: var(--text-label-md-semibold-lineHeight);
6896
- }
6897
-
6898
- .muka-label--lg {
6899
- font-family: var(--text-label-lg-semibold-fontFamily);
6900
- font-weight: var(--text-label-lg-semibold-fontWeight);
6901
- font-size: var(--text-label-lg-semibold-fontSize);
6902
- line-height: var(--text-label-lg-semibold-lineHeight);
6903
- }
6904
-
6905
- .muka-label--disabled {
6906
- color: var(--color-text-subtle-default);
6907
- cursor: not-allowed;
6908
- }
6909
-
6910
- .muka-label__required {
6911
- color: var(--color-state-error-foreground);
6912
- }
6913
-
6914
-
6915
6874
  /* Input */
6916
6875
  /* Input Component Styles - Using Muka Design Tokens */
6917
6876
 
@@ -7604,6 +7563,47 @@ li.muka-listitem {
7604
7563
  }
7605
7564
 
7606
7565
 
7566
+ /* Label */
7567
+ /* Label Component Styles - Using Muka Design Tokens */
7568
+
7569
+ .muka-label {
7570
+ display: inline-flex;
7571
+ align-items: center;
7572
+ color: var(--color-text-default-default);
7573
+ cursor: pointer;
7574
+ }
7575
+
7576
+ .muka-label--sm {
7577
+ font-family: var(--text-label-sm-semibold-fontFamily);
7578
+ font-weight: var(--text-label-sm-semibold-fontWeight);
7579
+ font-size: var(--text-label-sm-semibold-fontSize);
7580
+ line-height: var(--text-label-sm-semibold-lineHeight);
7581
+ }
7582
+
7583
+ .muka-label--md {
7584
+ font-family: var(--text-label-md-semibold-fontFamily);
7585
+ font-weight: var(--text-label-md-semibold-fontWeight);
7586
+ font-size: var(--text-label-md-semibold-fontSize);
7587
+ line-height: var(--text-label-md-semibold-lineHeight);
7588
+ }
7589
+
7590
+ .muka-label--lg {
7591
+ font-family: var(--text-label-lg-semibold-fontFamily);
7592
+ font-weight: var(--text-label-lg-semibold-fontWeight);
7593
+ font-size: var(--text-label-lg-semibold-fontSize);
7594
+ line-height: var(--text-label-lg-semibold-lineHeight);
7595
+ }
7596
+
7597
+ .muka-label--disabled {
7598
+ color: var(--color-text-subtle-default);
7599
+ cursor: not-allowed;
7600
+ }
7601
+
7602
+ .muka-label__required {
7603
+ color: var(--color-state-error-foreground);
7604
+ }
7605
+
7606
+
7607
7607
  /* FAB */
7608
7608
  /* FAB (Floating Action Button) Component Styles */
7609
7609
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@revikornmann/muka-ui",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Muka Design System - Multi-brand design tokens and React components",
5
5
  "main": "dist/cjs/components/index.js",
6
6
  "module": "dist/esm/components/index.js",
@@ -6,58 +6,58 @@
6
6
  "alias": {
7
7
  "color": {
8
8
  "neutral": {
9
- "1": { "$type": "color", "$value": "{color.slateDark.1}" },
10
- "2": { "$type": "color", "$value": "{color.slateDark.2}" },
11
- "3": { "$type": "color", "$value": "{color.slateDark.3}" },
12
- "4": { "$type": "color", "$value": "{color.slateDark.4}" },
13
- "5": { "$type": "color", "$value": "{color.slateDark.5}" },
14
- "6": { "$type": "color", "$value": "{color.slateDark.6}" },
15
- "7": { "$type": "color", "$value": "{color.slateDark.7}" },
16
- "8": { "$type": "color", "$value": "{color.slateDark.8}" },
17
- "9": { "$type": "color", "$value": "{color.slateDark.9}" },
18
- "10": { "$type": "color", "$value": "{color.slateDark.10}" },
19
- "11": { "$type": "color", "$value": "{color.slateDark.11}" },
20
- "12": { "$type": "color", "$value": "{color.slateDark.12}" }
9
+ "1": { "$type": "color", "$value": "{color.sandDark.1}" },
10
+ "2": { "$type": "color", "$value": "{color.sandDark.2}" },
11
+ "3": { "$type": "color", "$value": "{color.sandDark.3}" },
12
+ "4": { "$type": "color", "$value": "{color.sandDark.4}" },
13
+ "5": { "$type": "color", "$value": "{color.sandDark.5}" },
14
+ "6": { "$type": "color", "$value": "{color.sandDark.6}" },
15
+ "7": { "$type": "color", "$value": "{color.sandDark.7}" },
16
+ "8": { "$type": "color", "$value": "{color.sandDark.8}" },
17
+ "9": { "$type": "color", "$value": "{color.sandDark.9}" },
18
+ "10": { "$type": "color", "$value": "{color.sandDark.10}" },
19
+ "11": { "$type": "color", "$value": "{color.sandDark.11}" },
20
+ "12": { "$type": "color", "$value": "{color.sandDark.12}" }
21
21
  },
22
22
  "brand": {
23
23
  "primary": {
24
- "regular": { "$type": "color", "$value": "{color.blueDark.11}" },
25
- "contrast": { "$type": "color", "$value": "{color.blueDark.12}" },
26
- "muted": { "$type": "color", "$value": "{color.blueDark.3}" }
24
+ "regular": { "$type": "color", "$value": "{color.orangeDark.9}" },
25
+ "contrast": { "$type": "color", "$value": "{color.orangeDark.12}" },
26
+ "muted": { "$type": "color", "$value": "{color.orangeDark.3}" }
27
27
  },
28
28
  "secondary": {
29
- "regular": { "$type": "color", "$value": "{color.cyanDark.8}" },
30
- "contrast": { "$type": "color", "$value": "{color.cyanDark.11}" },
31
- "muted": { "$type": "color", "$value": "{color.cyanDark.3}" }
29
+ "regular": { "$type": "color", "$value": "{color.orangeDark.8}" },
30
+ "contrast": { "$type": "color", "$value": "{color.orangeDark.10}" },
31
+ "muted": { "$type": "color", "$value": "{color.orangeDark.3}" }
32
32
  },
33
- "default-deprecated": { "$type": "color", "$value": "{color.blueDark.9}" },
34
- "contrast-deprecated": { "$type": "color", "$value": "{color.blueDark.12}" },
35
- "muted-deprecated": { "$type": "color", "$value": "{color.blueDark.5}" }
33
+ "default-deprecated": { "$type": "color", "$value": "{color.orangeDark.9}" },
34
+ "contrast-deprecated": { "$type": "color", "$value": "{color.orangeDark.12}" },
35
+ "muted-deprecated": { "$type": "color", "$value": "{color.orangeDark.4}" }
36
36
  },
37
37
  "accent": {
38
- "default": { "$type": "color", "$value": "{color.blueDark.11}" },
39
- "hover": { "$type": "color", "$value": "{color.blueDark.12}" },
40
- "pressed": { "$type": "color", "$value": "{color.blueDark.10}" },
41
- "contrast": { "$type": "color", "$value": "{color.blueDark.12}" },
42
- "muted": { "$type": "color", "$value": "{color.blueDark.6}" },
38
+ "default": { "$type": "color", "$value": "{color.orangeDark.9}" },
39
+ "hover": { "$type": "color", "$value": "{color.orangeDark.12}" },
40
+ "pressed": { "$type": "color", "$value": "{color.orangeDark.10}" },
41
+ "contrast": { "$type": "color", "$value": "{color.orangeDark.12}" },
42
+ "muted": { "$type": "color", "$value": "{color.orangeDark.7}" },
43
43
  "inverse": {
44
- "default": { "$type": "color", "$value": "{color.blueDark.1}" },
45
- "hover": { "$type": "color", "$value": "{color.blueDark.2}" },
46
- "pressed": { "$type": "color", "$value": "{color.blueDark.2}" },
47
- "contrast": { "$type": "color", "$value": "{color.blueDark.2}" },
48
- "muted": { "$type": "color", "$value": "{color.blueDark.3}" }
44
+ "default": { "$type": "color", "$value": "{color.orangeDark.1}" },
45
+ "hover": { "$type": "color", "$value": "{color.orangeDark.2}" },
46
+ "pressed": { "$type": "color", "$value": "{color.orangeDark.2}" },
47
+ "contrast": { "$type": "color", "$value": "{color.orangeDark.2}" },
48
+ "muted": { "$type": "color", "$value": "{color.orangeDark.3}" }
49
49
  }
50
50
  },
51
51
  "state": {
52
52
  "success": {
53
- "contrast": { "$type": "color", "$value": "{color.greenDark.12}" },
54
- "default": { "$type": "color", "$value": "{color.greenDark.11}" },
55
- "muted": { "$type": "color", "$value": "{color.greenDark.3}" },
53
+ "contrast": { "$type": "color", "$value": "{color.mintDark.12}" },
54
+ "default": { "$type": "color", "$value": "{color.mintDark.11}" },
55
+ "muted": { "$type": "color", "$value": "{color.mintDark.3}" },
56
56
  "surface": {
57
- "level0": { "$type": "color", "$value": "{color.greenDark.2}" },
58
- "level1": { "$type": "color", "$value": "{color.greenDark.3}" },
59
- "level2": { "$type": "color", "$value": "{color.greenDark.4}" },
60
- "level3": { "$type": "color", "$value": "{color.greenDark.5}" }
57
+ "level0": { "$type": "color", "$value": "{color.mintDark.2}" },
58
+ "level1": { "$type": "color", "$value": "{color.mintDark.3}" },
59
+ "level2": { "$type": "color", "$value": "{color.mintDark.4}" },
60
+ "level3": { "$type": "color", "$value": "{color.mintDark.5}" }
61
61
  }
62
62
  },
63
63
  "warning": {
@@ -94,14 +94,14 @@
94
94
  }
95
95
  },
96
96
  "neutral": {
97
- "contrast": { "$type": "color", "$value": "{color.slateDark.11}" },
98
- "default": { "$type": "color", "$value": "{color.slateDark.9}" },
99
- "muted": { "$type": "color", "$value": "{color.slateDark.3}" },
97
+ "contrast": { "$type": "color", "$value": "{color.sandDark.11}" },
98
+ "default": { "$type": "color", "$value": "{color.sandDark.9}" },
99
+ "muted": { "$type": "color", "$value": "{color.sandDark.3}" },
100
100
  "surface": {
101
- "level0": { "$type": "color", "$value": "{color.slateDark.2}" },
102
- "level1": { "$type": "color", "$value": "{color.slateDark.3}" },
103
- "level2": { "$type": "color", "$value": "{color.slateDark.4}" },
104
- "level3": { "$type": "color", "$value": "{color.slateDark.5}" }
101
+ "level0": { "$type": "color", "$value": "{color.sandDark.2}" },
102
+ "level1": { "$type": "color", "$value": "{color.sandDark.3}" },
103
+ "level2": { "$type": "color", "$value": "{color.sandDark.4}" },
104
+ "level3": { "$type": "color", "$value": "{color.sandDark.5}" }
105
105
  }
106
106
  }
107
107
  }
@@ -6,7 +6,7 @@
6
6
  "alias": {
7
7
  "font": {
8
8
  "brand": {
9
- "family": { "$type": "fontFamilies", "$value": "Manrope" },
9
+ "family": { "$type": "fontFamilies", "$value": "Quicksand" },
10
10
  "weight": {
11
11
  "regular": { "$type": "fontWeights", "$value": "400" },
12
12
  "medium": { "$type": "fontWeights", "$value": "500" },
@@ -15,7 +15,7 @@
15
15
  }
16
16
  },
17
17
  "plain": {
18
- "family": { "$type": "fontFamilies", "$value": "Manrope" },
18
+ "family": { "$type": "fontFamilies", "$value": "Quicksand" },
19
19
  "weight": {
20
20
  "regular": { "$type": "fontWeights", "$value": "400" },
21
21
  "medium": { "$type": "fontWeights", "$value": "500" },
@@ -24,7 +24,7 @@
24
24
  }
25
25
  },
26
26
  "mono": {
27
- "family": { "$type": "fontFamilies", "$value": "JetBrains Mono" },
27
+ "family": { "$type": "fontFamilies", "$value": "Menlo" },
28
28
  "weight": {
29
29
  "regular": { "$type": "fontWeights", "$value": "Regular" },
30
30
  "bold": { "$type": "fontWeights", "$value": "Bold" }