@fusion.dev/helix 0.142.0 → 0.143.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 +9 -5
- package/custom-elements.json +19275 -1410
- package/dist/accordion/item/accordion-item.css.js +6 -1
- package/dist/accordion/item/accordion-item.d.ts +1 -0
- package/dist/announcement/root/announcement-root.d.ts +3 -3
- package/dist/app-header/root/app-header-root.d.ts +1 -3
- package/dist/aura/shader.d.ts +5 -1
- package/dist/aura/shader.js +88 -613
- package/dist/avatar/root/avatar-root.d.ts +3 -3
- package/dist/badge/root/badge-root.css.js +3 -2
- package/dist/badge/root/badge-root.d.ts +1 -0
- package/dist/bar-chart/root/bar-chart-root.css.js +10 -0
- package/dist/blockquote/root/blockquote-root.css.js +4 -0
- package/dist/card/root/card-root.css.js +1 -0
- package/dist/carousel/root/carousel-root.js +2 -1
- package/dist/checkbox/root/checkbox-root.css.js +3 -3
- package/dist/color-picker/root/color-picker-root.d.ts +0 -1
- package/dist/color-picker/root/color-picker-root.js +0 -1
- package/dist/combobox/root/combobox-root.css.js +5 -4
- package/dist/data-table/root/data-table-root.css.js +7 -0
- package/dist/date-picker/root/date-picker-root.css.js +15 -3
- package/dist/donut-chart/root/donut-chart-root.css.js +10 -0
- package/dist/drawer/root/drawer-root.css.js +25 -4
- package/dist/element-events.generated.js +41 -10
- package/dist/file-input/root/file-input-root.d.ts +0 -1
- package/dist/file-input/root/file-input-root.js +0 -1
- package/dist/filter-input/root/filter-input-root.d.ts +0 -1
- package/dist/filter-input/root/filter-input-root.js +0 -1
- package/dist/grid/root/grid-root.d.ts +15 -11
- package/dist/grid/root/grid-root.js +49 -15
- package/dist/icon-button/root/icon-button-root.css.js +43 -16
- package/dist/icon-button/root/icon-button-root.d.ts +4 -1
- package/dist/image/root/image-root.css.js +1 -1
- package/dist/input/root/input-root.d.ts +0 -1
- package/dist/input/root/input-root.js +0 -1
- package/dist/line-chart/root/line-chart-root.css.js +10 -0
- package/dist/list/item/list-item.css.js +7 -1
- package/dist/loader/root/loader-root.d.ts +7 -4
- package/dist/menu/item/menu-item.css.js +1 -1
- package/dist/menu/root/menu-root.d.ts +0 -3
- package/dist/meter/root/meter-root.css.js +4 -4
- package/dist/number-input/root/number-input-root.d.ts +3 -0
- package/dist/orb/root/orb-root.d.ts +11 -2
- package/dist/orb/root/orb-root.js +5 -1
- package/dist/qr-code/root/qr-code-root.css.js +2 -1
- package/dist/qr-code/root/qr-code-root.d.ts +2 -2
- package/dist/rating/root/rating-root.d.ts +3 -0
- package/dist/sandbox/index.d.ts +2 -2
- package/dist/sandbox/root/sandbox-root.d.ts +20 -1
- package/dist/sandbox/root/sandbox-root.js +27 -10
- package/dist/sandbox/source/sandbox-source.d.ts +6 -1
- package/dist/sandbox/source/sandbox-source.js +13 -3
- package/dist/sandbox/terminal/sandbox-terminal.d.ts +3 -1
- package/dist/sandbox/terminal/sandbox-terminal.js +3 -1
- package/dist/skeleton/root/skeleton-root.css.js +4 -0
- package/dist/skeleton/root/skeleton-root.d.ts +4 -1
- package/dist/table/column/table-column.css.js +5 -0
- package/dist/tabs/panel/tab-panel.css.js +1 -1
- package/dist/tabs/panel/tab-panel.d.ts +2 -0
- package/dist/tabs/root/tabs-root.css.js +13 -7
- package/dist/tabs/root/tabs-root.d.ts +5 -0
- package/dist/tabs/tab/tab.css.js +4 -4
- package/dist/tabs/tab/tab.d.ts +5 -0
- package/dist/tag/root/tag-root.d.ts +2 -3
- package/dist/text/root/text-root.css.js +58 -1
- package/dist/text/root/text-root.d.ts +11 -2
- package/dist/text/root/text-root.js +19 -1
- package/dist/time-input/root/time-input-root.d.ts +0 -1
- package/dist/time-input/root/time-input-root.js +0 -1
- package/dist/toast/root/toast-root.css.js +31 -7
- package/dist/toast/root/toast-root.d.ts +6 -9
- package/dist/toggle/group/toggle-group.d.ts +3 -0
- package/dist/tour/stop/tour-stop.css.js +5 -0
- package/dist/trend/root/trend-root.d.ts +0 -1
- package/dist/trend/root/trend-root.js +0 -1
- package/dist/video/root/video-root.d.ts +0 -1
- package/dist/video/root/video-root.js +0 -1
- package/dist/video-playlist/menu/video-playlist-menu.d.ts +0 -1
- package/dist/video-playlist/menu/video-playlist-menu.js +0 -1
- package/lint.json +1 -1
- package/package.json +6 -6
- package/types/jsx.d.ts +4973 -1964
- package/types/vue.d.ts +998 -212
package/README.md
CHANGED
|
@@ -4,21 +4,25 @@ The styled component tier: the headless elements with token-driven presentation
|
|
|
4
4
|
on top. Custom elements, so they work in any framework or in none.
|
|
5
5
|
|
|
6
6
|
```sh
|
|
7
|
-
npm install @fusion.dev/helix
|
|
7
|
+
npm install @fusion.dev/helix @fusion.dev/helix-styles
|
|
8
8
|
```
|
|
9
9
|
|
|
10
10
|
```html
|
|
11
11
|
<script type="module">
|
|
12
|
-
import '@fusion.dev/helix'
|
|
12
|
+
import '@fusion.dev/helix/button'
|
|
13
13
|
</script>
|
|
14
|
-
<link rel="stylesheet" href="node_modules/@fusion.dev/helix/helix.css" />
|
|
14
|
+
<link rel="stylesheet" href="node_modules/@fusion.dev/helix-styles/dist/helix.css" />
|
|
15
15
|
|
|
16
16
|
<helix-button emphasis="solid" tone="primary">Save</helix-button>
|
|
17
17
|
```
|
|
18
18
|
|
|
19
|
+
Import each family from its subpath, as `@fusion.dev/helix/button` above. The
|
|
20
|
+
stylesheet is `@fusion.dev/helix-styles`' `helix.css`, which carries the tokens, the
|
|
21
|
+
base layer, and `elements.css`, the `:not(:defined)` rules that keep a page from
|
|
22
|
+
flashing before the definitions load.
|
|
23
|
+
|
|
19
24
|
Every component publishes its parts and its custom properties, so presentation is
|
|
20
|
-
adjustable from outside the shadow root without a fork.
|
|
21
|
-
`:not(:defined)` rules that keep a page from flashing before the definitions load.
|
|
25
|
+
adjustable from outside the shadow root without a fork.
|
|
22
26
|
|
|
23
27
|
Framework typings ship alongside: `@fusion.dev/helix/jsx`, `/vue` and `/svelte`.
|
|
24
28
|
|