@prestack/thread-ui 0.1.1 → 0.1.2
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/CHANGELOG.md +174 -0
- package/dist/ui/animations/anm_appear.d.ts +8 -8
- package/dist/ui/animations/anm_blur_in.d.ts +12 -12
- package/dist/ui/animations/anm_blur_out.d.ts +12 -12
- package/dist/ui/animations/anm_dismiss.d.ts +12 -12
- package/dist/ui/animations/anm_drop.d.ts +12 -12
- package/dist/ui/animations/anm_fall.d.ts +12 -12
- package/dist/ui/animations/anm_flash.d.ts +9 -9
- package/dist/ui/animations/anm_glow.d.ts +8 -8
- package/dist/ui/animations/anm_lift.d.ts +8 -8
- package/dist/ui/animations/anm_nudge.d.ts +8 -8
- package/dist/ui/animations/anm_pop_in.d.ts +16 -16
- package/dist/ui/animations/anm_pop_out.d.ts +16 -16
- package/dist/ui/animations/anm_press.d.ts +9 -9
- package/dist/ui/animations/anm_pulse.d.ts +10 -10
- package/dist/ui/animations/anm_rise.d.ts +12 -12
- package/dist/ui/animations/anm_shake.d.ts +11 -11
- package/dist/ui/animations/anm_slide_in_left.d.ts +12 -12
- package/dist/ui/animations/anm_slide_in_right.d.ts +12 -12
- package/dist/ui/animations/anm_slide_out_left.d.ts +12 -12
- package/dist/ui/animations/anm_slide_out_right.d.ts +12 -12
- package/dist/ui/animations/anm_spin.d.ts +8 -8
- package/dist/ui/animations/anm_swell.d.ts +8 -8
- package/dist/ui/animations/anm_wobble.d.ts +13 -13
- package/dist/ui/animations/anm_zoom_in.d.ts +12 -12
- package/dist/ui/animations/anm_zoom_out.d.ts +12 -12
- package/dist/ui/animations.d.ts +8 -8
- package/dist/ui/animations.js +4 -4
- package/dist/ui/animations.ts +1 -1
- package/dist/ui/attach.js +22 -78
- package/dist/ui/attach.ts +8 -66
- package/dist/ui/charts.d.ts +0 -3
- package/dist/ui/charts.js +3 -7
- package/dist/ui/charts.tsx +0 -4
- package/dist/ui/checked.d.ts +1 -1
- package/dist/ui/checked.ts +1 -1
- package/dist/ui/collector.js +1 -1
- package/dist/ui/collector.ts +1 -1
- package/dist/ui/compositions.d.ts +9 -3
- package/dist/ui/compositions.js +9 -158
- package/dist/ui/compositions.ts +6 -170
- package/dist/ui/content.js +4 -7
- package/dist/ui/content.tsx +4 -15
- package/dist/ui/controls.js +1 -1
- package/dist/ui/door.d.ts +1 -1
- package/dist/ui/elements/accordion.d.ts +2 -1
- package/dist/ui/elements/accordion.js +4 -4
- package/dist/ui/elements/accordion.tsx +2 -1
- package/dist/ui/elements/aspect-ratio.d.ts +2 -1
- package/dist/ui/elements/aspect-ratio.js +1 -1
- package/dist/ui/elements/aspect-ratio.tsx +2 -1
- package/dist/ui/elements/avatar.d.ts +2 -1
- package/dist/ui/elements/avatar.js +3 -3
- package/dist/ui/elements/avatar.tsx +2 -1
- package/dist/ui/elements/badge.d.ts +2 -1
- package/dist/ui/elements/badge.js +3 -3
- package/dist/ui/elements/badge.tsx +2 -1
- package/dist/ui/elements/bars.d.ts +2 -1
- package/dist/ui/elements/bars.js +5 -5
- package/dist/ui/elements/bars.tsx +2 -1
- package/dist/ui/elements/bars.works.js +3 -3
- package/dist/ui/elements/box.d.ts +2 -1
- package/dist/ui/elements/box.js +1 -1
- package/dist/ui/elements/box.tsx +2 -1
- package/dist/ui/elements/breadcrumb.d.ts +2 -1
- package/dist/ui/elements/breadcrumb.js +5 -5
- package/dist/ui/elements/breadcrumb.tsx +2 -1
- package/dist/ui/elements/breadcrumb.works.js +1 -1
- package/dist/ui/elements/button.d.ts +2 -1
- package/dist/ui/elements/button.js +3 -3
- package/dist/ui/elements/button.tsx +2 -1
- package/dist/ui/elements/button.works.js +2 -2
- package/dist/ui/elements/column.d.ts +2 -1
- package/dist/ui/elements/column.js +1 -1
- package/dist/ui/elements/column.tsx +2 -1
- package/dist/ui/elements/consent.d.ts +2 -1
- package/dist/ui/elements/consent.js +10 -10
- package/dist/ui/elements/consent.tsx +2 -1
- package/dist/ui/elements/consent.works.js +1 -1
- package/dist/ui/elements/donut.d.ts +2 -1
- package/dist/ui/elements/donut.js +4 -4
- package/dist/ui/elements/donut.tsx +2 -1
- package/dist/ui/elements/donut.works.js +2 -2
- package/dist/ui/elements/each.d.ts +2 -1
- package/dist/ui/elements/each.js +3 -3
- package/dist/ui/elements/each.tsx +2 -1
- package/dist/ui/elements/each.works.js +2 -2
- package/dist/ui/elements/empty.d.ts +2 -1
- package/dist/ui/elements/empty.js +2 -2
- package/dist/ui/elements/empty.tsx +2 -1
- package/dist/ui/elements/field.d.ts +2 -1
- package/dist/ui/elements/field.js +3 -3
- package/dist/ui/elements/field.tsx +2 -1
- package/dist/ui/elements/field.works.js +1 -1
- package/dist/ui/elements/funnel.d.ts +2 -1
- package/dist/ui/elements/funnel.js +5 -5
- package/dist/ui/elements/funnel.tsx +2 -1
- package/dist/ui/elements/funnel.works.js +3 -3
- package/dist/ui/elements/gauge.d.ts +2 -1
- package/dist/ui/elements/gauge.js +3 -3
- package/dist/ui/elements/gauge.tsx +2 -1
- package/dist/ui/elements/gauge.works.js +1 -1
- package/dist/ui/elements/glyph.d.ts +2 -1
- package/dist/ui/elements/glyph.js +3 -3
- package/dist/ui/elements/glyph.tsx +2 -1
- package/dist/ui/elements/glyph.works.js +1 -1
- package/dist/ui/elements/grid.d.ts +2 -1
- package/dist/ui/elements/grid.js +1 -1
- package/dist/ui/elements/grid.tsx +2 -1
- package/dist/ui/elements/heatmap.d.ts +2 -1
- package/dist/ui/elements/heatmap.js +5 -5
- package/dist/ui/elements/heatmap.tsx +2 -1
- package/dist/ui/elements/heatmap.works.js +1 -1
- package/dist/ui/elements/hit-box.d.ts +2 -1
- package/dist/ui/elements/hit-box.js +2 -2
- package/dist/ui/elements/hit-box.tsx +2 -1
- package/dist/ui/elements/hit-box.works.d.ts +2 -2
- package/dist/ui/elements/hit-box.works.js +5 -5
- package/dist/ui/elements/hit-box.works.tsx +2 -1
- package/dist/ui/elements/image.d.ts +2 -1
- package/dist/ui/elements/image.js +2 -2
- package/dist/ui/elements/image.tsx +2 -1
- package/dist/ui/elements/line-chart.d.ts +2 -1
- package/dist/ui/elements/line-chart.js +4 -4
- package/dist/ui/elements/line-chart.tsx +2 -1
- package/dist/ui/elements/line-chart.works.js +2 -2
- package/dist/ui/elements/link.d.ts +2 -1
- package/dist/ui/elements/link.js +3 -3
- package/dist/ui/elements/link.tsx +2 -1
- package/dist/ui/elements/link.works.js +1 -1
- package/dist/ui/elements/media.d.ts +2 -1
- package/dist/ui/elements/media.js +2 -2
- package/dist/ui/elements/media.tsx +2 -1
- package/dist/ui/elements/menu.d.ts +2 -1
- package/dist/ui/elements/menu.js +5 -5
- package/dist/ui/elements/menu.tsx +2 -1
- package/dist/ui/elements/menu.works.d.ts +2 -1
- package/dist/ui/elements/menu.works.js +5 -5
- package/dist/ui/elements/menu.works.tsx +2 -1
- package/dist/ui/elements/money.d.ts +3 -1
- package/dist/ui/elements/money.js +10 -5
- package/dist/ui/elements/money.tsx +12 -3
- package/dist/ui/elements/money.works.js +1 -1
- package/dist/ui/elements/pagination.d.ts +2 -1
- package/dist/ui/elements/pagination.js +5 -5
- package/dist/ui/elements/pagination.tsx +2 -1
- package/dist/ui/elements/progress.d.ts +2 -1
- package/dist/ui/elements/progress.js +3 -3
- package/dist/ui/elements/progress.tsx +2 -1
- package/dist/ui/elements/radio-group.d.ts +2 -1
- package/dist/ui/elements/radio-group.js +4 -4
- package/dist/ui/elements/radio-group.tsx +2 -1
- package/dist/ui/elements/radio-group.works.js +1 -1
- package/dist/ui/elements/row.d.ts +2 -1
- package/dist/ui/elements/row.js +1 -1
- package/dist/ui/elements/row.tsx +2 -1
- package/dist/ui/elements/scatter.d.ts +2 -1
- package/dist/ui/elements/scatter.js +3 -3
- package/dist/ui/elements/scatter.tsx +2 -1
- package/dist/ui/elements/scatter.works.js +1 -1
- package/dist/ui/elements/select.d.ts +2 -1
- package/dist/ui/elements/select.js +4 -4
- package/dist/ui/elements/select.tsx +2 -1
- package/dist/ui/elements/separator.d.ts +2 -1
- package/dist/ui/elements/separator.js +2 -2
- package/dist/ui/elements/separator.tsx +2 -1
- package/dist/ui/elements/skeleton.d.ts +2 -1
- package/dist/ui/elements/skeleton.js +2 -2
- package/dist/ui/elements/skeleton.tsx +2 -1
- package/dist/ui/elements/slider.d.ts +2 -1
- package/dist/ui/elements/slider.js +3 -3
- package/dist/ui/elements/slider.tsx +2 -1
- package/dist/ui/elements/sparkline.d.ts +2 -1
- package/dist/ui/elements/sparkline.js +3 -3
- package/dist/ui/elements/sparkline.tsx +2 -1
- package/dist/ui/elements/sparkline.works.js +1 -1
- package/dist/ui/elements/spinner.d.ts +2 -1
- package/dist/ui/elements/spinner.js +2 -2
- package/dist/ui/elements/spinner.tsx +2 -1
- package/dist/ui/elements/stack.d.ts +2 -1
- package/dist/ui/elements/stack.js +1 -1
- package/dist/ui/elements/stack.tsx +2 -1
- package/dist/ui/elements/stat.d.ts +2 -1
- package/dist/ui/elements/stat.js +3 -3
- package/dist/ui/elements/stat.tsx +2 -1
- package/dist/ui/elements/stat.works.js +1 -1
- package/dist/ui/elements/surface.d.ts +2 -1
- package/dist/ui/elements/surface.js +2 -2
- package/dist/ui/elements/surface.tsx +2 -1
- package/dist/ui/elements/surface.works.js +1 -1
- package/dist/ui/elements/table.d.ts +2 -1
- package/dist/ui/elements/table.js +4 -4
- package/dist/ui/elements/table.tsx +2 -1
- package/dist/ui/elements/table.works.js +1 -1
- package/dist/ui/elements/tabs.d.ts +2 -1
- package/dist/ui/elements/tabs.js +4 -4
- package/dist/ui/elements/tabs.tsx +2 -1
- package/dist/ui/elements/tabs.works.js +1 -1
- package/dist/ui/elements/text.d.ts +2 -1
- package/dist/ui/elements/text.js +2 -2
- package/dist/ui/elements/text.tsx +2 -1
- package/dist/ui/elements/textarea.d.ts +2 -1
- package/dist/ui/elements/textarea.js +4 -4
- package/dist/ui/elements/textarea.tsx +2 -1
- package/dist/ui/elements/time.d.ts +3 -1
- package/dist/ui/elements/time.js +7 -4
- package/dist/ui/elements/time.tsx +9 -2
- package/dist/ui/elements/time.works.d.ts +1 -0
- package/dist/ui/elements/time.works.js +7 -3
- package/dist/ui/elements/time.works.ts +6 -2
- package/dist/ui/elements/toggle.d.ts +2 -1
- package/dist/ui/elements/toggle.js +3 -3
- package/dist/ui/elements/toggle.tsx +2 -1
- package/dist/ui/elements/tooltip.d.ts +2 -1
- package/dist/ui/elements/tooltip.js +2 -2
- package/dist/ui/elements/tooltip.tsx +2 -1
- package/dist/ui/elements/tooltip.works.js +2 -2
- package/dist/ui/elements/value.d.ts +3 -1
- package/dist/ui/elements/value.js +10 -5
- package/dist/ui/elements/value.tsx +12 -3
- package/dist/ui/elements/value.works.js +1 -1
- package/dist/ui/elements.d.ts +15 -11
- package/dist/ui/elements.js +6 -6
- package/dist/ui/elements.ts +7 -7
- package/dist/ui/fonts.d.ts +1 -1
- package/dist/ui/fonts.js +1 -1
- package/dist/ui/generators/dev.d.ts +1 -2
- package/dist/ui/generators/dev.js +33 -37
- package/dist/ui/generators/dev.ts +30 -37
- package/dist/ui/generators/elements.d.ts +1 -0
- package/dist/ui/generators/elements.js +11 -9
- package/dist/ui/generators/elements.ts +12 -9
- package/dist/ui/generators/i18n.js +6 -23
- package/dist/ui/generators/i18n.ts +1 -18
- package/dist/ui/generators/icons.js +5 -14
- package/dist/ui/generators/icons.ts +1 -10
- package/dist/ui/generators/react.js +4 -5
- package/dist/ui/generators/react.ts +2 -3
- package/dist/ui/generators/routes.js +66 -51
- package/dist/ui/generators/routes.ts +67 -46
- package/dist/ui/generators/show.js +9 -6
- package/dist/ui/generators/show.ts +4 -2
- package/dist/ui/generators/styles.js +12 -16
- package/dist/ui/generators/styles.ts +1 -5
- package/dist/ui/generators/variants.js +3 -3
- package/dist/ui/generators/variants.ts +1 -1
- package/dist/ui/i18n/catalogs/en.js +1 -1
- package/dist/ui/i18n/format.js +1 -1
- package/dist/ui/i18n/translator.js +2 -2
- package/dist/ui/material.d.ts +11 -11
- package/dist/ui/material.js +1 -1
- package/dist/ui/materials/mat_bordered.d.ts +13 -13
- package/dist/ui/materials/mat_bordered.js +1 -1
- package/dist/ui/materials/mat_ceramic.d.ts +13 -13
- package/dist/ui/materials/mat_ceramic.js +1 -1
- package/dist/ui/materials/mat_clay.d.ts +13 -13
- package/dist/ui/materials/mat_clay.js +1 -1
- package/dist/ui/materials/mat_elevated.d.ts +13 -13
- package/dist/ui/materials/mat_elevated.js +1 -1
- package/dist/ui/materials/mat_flat.d.ts +25 -25
- package/dist/ui/materials/mat_flat.js +1 -1
- package/dist/ui/materials/mat_glass.d.ts +17 -17
- package/dist/ui/materials/mat_glass.js +1 -1
- package/dist/ui/materials/mat_lit.d.ts +13 -13
- package/dist/ui/materials/mat_lit.js +1 -1
- package/dist/ui/materials/mat_moulded.d.ts +9 -9
- package/dist/ui/materials/mat_moulded.js +1 -1
- package/dist/ui/materials.d.ts +30 -30
- package/dist/ui/materials.js +3 -3
- package/dist/ui/materials.ts +1 -1
- package/dist/ui/modes.d.ts +2 -2
- package/dist/ui/presented.js +5 -5
- package/dist/ui/provider.d.ts +3 -0
- package/dist/ui/provider.js +9 -10
- package/dist/ui/provider.tsx +7 -5
- package/dist/ui/screens.js +6 -6
- package/dist/ui/screens.ts +1 -1
- package/dist/ui/scroll-lock.js +1 -1
- package/dist/ui/series.js +1 -1
- package/dist/ui/styleguide.js +1 -1
- package/dist/ui/tokens.d.ts +2 -2
- package/dist/ui/tokens.js +3 -3
- package/dist/ui/tokens.ts +1 -1
- package/dist/ui/validators.js +1 -1
- package/dist/ui/variant.d.ts +37 -37
- package/dist/ui/variant.js +2 -2
- package/dist/ui/variants/var_avatar-round.d.ts +13 -13
- package/dist/ui/variants/var_avatar-round.js +1 -1
- package/dist/ui/variants/var_bubble-me.d.ts +12 -12
- package/dist/ui/variants/var_bubble-me.js +1 -1
- package/dist/ui/variants/var_bubble-them.d.ts +10 -10
- package/dist/ui/variants/var_bubble-them.js +1 -1
- package/dist/ui/variants/var_button-border.d.ts +61 -61
- package/dist/ui/variants/var_button-border.js +1 -1
- package/dist/ui/variants/var_button-cta.d.ts +61 -61
- package/dist/ui/variants/var_button-cta.js +1 -1
- package/dist/ui/variants/var_button-destructive-ghost.d.ts +59 -59
- package/dist/ui/variants/var_button-destructive-ghost.js +1 -1
- package/dist/ui/variants/var_button-destructive.d.ts +61 -61
- package/dist/ui/variants/var_button-destructive.js +1 -1
- package/dist/ui/variants/var_button-fill.d.ts +61 -61
- package/dist/ui/variants/var_button-fill.js +1 -1
- package/dist/ui/variants/var_button-ghost.d.ts +59 -59
- package/dist/ui/variants/var_button-ghost.js +1 -1
- package/dist/ui/variants/var_button-glass.d.ts +40 -40
- package/dist/ui/variants/var_button-glass.js +1 -1
- package/dist/ui/variants/var_button-normal.d.ts +61 -61
- package/dist/ui/variants/var_button-normal.js +1 -1
- package/dist/ui/variants/var_button-quiet.d.ts +63 -63
- package/dist/ui/variants/var_button-quiet.js +1 -1
- package/dist/ui/variants/var_card.d.ts +17 -17
- package/dist/ui/variants/var_card.js +1 -1
- package/dist/ui/variants/var_chip.d.ts +10 -10
- package/dist/ui/variants/var_chip.js +1 -1
- package/dist/ui/variants/var_choice.d.ts +15 -15
- package/dist/ui/variants/var_choice.js +1 -1
- package/dist/ui/variants/var_framed.d.ts +5 -5
- package/dist/ui/variants/var_framed.js +1 -1
- package/dist/ui/variants/var_glyph-plain.d.ts +7 -7
- package/dist/ui/variants/var_glyph-plain.js +1 -1
- package/dist/ui/variants/var_input.d.ts +30 -30
- package/dist/ui/variants/var_input.js +1 -1
- package/dist/ui/variants/var_link-inline.d.ts +17 -17
- package/dist/ui/variants/var_link-inline.js +1 -1
- package/dist/ui/variants/var_list-row.d.ts +22 -22
- package/dist/ui/variants/var_list-row.js +1 -1
- package/dist/ui/variants/var_rule.d.ts +5 -5
- package/dist/ui/variants/var_rule.js +1 -1
- package/dist/ui/variants/var_skeleton-block.d.ts +9 -9
- package/dist/ui/variants/var_skeleton-block.js +1 -1
- package/dist/ui/variants/var_spinner-turning.d.ts +9 -9
- package/dist/ui/variants/var_spinner-turning.js +1 -1
- package/dist/ui/variants/var_stat-tile.d.ts +10 -10
- package/dist/ui/variants/var_stat-tile.js +1 -1
- package/dist/ui/variants/var_tab-bar.d.ts +14 -14
- package/dist/ui/variants/var_tab-bar.js +1 -1
- package/dist/ui/variants/var_tap-target.d.ts +11 -11
- package/dist/ui/variants/var_tap-target.js +1 -1
- package/dist/ui/variants.d.ts +88 -88
- package/dist/ui/wrappers.d.ts +7 -6
- package/dist/ui/wrappers.js +16 -14
- package/dist/ui/wrappers.tsx +21 -18
- package/package.json +2 -2
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
export declare const PRESS: {
|
|
2
|
-
readonly id:
|
|
3
|
-
readonly runs:
|
|
4
|
-
readonly eases:
|
|
2
|
+
readonly id: 'press';
|
|
3
|
+
readonly runs: 'motion-quick';
|
|
4
|
+
readonly eases: 'ease-out';
|
|
5
5
|
readonly stops: {
|
|
6
6
|
readonly '0%': readonly [{
|
|
7
|
-
readonly property:
|
|
8
|
-
readonly is:
|
|
7
|
+
readonly property: 'transform';
|
|
8
|
+
readonly is: 'transform-rest';
|
|
9
9
|
}];
|
|
10
10
|
readonly '50%': readonly [{
|
|
11
|
-
readonly property:
|
|
12
|
-
readonly is:
|
|
11
|
+
readonly property: 'transform';
|
|
12
|
+
readonly is: 'transform-press';
|
|
13
13
|
}];
|
|
14
14
|
readonly '100%': readonly [{
|
|
15
|
-
readonly property:
|
|
16
|
-
readonly is:
|
|
15
|
+
readonly property: 'transform';
|
|
16
|
+
readonly is: 'transform-rest';
|
|
17
17
|
}];
|
|
18
18
|
};
|
|
19
19
|
};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
export declare const PULSE: {
|
|
2
|
-
readonly id:
|
|
3
|
-
readonly runs:
|
|
4
|
-
readonly eases:
|
|
5
|
-
readonly repeats:
|
|
2
|
+
readonly id: 'pulse';
|
|
3
|
+
readonly runs: 'motion-slow';
|
|
4
|
+
readonly eases: 'ease-in-out';
|
|
5
|
+
readonly repeats: 'infinite';
|
|
6
6
|
readonly stops: {
|
|
7
7
|
readonly '0%': readonly [{
|
|
8
|
-
readonly property:
|
|
9
|
-
readonly is:
|
|
8
|
+
readonly property: 'opacity';
|
|
9
|
+
readonly is: 'opacity-full';
|
|
10
10
|
}];
|
|
11
11
|
readonly '50%': readonly [{
|
|
12
|
-
readonly property:
|
|
13
|
-
readonly is:
|
|
12
|
+
readonly property: 'opacity';
|
|
13
|
+
readonly is: 'opacity-muted';
|
|
14
14
|
}];
|
|
15
15
|
readonly '100%': readonly [{
|
|
16
|
-
readonly property:
|
|
17
|
-
readonly is:
|
|
16
|
+
readonly property: 'opacity';
|
|
17
|
+
readonly is: 'opacity-full';
|
|
18
18
|
}];
|
|
19
19
|
};
|
|
20
20
|
};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
export declare const RISE: {
|
|
2
|
-
readonly id:
|
|
3
|
-
readonly runs:
|
|
4
|
-
readonly eases:
|
|
5
|
-
readonly fills:
|
|
2
|
+
readonly id: 'rise';
|
|
3
|
+
readonly runs: 'motion-normal';
|
|
4
|
+
readonly eases: 'ease-out';
|
|
5
|
+
readonly fills: 'backwards';
|
|
6
6
|
readonly stops: {
|
|
7
7
|
readonly '0%': readonly [{
|
|
8
|
-
readonly property:
|
|
9
|
-
readonly is:
|
|
8
|
+
readonly property: 'opacity';
|
|
9
|
+
readonly is: 'opacity-none';
|
|
10
10
|
}, {
|
|
11
|
-
readonly property:
|
|
12
|
-
readonly is:
|
|
11
|
+
readonly property: 'transform';
|
|
12
|
+
readonly is: 'transform-below';
|
|
13
13
|
}];
|
|
14
14
|
readonly '100%': readonly [{
|
|
15
|
-
readonly property:
|
|
16
|
-
readonly is:
|
|
15
|
+
readonly property: 'opacity';
|
|
16
|
+
readonly is: 'opacity-full';
|
|
17
17
|
}, {
|
|
18
|
-
readonly property:
|
|
19
|
-
readonly is:
|
|
18
|
+
readonly property: 'transform';
|
|
19
|
+
readonly is: 'transform-rest';
|
|
20
20
|
}];
|
|
21
21
|
};
|
|
22
22
|
};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
export declare const SHAKE: {
|
|
2
|
-
readonly id:
|
|
3
|
-
readonly runs:
|
|
4
|
-
readonly eases:
|
|
2
|
+
readonly id: 'shake';
|
|
3
|
+
readonly runs: 'motion-quick';
|
|
4
|
+
readonly eases: 'ease-in-out';
|
|
5
5
|
readonly stops: {
|
|
6
6
|
readonly '0%': readonly [{
|
|
7
|
-
readonly property:
|
|
8
|
-
readonly is:
|
|
7
|
+
readonly property: 'transform';
|
|
8
|
+
readonly is: 'transform-rest';
|
|
9
9
|
}];
|
|
10
10
|
readonly '25%': readonly [{
|
|
11
|
-
readonly property:
|
|
12
|
-
readonly is:
|
|
11
|
+
readonly property: 'transform';
|
|
12
|
+
readonly is: 'transform-left';
|
|
13
13
|
}];
|
|
14
14
|
readonly '75%': readonly [{
|
|
15
|
-
readonly property:
|
|
16
|
-
readonly is:
|
|
15
|
+
readonly property: 'transform';
|
|
16
|
+
readonly is: 'transform-right';
|
|
17
17
|
}];
|
|
18
18
|
readonly '100%': readonly [{
|
|
19
|
-
readonly property:
|
|
20
|
-
readonly is:
|
|
19
|
+
readonly property: 'transform';
|
|
20
|
+
readonly is: 'transform-rest';
|
|
21
21
|
}];
|
|
22
22
|
};
|
|
23
23
|
};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
export declare const SLIDE_IN_LEFT: {
|
|
2
|
-
readonly id:
|
|
3
|
-
readonly runs:
|
|
4
|
-
readonly eases:
|
|
5
|
-
readonly fills:
|
|
2
|
+
readonly id: 'slide-in-left';
|
|
3
|
+
readonly runs: 'motion-normal';
|
|
4
|
+
readonly eases: 'ease-out';
|
|
5
|
+
readonly fills: 'backwards';
|
|
6
6
|
readonly stops: {
|
|
7
7
|
readonly '0%': readonly [{
|
|
8
|
-
readonly property:
|
|
9
|
-
readonly is:
|
|
8
|
+
readonly property: 'opacity';
|
|
9
|
+
readonly is: 'opacity-none';
|
|
10
10
|
}, {
|
|
11
|
-
readonly property:
|
|
12
|
-
readonly is:
|
|
11
|
+
readonly property: 'transform';
|
|
12
|
+
readonly is: 'transform-far-left';
|
|
13
13
|
}];
|
|
14
14
|
readonly '100%': readonly [{
|
|
15
|
-
readonly property:
|
|
16
|
-
readonly is:
|
|
15
|
+
readonly property: 'opacity';
|
|
16
|
+
readonly is: 'opacity-full';
|
|
17
17
|
}, {
|
|
18
|
-
readonly property:
|
|
19
|
-
readonly is:
|
|
18
|
+
readonly property: 'transform';
|
|
19
|
+
readonly is: 'transform-rest';
|
|
20
20
|
}];
|
|
21
21
|
};
|
|
22
22
|
};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
export declare const SLIDE_IN_RIGHT: {
|
|
2
|
-
readonly id:
|
|
3
|
-
readonly runs:
|
|
4
|
-
readonly eases:
|
|
5
|
-
readonly fills:
|
|
2
|
+
readonly id: 'slide-in-right';
|
|
3
|
+
readonly runs: 'motion-normal';
|
|
4
|
+
readonly eases: 'ease-out';
|
|
5
|
+
readonly fills: 'backwards';
|
|
6
6
|
readonly stops: {
|
|
7
7
|
readonly '0%': readonly [{
|
|
8
|
-
readonly property:
|
|
9
|
-
readonly is:
|
|
8
|
+
readonly property: 'opacity';
|
|
9
|
+
readonly is: 'opacity-none';
|
|
10
10
|
}, {
|
|
11
|
-
readonly property:
|
|
12
|
-
readonly is:
|
|
11
|
+
readonly property: 'transform';
|
|
12
|
+
readonly is: 'transform-far-right';
|
|
13
13
|
}];
|
|
14
14
|
readonly '100%': readonly [{
|
|
15
|
-
readonly property:
|
|
16
|
-
readonly is:
|
|
15
|
+
readonly property: 'opacity';
|
|
16
|
+
readonly is: 'opacity-full';
|
|
17
17
|
}, {
|
|
18
|
-
readonly property:
|
|
19
|
-
readonly is:
|
|
18
|
+
readonly property: 'transform';
|
|
19
|
+
readonly is: 'transform-rest';
|
|
20
20
|
}];
|
|
21
21
|
};
|
|
22
22
|
};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
export declare const SLIDE_OUT_LEFT: {
|
|
2
|
-
readonly id:
|
|
3
|
-
readonly runs:
|
|
4
|
-
readonly eases:
|
|
5
|
-
readonly fills:
|
|
2
|
+
readonly id: 'slide-out-left';
|
|
3
|
+
readonly runs: 'motion-quick';
|
|
4
|
+
readonly eases: 'ease-in';
|
|
5
|
+
readonly fills: 'forwards';
|
|
6
6
|
readonly stops: {
|
|
7
7
|
readonly '0%': readonly [{
|
|
8
|
-
readonly property:
|
|
9
|
-
readonly is:
|
|
8
|
+
readonly property: 'opacity';
|
|
9
|
+
readonly is: 'opacity-full';
|
|
10
10
|
}, {
|
|
11
|
-
readonly property:
|
|
12
|
-
readonly is:
|
|
11
|
+
readonly property: 'transform';
|
|
12
|
+
readonly is: 'transform-rest';
|
|
13
13
|
}];
|
|
14
14
|
readonly '100%': readonly [{
|
|
15
|
-
readonly property:
|
|
16
|
-
readonly is:
|
|
15
|
+
readonly property: 'opacity';
|
|
16
|
+
readonly is: 'opacity-none';
|
|
17
17
|
}, {
|
|
18
|
-
readonly property:
|
|
19
|
-
readonly is:
|
|
18
|
+
readonly property: 'transform';
|
|
19
|
+
readonly is: 'transform-far-left';
|
|
20
20
|
}];
|
|
21
21
|
};
|
|
22
22
|
};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
export declare const SLIDE_OUT_RIGHT: {
|
|
2
|
-
readonly id:
|
|
3
|
-
readonly runs:
|
|
4
|
-
readonly eases:
|
|
5
|
-
readonly fills:
|
|
2
|
+
readonly id: 'slide-out-right';
|
|
3
|
+
readonly runs: 'motion-quick';
|
|
4
|
+
readonly eases: 'ease-in';
|
|
5
|
+
readonly fills: 'forwards';
|
|
6
6
|
readonly stops: {
|
|
7
7
|
readonly '0%': readonly [{
|
|
8
|
-
readonly property:
|
|
9
|
-
readonly is:
|
|
8
|
+
readonly property: 'opacity';
|
|
9
|
+
readonly is: 'opacity-full';
|
|
10
10
|
}, {
|
|
11
|
-
readonly property:
|
|
12
|
-
readonly is:
|
|
11
|
+
readonly property: 'transform';
|
|
12
|
+
readonly is: 'transform-rest';
|
|
13
13
|
}];
|
|
14
14
|
readonly '100%': readonly [{
|
|
15
|
-
readonly property:
|
|
16
|
-
readonly is:
|
|
15
|
+
readonly property: 'opacity';
|
|
16
|
+
readonly is: 'opacity-none';
|
|
17
17
|
}, {
|
|
18
|
-
readonly property:
|
|
19
|
-
readonly is:
|
|
18
|
+
readonly property: 'transform';
|
|
19
|
+
readonly is: 'transform-far-right';
|
|
20
20
|
}];
|
|
21
21
|
};
|
|
22
22
|
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
export declare const SPIN: {
|
|
2
|
-
readonly id:
|
|
3
|
-
readonly runs:
|
|
4
|
-
readonly eases:
|
|
5
|
-
readonly repeats:
|
|
2
|
+
readonly id: 'spin';
|
|
3
|
+
readonly runs: 'motion-slow';
|
|
4
|
+
readonly eases: 'ease-steady';
|
|
5
|
+
readonly repeats: 'infinite';
|
|
6
6
|
readonly stops: {
|
|
7
7
|
readonly '0%': readonly [{
|
|
8
|
-
readonly property:
|
|
9
|
-
readonly is:
|
|
8
|
+
readonly property: 'transform';
|
|
9
|
+
readonly is: 'transform-rest';
|
|
10
10
|
}];
|
|
11
11
|
readonly '100%': readonly [{
|
|
12
|
-
readonly property:
|
|
13
|
-
readonly is:
|
|
12
|
+
readonly property: 'transform';
|
|
13
|
+
readonly is: 'transform-turn';
|
|
14
14
|
}];
|
|
15
15
|
};
|
|
16
16
|
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
export declare const SWELL: {
|
|
2
|
-
readonly id:
|
|
3
|
-
readonly runs:
|
|
4
|
-
readonly eases:
|
|
5
|
-
readonly fills:
|
|
2
|
+
readonly id: 'swell';
|
|
3
|
+
readonly runs: 'motion-quick';
|
|
4
|
+
readonly eases: 'ease-out';
|
|
5
|
+
readonly fills: 'forwards';
|
|
6
6
|
readonly stops: {
|
|
7
7
|
readonly '0%': readonly [{
|
|
8
|
-
readonly property:
|
|
9
|
-
readonly is:
|
|
8
|
+
readonly property: 'transform';
|
|
9
|
+
readonly is: 'transform-rest';
|
|
10
10
|
}];
|
|
11
11
|
readonly '100%': readonly [{
|
|
12
|
-
readonly property:
|
|
13
|
-
readonly is:
|
|
12
|
+
readonly property: 'transform';
|
|
13
|
+
readonly is: 'transform-swell';
|
|
14
14
|
}];
|
|
15
15
|
};
|
|
16
16
|
};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
export declare const WOBBLE: {
|
|
2
|
-
readonly id:
|
|
3
|
-
readonly runs:
|
|
4
|
-
readonly eases:
|
|
2
|
+
readonly id: 'wobble';
|
|
3
|
+
readonly runs: 'motion-slow';
|
|
4
|
+
readonly eases: 'ease-in-out';
|
|
5
5
|
readonly stops: {
|
|
6
6
|
readonly '0%': readonly [{
|
|
7
|
-
readonly property:
|
|
8
|
-
readonly is:
|
|
7
|
+
readonly property: 'transform';
|
|
8
|
+
readonly is: 'transform-rest';
|
|
9
9
|
}];
|
|
10
10
|
readonly '25%': readonly [{
|
|
11
|
-
readonly property:
|
|
12
|
-
readonly is:
|
|
11
|
+
readonly property: 'transform';
|
|
12
|
+
readonly is: 'transform-tilt';
|
|
13
13
|
}];
|
|
14
14
|
readonly '50%': readonly [{
|
|
15
|
-
readonly property:
|
|
16
|
-
readonly is:
|
|
15
|
+
readonly property: 'transform';
|
|
16
|
+
readonly is: 'transform-rest';
|
|
17
17
|
}];
|
|
18
18
|
readonly '75%': readonly [{
|
|
19
|
-
readonly property:
|
|
20
|
-
readonly is:
|
|
19
|
+
readonly property: 'transform';
|
|
20
|
+
readonly is: 'transform-tilt-back';
|
|
21
21
|
}];
|
|
22
22
|
readonly '100%': readonly [{
|
|
23
|
-
readonly property:
|
|
24
|
-
readonly is:
|
|
23
|
+
readonly property: 'transform';
|
|
24
|
+
readonly is: 'transform-rest';
|
|
25
25
|
}];
|
|
26
26
|
};
|
|
27
27
|
};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
export declare const ZOOM_IN: {
|
|
2
|
-
readonly id:
|
|
3
|
-
readonly runs:
|
|
4
|
-
readonly eases:
|
|
5
|
-
readonly fills:
|
|
2
|
+
readonly id: 'zoom-in';
|
|
3
|
+
readonly runs: 'motion-normal';
|
|
4
|
+
readonly eases: 'ease-out';
|
|
5
|
+
readonly fills: 'backwards';
|
|
6
6
|
readonly stops: {
|
|
7
7
|
readonly '0%': readonly [{
|
|
8
|
-
readonly property:
|
|
9
|
-
readonly is:
|
|
8
|
+
readonly property: 'opacity';
|
|
9
|
+
readonly is: 'opacity-none';
|
|
10
10
|
}, {
|
|
11
|
-
readonly property:
|
|
12
|
-
readonly is:
|
|
11
|
+
readonly property: 'transform';
|
|
12
|
+
readonly is: 'transform-grow';
|
|
13
13
|
}];
|
|
14
14
|
readonly '100%': readonly [{
|
|
15
|
-
readonly property:
|
|
16
|
-
readonly is:
|
|
15
|
+
readonly property: 'opacity';
|
|
16
|
+
readonly is: 'opacity-full';
|
|
17
17
|
}, {
|
|
18
|
-
readonly property:
|
|
19
|
-
readonly is:
|
|
18
|
+
readonly property: 'transform';
|
|
19
|
+
readonly is: 'transform-rest';
|
|
20
20
|
}];
|
|
21
21
|
};
|
|
22
22
|
};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
export declare const ZOOM_OUT: {
|
|
2
|
-
readonly id:
|
|
3
|
-
readonly runs:
|
|
4
|
-
readonly eases:
|
|
5
|
-
readonly fills:
|
|
2
|
+
readonly id: 'zoom-out';
|
|
3
|
+
readonly runs: 'motion-quick';
|
|
4
|
+
readonly eases: 'ease-in';
|
|
5
|
+
readonly fills: 'forwards';
|
|
6
6
|
readonly stops: {
|
|
7
7
|
readonly '0%': readonly [{
|
|
8
|
-
readonly property:
|
|
9
|
-
readonly is:
|
|
8
|
+
readonly property: 'opacity';
|
|
9
|
+
readonly is: 'opacity-full';
|
|
10
10
|
}, {
|
|
11
|
-
readonly property:
|
|
12
|
-
readonly is:
|
|
11
|
+
readonly property: 'transform';
|
|
12
|
+
readonly is: 'transform-rest';
|
|
13
13
|
}];
|
|
14
14
|
readonly '100%': readonly [{
|
|
15
|
-
readonly property:
|
|
16
|
-
readonly is:
|
|
15
|
+
readonly property: 'opacity';
|
|
16
|
+
readonly is: 'opacity-none';
|
|
17
17
|
}, {
|
|
18
|
-
readonly property:
|
|
19
|
-
readonly is:
|
|
18
|
+
readonly property: 'transform';
|
|
19
|
+
readonly is: 'transform-grow';
|
|
20
20
|
}];
|
|
21
21
|
};
|
|
22
22
|
};
|
package/dist/ui/animations.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import type { Threaded } from '@prestack/thread/core/thread';
|
|
2
2
|
import { type Holds, type Token } from './token.ts';
|
|
3
3
|
export declare const BOUND: {
|
|
4
|
-
readonly opacity: readonly [
|
|
5
|
-
readonly transform: readonly [
|
|
6
|
-
readonly filter: readonly [
|
|
7
|
-
readonly backdropFilter: readonly [
|
|
8
|
-
readonly background: readonly [
|
|
9
|
-
readonly color: readonly [
|
|
10
|
-
readonly borderColor: readonly [
|
|
11
|
-
readonly boxShadow: readonly [
|
|
4
|
+
readonly opacity: readonly ['opacity'];
|
|
5
|
+
readonly transform: readonly ['transform'];
|
|
6
|
+
readonly filter: readonly ['filter'];
|
|
7
|
+
readonly backdropFilter: readonly ['blur'];
|
|
8
|
+
readonly background: readonly ['colour', 'gradient'];
|
|
9
|
+
readonly color: readonly ['colour'];
|
|
10
|
+
readonly borderColor: readonly ['colour'];
|
|
11
|
+
readonly boxShadow: readonly ['shadow'];
|
|
12
12
|
};
|
|
13
13
|
type Property = keyof typeof BOUND;
|
|
14
14
|
type SettingFor<P extends Property> = {
|
package/dist/ui/animations.js
CHANGED
|
@@ -6,13 +6,13 @@ var __rewriteRelativeImportExtension = (this && this.__rewriteRelativeImportExte
|
|
|
6
6
|
}
|
|
7
7
|
return path;
|
|
8
8
|
};
|
|
9
|
-
import { existsSync, writeFileSync } from
|
|
9
|
+
import { existsSync, writeFileSync } from '@prestack/thread/integrations/disk';
|
|
10
10
|
import { basename, join } from 'node:path';
|
|
11
11
|
import { argv, stdout } from 'node:process';
|
|
12
12
|
import { pathToFileURL } from 'node:url';
|
|
13
|
-
import { exit, invoked } from
|
|
14
|
-
import { findTree, inTree, strayFiles } from
|
|
15
|
-
import { held, sheeted } from
|
|
13
|
+
import { exit, invoked } from '@prestack/thread/core/invoked';
|
|
14
|
+
import { findTree, inTree, strayFiles } from '@prestack/thread/core/tree';
|
|
15
|
+
import { held, sheeted } from './token.js';
|
|
16
16
|
const here = 'thread/ui/animations.ts';
|
|
17
17
|
export const BOUND = {
|
|
18
18
|
opacity: ['opacity'],
|
package/dist/ui/animations.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { existsSync, readdirSync, writeFileSync } from '@prestack/thread/
|
|
1
|
+
import { existsSync, readdirSync, writeFileSync } from '@prestack/thread/integrations/disk'
|
|
2
2
|
import { basename, dirname, join } from 'node:path'
|
|
3
3
|
import { argv, stdout } from 'node:process'
|
|
4
4
|
import { pathToFileURL } from 'node:url'
|