@unframed/tokens 0.6.1 → 0.7.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 (2) hide show
  1. package/dist/tokens.css +12 -0
  2. package/package.json +1 -1
package/dist/tokens.css CHANGED
@@ -263,3 +263,15 @@
263
263
  --uf-shadow-modal: 0 0 0 1px color-mix(in srgb, var(--uf-palette-accent-400) 30%, transparent), 0 24px 64px -12px color-mix(in srgb, var(--uf-palette-accent-600) 60%, transparent);
264
264
  }
265
265
  }
266
+
267
+ /* Before the components load: no flash of raw content on server-rendered pages. */
268
+ :where(uf-accordion, uf-accordion-item, uf-avatar, uf-badge, uf-button, uf-calendar, uf-card, uf-checkbox, uf-checkbox-group, uf-combobox, uf-date-picker, uf-dialog, uf-dropdown, uf-icon, uf-input, uf-menu, uf-menu-item, uf-pagination, uf-popover, uf-radio, uf-radio-group, uf-select, uf-switch, uf-tab, uf-tab-panel, uf-table, uf-tabs, uf-textarea, uf-toaster, uf-tooltip):not(:defined) {
269
+ visibility: hidden;
270
+ }
271
+
272
+ :where(uf-dialog, uf-toaster, uf-tab-panel):not(:defined),
273
+ :where(uf-dropdown, uf-popover):not(:defined) > :not([slot]),
274
+ :where(uf-select, uf-combobox):not(:defined) > :where(option, optgroup),
275
+ uf-accordion-item:not(:defined):not([open]) > :not([slot]) {
276
+ display: none;
277
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unframed/tokens",
3
- "version": "0.6.1",
3
+ "version": "0.7.0",
4
4
  "description": "Design tokens for Unframed, as CSS custom properties and resolved JSON.",
5
5
  "license": "MIT",
6
6
  "author": "Patrizio Di Bartolomeo",