@revikornmann/muka-ui 0.59.0 → 0.61.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.
Files changed (28) hide show
  1. package/dist/cjs/components/PhotoUploader/PhotoUploader.css +21 -0
  2. package/dist/esm/components/PhotoUploader/PhotoUploader.css +21 -0
  3. package/dist/styles/components/PhotoUploader.css +21 -0
  4. package/dist/styles/fonts/bricolage-grotesque-latin-ext-opsz-normal.woff2 +0 -0
  5. package/dist/styles/fonts/bricolage-grotesque-latin-opsz-normal.woff2 +0 -0
  6. package/dist/styles/fonts/{red-hat-text.LICENSE.txt → bricolage-grotesque.LICENSE.txt} +1 -1
  7. package/dist/styles/fonts/figtree-latin-ext-wght-normal.woff2 +0 -0
  8. package/dist/styles/fonts/figtree-latin-wght-normal.woff2 +0 -0
  9. package/dist/styles/fonts/{red-hat-display.LICENSE.txt → figtree.LICENSE.txt} +1 -1
  10. package/dist/styles/fonts-all.css +40 -40
  11. package/dist/styles/fonts-bouwplan.css +16 -16
  12. package/dist/styles/index.css +1058 -1037
  13. package/dist/styles/muka-dark.css +1058 -1037
  14. package/dist/styles/muka-light.css +1058 -1037
  15. package/dist/styles/tokens-bouwplan-dark.css +45 -45
  16. package/dist/styles/tokens-bouwplan-light.css +45 -45
  17. package/dist/styles/wireframe-dark.css +1058 -1037
  18. package/dist/styles/wireframe-light.css +1058 -1037
  19. package/docs/consumers/brand.md +1 -1
  20. package/package.json +3 -3
  21. package/scripts/build-fonts.js +5 -3
  22. package/skills/add-brand/SKILL.md +2 -2
  23. package/skills/add-brand/reference.md +1 -1
  24. package/tokens/t2-alias/brand/bouwplan/fonts.json +2 -2
  25. package/dist/styles/fonts/red-hat-display-latin-ext-wght-normal.woff2 +0 -0
  26. package/dist/styles/fonts/red-hat-display-latin-wght-normal.woff2 +0 -0
  27. package/dist/styles/fonts/red-hat-text-latin-ext-wght-normal.woff2 +0 -0
  28. package/dist/styles/fonts/red-hat-text-latin-wght-normal.woff2 +0 -0
@@ -74,6 +74,27 @@
74
74
  color: var(--color-text-default-default);
75
75
  }
76
76
 
77
+ /*
78
+ * Touch devices (phones, tablets without a mouse) have nothing to drag a file
79
+ * from: the card and its "or drop here" hint go, and only the button stays.
80
+ * Keyed on input capability, not width, so a narrow desktop window keeps
81
+ * its drop zone.
82
+ */
83
+ @media (hover: none) and (pointer: coarse) {
84
+ .muka-photo-uploader__dropzone {
85
+ align-items: flex-start;
86
+ padding: 0;
87
+ background-color: transparent;
88
+ border: none;
89
+ border-radius: 0;
90
+ cursor: default;
91
+ }
92
+
93
+ .muka-photo-uploader__dropzone-text {
94
+ display: none;
95
+ }
96
+ }
97
+
77
98
  /* ─── Disabled ────────────────────────────────────────── */
78
99
  .muka-photo-uploader--disabled .muka-photo-uploader__dropzone {
79
100
  cursor: not-allowed;
@@ -74,6 +74,27 @@
74
74
  color: var(--color-text-default-default);
75
75
  }
76
76
 
77
+ /*
78
+ * Touch devices (phones, tablets without a mouse) have nothing to drag a file
79
+ * from: the card and its "or drop here" hint go, and only the button stays.
80
+ * Keyed on input capability, not width, so a narrow desktop window keeps
81
+ * its drop zone.
82
+ */
83
+ @media (hover: none) and (pointer: coarse) {
84
+ .muka-photo-uploader__dropzone {
85
+ align-items: flex-start;
86
+ padding: 0;
87
+ background-color: transparent;
88
+ border: none;
89
+ border-radius: 0;
90
+ cursor: default;
91
+ }
92
+
93
+ .muka-photo-uploader__dropzone-text {
94
+ display: none;
95
+ }
96
+ }
97
+
77
98
  /* ─── Disabled ────────────────────────────────────────── */
