@cboxdk/cbox-ui 0.7.0 → 0.8.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 +11 -4
- package/dist/index.d.ts +68 -12
- package/dist/index.js +112 -36
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/tokens/cbox.css +7 -0
package/package.json
CHANGED
package/tokens/cbox.css
CHANGED
|
@@ -276,3 +276,10 @@
|
|
|
276
276
|
|
|
277
277
|
.cbx-workspace-context [data-component=context-bar] button{max-width:100%}
|
|
278
278
|
@media(max-width:639px){.cbx-workspace-header{flex-wrap:wrap;height:auto;min-height:56px;padding-block:8px}.cbx-workspace-context{order:3;flex-basis:100%;width:100%}.cbx-workspace-tools{margin-left:auto}.cbx-workspace-context [data-component=context-bar]>div{flex:1}}
|
|
279
|
+
|
|
280
|
+
/* App icons come from Cbox ID's catalog: one light and one dark upload per app. The dark one
|
|
281
|
+
shows under the same switch as the dark tokens. */
|
|
282
|
+
.cbx-app-icon{display:block;object-fit:contain}
|
|
283
|
+
.cbx-app-icon-dark{display:none}
|
|
284
|
+
:is(.dark,[data-theme='dark']) .cbx-app-icon-light{display:none}
|
|
285
|
+
:is(.dark,[data-theme='dark']) .cbx-app-icon-dark{display:block}
|