@revikornmann/muka-ui 0.10.0 → 0.11.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/dist/cjs/components/BottomBar/BottomBar.css +24 -2
- package/dist/cjs/components/BottomBar/BottomBar.js +1 -0
- package/dist/cjs/components/BottomBar/BottomBar.js.map +1 -1
- package/dist/esm/components/BottomBar/BottomBar.css +24 -2
- package/dist/esm/components/BottomBar/BottomBar.js +1 -0
- package/dist/esm/components/BottomBar/BottomBar.js.map +1 -1
- package/dist/styles/components/BottomBar.css +24 -2
- package/dist/styles/index.css +745 -722
- package/dist/styles/muka-dark.css +745 -722
- package/dist/styles/muka-light.css +745 -722
- package/dist/styles/tokens-bouwplan-dark.css +3 -2
- package/dist/styles/tokens-bouwplan-light.css +3 -2
- package/dist/styles/tokens-fscl-dark.css +3 -2
- package/dist/styles/tokens-fscl-light.css +3 -2
- package/dist/styles/tokens-grip-dark.css +3 -2
- package/dist/styles/tokens-grip-light.css +3 -2
- package/dist/styles/tokens-muka-dark.css +3 -2
- package/dist/styles/tokens-muka-light.css +3 -2
- package/dist/styles/tokens-wireframe-dark.css +3 -2
- package/dist/styles/tokens-wireframe-light.css +3 -2
- package/dist/styles/wireframe-dark.css +745 -722
- package/dist/styles/wireframe-light.css +745 -722
- package/dist/types/components/BottomBar/BottomBar.d.ts +3 -2
- package/dist/types/components/BottomBar/BottomBar.d.ts.map +1 -1
- package/package.json +1 -1
- package/tokens/t4-components/bottombar.json +11 -5
|
@@ -62,6 +62,30 @@
|
|
|
62
62
|
flex-direction: row;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
+
/* ─── Chat variant (houses a ChatComposer) ───────────── */
|
|
66
|
+
|
|
67
|
+
.muka-bottombar--chat .muka-bottombar__content {
|
|
68
|
+
flex-direction: row;
|
|
69
|
+
max-width: var(--bottombar-chat-max-width);
|
|
70
|
+
width: 100%;
|
|
71
|
+
margin: 0 auto;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/* Docked chat pads its content; the floating card supplies its own padding. */
|
|
75
|
+
.muka-bottombar--chat:not(.muka-bottombar--floating) .muka-bottombar__content {
|
|
76
|
+
padding: var(--bottombar-chat-padding);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/* Floating chat card widens to the chat cap (overrides the md default below). */
|
|
80
|
+
.muka-bottombar--chat.muka-bottombar--floating .muka-bottombar__content {
|
|
81
|
+
max-width: var(--bottombar-chat-max-width);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/* Let the composer fill the wider bar instead of its standalone 768px cap. */
|
|
85
|
+
.muka-bottombar--chat .muka-chat-composer {
|
|
86
|
+
max-width: none;
|
|
87
|
+
}
|
|
88
|
+
|
|
65
89
|
/* ─── Tab item ────────────────────────────────────────── */
|
|
66
90
|
|
|
67
91
|
.muka-bottombar__tab {
|
|
@@ -118,8 +142,6 @@
|
|
|
118
142
|
var(--bottombar-floating-backdrop-start),
|
|
119
143
|
var(--bottombar-floating-backdrop-end)
|
|
120
144
|
);
|
|
121
|
-
backdrop-filter: blur(var(--bottombar-floating-backdrop-blur));
|
|
122
|
-
-webkit-backdrop-filter: blur(var(--bottombar-floating-backdrop-blur));
|
|
123
145
|
padding: var(--bottombar-floating-padding-top) var(--bottombar-floating-margin-x) var(--bottombar-floating-margin-bottom);
|
|
124
146
|
|
|
125
147
|
/* The transparent frosted margin around the pill overlays scrolling content;
|
|
@@ -23,6 +23,7 @@ exports.BottomBarTab = BottomBarTab;
|
|
|
23
23
|
* **Variants:**
|
|
24
24
|
* - `actions`: Renders children as a row of action buttons.
|
|
25
25
|
* - `navigation`: Renders BottomBarTab children as a tab bar.
|
|
26
|
+
* - `chat`: Houses a ChatComposer, capped at `container.max-width.lg` and centered.
|
|
26
27
|
*
|
|
27
28
|
* **Floating:** When `floating={true}`, the bar becomes a floating card
|
|
28
29
|
* with rounded corners, padding, and shadow — used in "top level" views.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BottomBar.js","sourceRoot":"","sources":["../../../../components/BottomBar/BottomBar.tsx"],"names":[],"mappings":";;;;AACA,2BAAyB;AAqBzB;;GAEG;AACI,MAAM,YAAY,GAAgC,CAAC,EACxD,IAAI,EACJ,UAAU,EACV,KAAK,EACL,MAAM,GAAG,KAAK,EACd,OAAO,GACR,EAAE,EAAE;IACH,MAAM,UAAU,GAAG;QACjB,qBAAqB;QACrB,MAAM,IAAI,6BAA6B;KACxC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAE5B,OAAO,CACL,oCACE,SAAS,EAAE,UAAU,EACrB,OAAO,EAAE,OAAO,EAChB,IAAI,EAAC,KAAK,mBACK,MAAM,gBACT,KAAK,EACjB,IAAI,EAAC,QAAQ,aAEb,iCAAM,SAAS,EAAC,0BAA0B,YACvC,MAAM,IAAI,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,GACpC,EACP,iCAAM,SAAS,EAAC,2BAA2B,YAAE,KAAK,GAAQ,IACnD,CACV,CAAC;AACJ,CAAC,CAAC;AA3BW,QAAA,YAAY,gBA2BvB;AAsCF
|
|
1
|
+
{"version":3,"file":"BottomBar.js","sourceRoot":"","sources":["../../../../components/BottomBar/BottomBar.tsx"],"names":[],"mappings":";;;;AACA,2BAAyB;AAqBzB;;GAEG;AACI,MAAM,YAAY,GAAgC,CAAC,EACxD,IAAI,EACJ,UAAU,EACV,KAAK,EACL,MAAM,GAAG,KAAK,EACd,OAAO,GACR,EAAE,EAAE;IACH,MAAM,UAAU,GAAG;QACjB,qBAAqB;QACrB,MAAM,IAAI,6BAA6B;KACxC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAE5B,OAAO,CACL,oCACE,SAAS,EAAE,UAAU,EACrB,OAAO,EAAE,OAAO,EAChB,IAAI,EAAC,KAAK,mBACK,MAAM,gBACT,KAAK,EACj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
62
|
flex-direction: row;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
+
/* ─── Chat variant (houses a ChatComposer) ───────────── */
|
|
66
|
+
|
|
67
|
+
.muka-bottombar--chat .muka-bottombar__content {
|
|
68
|
+
flex-direction: row;
|
|
69
|
+
max-width: var(--bottombar-chat-max-width);
|
|
70
|
+
width: 100%;
|
|
71
|
+
margin: 0 auto;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/* Docked chat pads its content; the floating card supplies its own padding. */
|
|
75
|
+
.muka-bottombar--chat:not(.muka-bottombar--floating) .muka-bottombar__content {
|
|
76
|
+
padding: var(--bottombar-chat-padding);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/* Floating chat card widens to the chat cap (overrides the md default below). */
|
|
80
|
+
.muka-bottombar--chat.muka-bottombar--floating .muka-bottombar__content {
|
|
81
|
+
max-width: var(--bottombar-chat-max-width);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/* Let the composer fill the wider bar instead of its standalone 768px cap. */
|
|
85
|
+
.muka-bottombar--chat .muka-chat-composer {
|
|
86
|
+
max-width: none;
|
|
87
|
+
}
|
|
88
|
+
|
|
65
89
|
/* ─── Tab item ────────────────────────────────────────── */
|
|
66
90
|
|
|
67
91
|
.muka-bottombar__tab {
|
|
@@ -118,8 +142,6 @@
|
|
|
118
142
|
var(--bottombar-floating-backdrop-start),
|
|
119
143
|
var(--bottombar-floating-backdrop-end)
|
|
120
144
|
);
|
|
121
|
-
backdrop-filter: blur(var(--bottombar-floating-backdrop-blur));
|
|
122
|
-
-webkit-backdrop-filter: blur(var(--bottombar-floating-backdrop-blur));
|
|
123
145
|
padding: var(--bottombar-floating-padding-top) var(--bottombar-floating-margin-x) var(--bottombar-floating-margin-bottom);
|
|
124
146
|
|
|
125
147
|
/* The transparent frosted margin around the pill overlays scrolling content;
|
|
@@ -19,6 +19,7 @@ export const BottomBarTab = ({ icon, activeIcon, label, active = false, onClick,
|
|
|
19
19
|
* **Variants:**
|
|
20
20
|
* - `actions`: Renders children as a row of action buttons.
|
|
21
21
|
* - `navigation`: Renders BottomBarTab children as a tab bar.
|
|
22
|
+
* - `chat`: Houses a ChatComposer, capped at `container.max-width.lg` and centered.
|
|
22
23
|
*
|
|
23
24
|
* **Floating:** When `floating={true}`, the bar becomes a floating card
|
|
24
25
|
* with rounded corners, padding, and shadow — used in "top level" views.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BottomBar.js","sourceRoot":"","sources":["../../../../components/BottomBar/BottomBar.tsx"],"names":[],"mappings":";AACA,OAAO,iBAAiB,CAAC;AAqBzB;;GAEG;AACH,MAAM,CAAC,MAAM,YAAY,GAAgC,CAAC,EACxD,IAAI,EACJ,UAAU,EACV,KAAK,EACL,MAAM,GAAG,KAAK,EACd,OAAO,GACR,EAAE,EAAE;IACH,MAAM,UAAU,GAAG;QACjB,qBAAqB;QACrB,MAAM,IAAI,6BAA6B;KACxC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAE5B,OAAO,CACL,kBACE,SAAS,EAAE,UAAU,EACrB,OAAO,EAAE,OAAO,EAChB,IAAI,EAAC,KAAK,mBACK,MAAM,gBACT,KAAK,EACjB,IAAI,EAAC,QAAQ,aAEb,eAAM,SAAS,EAAC,0BAA0B,YACvC,MAAM,IAAI,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,GACpC,EACP,eAAM,SAAS,EAAC,2BAA2B,YAAE,KAAK,GAAQ,IACnD,CACV,CAAC;AACJ,CAAC,CAAC;AAsCF
|
|
1
|
+
{"version":3,"file":"BottomBar.js","sourceRoot":"","sources":["../../../../components/BottomBar/BottomBar.tsx"],"names":[],"mappings":";AACA,OAAO,iBAAiB,CAAC;AAqBzB;;GAEG;AACH,MAAM,CAAC,MAAM,YAAY,GAAgC,CAAC,EACxD,IAAI,EACJ,UAAU,EACV,KAAK,EACL,MAAM,GAAG,KAA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B,cAAK,SAAS,EAAC,yBAAyB,EAAC,IAAI,EAAC,WAAW,GAAG,CAC7D,EACD,cAAK,SAAS,EAAC,yBAAyB,EAAC,IAAI,EAAE,aAAa,YACzD,QAAQ,GACL,IACC,CACV,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -62,6 +62,30 @@
|
|
|
62
62
|
flex-direction: row;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
+
/* ─── Chat variant (houses a ChatComposer) ───────────── */
|
|
66
|
+
|
|
67
|
+
.muka-bottombar--chat .muka-bottombar__content {
|
|
68
|
+
flex-direction: row;
|
|
69
|
+
max-width: var(--bottombar-chat-max-width);
|
|
70
|
+
width: 100%;
|
|
71
|
+
margin: 0 auto;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/* Docked chat pads its content; the floating card supplies its own padding. */
|
|
75
|
+
.muka-bottombar--chat:not(.muka-bottombar--floating) .muka-bottombar__content {
|
|
76
|
+
padding: var(--bottombar-chat-padding);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/* Floating chat card widens to the chat cap (overrides the md default below). */
|
|
80
|
+
.muka-bottombar--chat.muka-bottombar--floating .muka-bottombar__content {
|
|
81
|
+
max-width: var(--bottombar-chat-max-width);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/* Let the composer fill the wider bar instead of its standalone 768px cap. */
|
|
85
|
+
.muka-bottombar--chat .muka-chat-composer {
|
|
86
|
+
max-width: none;
|
|
87
|
+
}
|
|
88
|
+
|
|
65
89
|
/* ─── Tab item ────────────────────────────────────────── */
|
|
66
90
|
|
|
67
91
|
.muka-bottombar__tab {
|
|
@@ -118,8 +142,6 @@
|
|
|
118
142
|
var(--bottombar-floating-backdrop-start),
|
|
119
143
|
var(--bottombar-floating-backdrop-end)
|
|
120
144
|
);
|
|
121
|
-
backdrop-filter: blur(var(--bottombar-floating-backdrop-blur));
|
|
122
|
-
-webkit-backdrop-filter: blur(var(--bottombar-floating-backdrop-blur));
|
|
123
145
|
padding: var(--bottombar-floating-padding-top) var(--bottombar-floating-margin-x) var(--bottombar-floating-margin-bottom);
|
|
124
146
|
|
|
125
147
|
/* The transparent frosted margin around the pill overlays scrolling content;
|