78
99
  .muka-photo-uploader--disabled .muka-photo-uploader__dropzone {
79
100
  cursor: not-allowed;
@@ -74,6 +74,27 @@
74
74
  color: var(--color-text-default-default);
75
75
  }
76
76
 
77
+ /*
78
+ * Touch devices (phones, tablets without a mouse) have nothing to drag a file
79
+ * from: the card and its "or drop here" hint go, and only the button stays.
80
+ * Keyed on input capability, not width, so a narrow desktop window keeps
81
+ * its drop zone.
82
+ */
83
+ @media (hover: none) and (pointer: coarse) {
84
+ .muka-photo-uploader__dropzone {
85
+ align-items: flex-start;
86
+ padding: 0;
87
+ background-color: transparent;
88
+ border: none;
89
+ border-radius: 0;
90
+ cursor: default;
91
+ }
92
+
93
+ .muka-photo-uploader__dropzone-text {
94
+ display: none;
95
+ }
96
+ }
97
+
77
98
  /* ─── Disabled ────────────────────────────────────────── */
78
99
  .muka-photo-uploader--disabled .muka-photo-uploader__dropzone {
79
100
  cursor: not-allowed;
@@ -1,4 +1,4 @@
1
- Copyright 2024 The Red Hat Project Authors (https://github.com/RedHatOfficial/RedHatFont) RedHatText-Italic[wght].ttf: Copyright 2024 The Red Hat Project Authors (https://github.com/RedHatOfficial/RedHatFont)
1
+ Copyright 2022 The Bricolage Grotesque Project Authors (https://github.com/ateliertriay/bricolage)
2
2
 
3
3
  This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
4
  This license is copied below, and is also available with a FAQ at:
@@ -1,4 +1,4 @@
1
- Copyright 2024 The Red Hat Project Authors (https://github.com/RedHatOfficial/RedHatFont) RedHatDisplay-Italic[wght].ttf: Copyright 2024 The Red Hat Project Authors (https://github.com/RedHatOfficial/RedHatFont)
1
+ Copyright 2022 The Figtree Project Authors (https://github.com/erikdkennedy/figtree) Figtree-Italic[wght].ttf: Copyright 2022 The Figtree Project Authors (https://github.com/erikdkennedy/figtree)
2
2
 
3
3
  This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
4
  This license is copied below, and is also available with a FAQ at:
@@ -2,6 +2,46 @@
2
2
  /* Generated by build-fonts.js - DO NOT EDIT */
3
3
  /* Self-hosted brand fonts (SIL OFL). See ./fonts/*.LICENSE.txt */
4
4
 
5
+ /* Bricolage Grotesque — latin */
6
+ @font-face {
7
+ font-family: 'Bricolage Grotesque';
8
+ font-style: normal;
9
+ font-weight: 200 800;
10
+ font-display: swap;
11
+ src: url('./fonts/bricolage-grotesque-latin-opsz-normal.woff2') format('woff2');
12
+ unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
13
+ }
14
+
15
+ /* Bricolage Grotesque — latin-ext */
16
+ @font-face {
17
+ font-family: 'Bricolage Grotesque';
18
+ font-style: normal;
19
+ font-weight: 200 800;
20
+ font-display: swap;
21
+ src: url('./fonts/bricolage-grotesque-latin-ext-opsz-normal.woff2') format('woff2');
22
+ unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
23
+ }
24
+
25
+ /* Figtree — latin */
26
+ @font-face {
27
+ font-family: 'Figtree';
28
+ font-style: normal;
29
+ font-weight: 300 900;
30
+ font-display: swap;
31
+ src: url('./fonts/figtree-latin-wght-normal.woff2') format('woff2');
32
+ unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
33
+ }
34
+
35
+ /* Figtree — latin-ext */
36
+ @font-face {
37
+ font-family: 'Figtree';
38
+ font-style: normal;
39
+ font-weight: 300 900;
40
+ font-display: swap;
41
+ src: url('./fonts/figtree-latin-ext-wght-normal.woff2') format('woff2');
42
+ unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
43
+ }
44
+
5
45
  /* Funnel Display — latin */
6
46
  @font-face {
7
47
  font-family: 'Funnel Display';
@@ -102,46 +142,6 @@
102
142
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
103
143
  }
104
144
 
105
- /* Red Hat Display — latin */
106
- @font-face {
107
- font-family: 'Red Hat Display';
108
- font-style: normal;
109
- font-weight: 300 900;
110
- font-display: swap;
111
- src: url('./fonts/red-hat-display-latin-wght-normal.woff2') format('woff2');
112
- unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
113
- }
114
-
115
- /* Red Hat Display — latin-ext */
116
- @font-face {
117
- font-family: 'Red Hat Display';
118
- font-style: normal;
119
- font-weight: 300 900;
120
- font-display: swap;
121
- src: url('./fonts/red-hat-display-latin-ext-wght-normal.woff2') format('woff2');
122
- unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
123
- }
124
-
125
- /* Red Hat Text — latin */
126
- @font-face {
127
- font-family: 'Red Hat Text';
128
- font-style: normal;
129
- font-weight: 300 700;
130
- font-display: swap;
131
- src: url('./fonts/red-hat-text-latin-wght-normal.woff2') format('woff2');
132
- unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
133
- }
134
-
135
- /* Red Hat Text — latin-ext */
136
- @font-face {
137
- font-family: 'Red Hat Text';
138
- font-style: normal;
139
- font-weight: 300 700;
140
- font-display: swap;
141
- src: url('./fonts/red-hat-text-latin-ext-wght-normal.woff2') format('woff2');
142
- unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
143
- }
144
-
145
145
  /* Yesteryear — latin */
146
146
  @font-face {
147
147
  font-family: 'Yesteryear';
@@ -2,43 +2,43 @@
2
2
  /* Generated by build-fonts.js - DO NOT EDIT */
3
3
  /* Self-hosted brand fonts (SIL OFL). See ./fonts/*.LICENSE.txt */
4
4
 
5
- /* Red Hat Display — latin */
5
+ /* Bricolage Grotesque — latin */
6
6
  @font-face {
7
- font-family: 'Red Hat Display';
7
+ font-family: 'Bricolage Grotesque';
8
8
  font-style: normal;
9
- font-weight: 300 900;
9
+ font-weight: 200 800;
10
10
  font-display: swap;
11
- src: url('./fonts/red-hat-display-latin-wght-normal.woff2') format('woff2');
11
+ src: url('./fonts/bricolage-grotesque-latin-opsz-normal.woff2') format('woff2');
12
12
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
13
13
  }
14
14
 
15
- /* Red Hat Display — latin-ext */
15
+ /* Bricolage Grotesque — latin-ext */
16
16
  @font-face {
17
- font-family: 'Red Hat Display';
17
+ font-family: 'Bricolage Grotesque';
18
18
  font-style: normal;
19
- font-weight: 300 900;
19
+ font-weight: 200 800;
20
20
  font-display: swap;
21
- src: url('./fonts/red-hat-display-latin-ext-wght-normal.woff2') format('woff2');
21
+ src: url('./fonts/bricolage-grotesque-latin-ext-opsz-normal.woff2') format('woff2');
22
22
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
23
23
  }
24
24
 
25
- /* Red Hat Text — latin */
25
+ /* Figtree — latin */
26
26
  @font-face {
27
- font-family: 'Red Hat Text';
27
+ font-family: 'Figtree';
28
28
  font-style: normal;
29
- font-weight: 300 700;
29
+ font-weight: 300 900;
30
30
  font-display: swap;
31
- src: url('./fonts/red-hat-text-latin-wght-normal.woff2') format('woff2');
31
+ src: url('./fonts/figtree-latin-wght-normal.woff2') format('woff2');
32
32
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
33
33
  }
34
34
 
35
- /* Red Hat Text — latin-ext */
35
+ /* Figtree — latin-ext */
36
36
  @font-face {
37
- font-family: 'Red Hat Text';
37
+ font-family: 'Figtree';
38
38
  font-style: normal;
39
- font-weight: 300 700;
39
+ font-weight: 300 900;
40
40
  font-display: swap;
41
- src: url('./fonts/red-hat-text-latin-ext-wght-normal.woff2') format('woff2');
41
+ src: url('./fonts/figtree-latin-ext-wght-normal.woff2') format('woff2');
42
42
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
43
43
  }
44
44