termcast 1.3.30 → 1.3.32
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/apis/cache.d.ts.map +1 -1
- package/dist/apis/cache.js +4 -39
- package/dist/apis/cache.js.map +1 -1
- package/dist/apis/hud.d.ts.map +1 -1
- package/dist/apis/hud.js +13 -31
- package/dist/apis/hud.js.map +1 -1
- package/dist/apis/localstorage.d.ts.map +1 -1
- package/dist/apis/localstorage.js +3 -27
- package/dist/apis/localstorage.js.map +1 -1
- package/dist/apis/toast.d.ts +16 -43
- package/dist/apis/toast.d.ts.map +1 -1
- package/dist/apis/toast.js +78 -177
- package/dist/apis/toast.js.map +1 -1
- package/dist/build.d.ts +3 -1
- package/dist/build.d.ts.map +1 -1
- package/dist/build.js +52 -2
- package/dist/build.js.map +1 -1
- package/dist/cli.d.ts +1 -0
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +206 -25
- package/dist/cli.js.map +1 -1
- package/dist/colors.d.ts.map +1 -1
- package/dist/colors.js +1 -0
- package/dist/colors.js.map +1 -1
- package/dist/compile.d.ts +0 -1
- package/dist/compile.d.ts.map +1 -1
- package/dist/compile.js +18 -23
- package/dist/compile.js.map +1 -1
- package/dist/components/actions.d.ts.map +1 -1
- package/dist/components/actions.js +30 -15
- package/dist/components/actions.js.map +1 -1
- package/dist/components/animation-tick.d.ts +12 -0
- package/dist/components/animation-tick.d.ts.map +1 -0
- package/dist/components/animation-tick.js +63 -0
- package/dist/components/animation-tick.js.map +1 -0
- package/dist/components/detail.d.ts.map +1 -1
- package/dist/components/detail.js +10 -13
- package/dist/components/detail.js.map +1 -1
- package/dist/components/dropdown.d.ts +1 -0
- package/dist/components/dropdown.d.ts.map +1 -1
- package/dist/components/dropdown.js +27 -26
- package/dist/components/dropdown.js.map +1 -1
- package/dist/components/extension-preferences.d.ts.map +1 -1
- package/dist/components/extension-preferences.js +15 -10
- package/dist/components/extension-preferences.js.map +1 -1
- package/dist/components/footer.d.ts +13 -0
- package/dist/components/footer.d.ts.map +1 -0
- package/dist/components/footer.js +106 -0
- package/dist/components/footer.js.map +1 -0
- package/dist/components/form/file-autocomplete.d.ts +19 -4
- package/dist/components/form/file-autocomplete.d.ts.map +1 -1
- package/dist/components/form/file-autocomplete.js +56 -55
- package/dist/components/form/file-autocomplete.js.map +1 -1
- package/dist/components/form/file-picker.d.ts.map +1 -1
- package/dist/components/form/file-picker.js +26 -15
- package/dist/components/form/file-picker.js.map +1 -1
- package/dist/components/form/index.d.ts.map +1 -1
- package/dist/components/form/index.js +17 -15
- package/dist/components/form/index.js.map +1 -1
- package/dist/components/form/with-left-border.d.ts.map +1 -1
- package/dist/components/form/with-left-border.js +4 -12
- package/dist/components/form/with-left-border.js.map +1 -1
- package/dist/components/list.d.ts.map +1 -1
- package/dist/components/list.js +126 -86
- package/dist/components/list.js.map +1 -1
- package/dist/components/loading-bar.d.ts.map +1 -1
- package/dist/components/loading-bar.js +5 -22
- package/dist/components/loading-bar.js.map +1 -1
- package/dist/components/loading-text.d.ts.map +1 -1
- package/dist/components/loading-text.js +3 -22
- package/dist/components/loading-text.js.map +1 -1
- package/dist/components/theme-picker.d.ts +2 -0
- package/dist/components/theme-picker.d.ts.map +1 -0
- package/dist/components/theme-picker.js +37 -0
- package/dist/components/theme-picker.js.map +1 -0
- package/dist/descendants.d.ts +6 -0
- package/dist/descendants.d.ts.map +1 -1
- package/dist/descendants.js +74 -8
- package/dist/descendants.js.map +1 -1
- package/dist/examples/internal/descendants-rerender.d.ts +14 -0
- package/dist/examples/internal/descendants-rerender.d.ts.map +1 -0
- package/dist/examples/internal/descendants-rerender.js +145 -0
- package/dist/examples/internal/descendants-rerender.js.map +1 -0
- package/dist/examples/internal/simple-dialog.js +4 -1
- package/dist/examples/internal/simple-dialog.js.map +1 -1
- package/dist/examples/internal/simple-scrollbox.js +1 -1
- package/dist/examples/internal/simple-scrollbox.js.map +1 -1
- package/dist/examples/list-with-dropdown.js +1 -1
- package/dist/examples/list-with-dropdown.js.map +1 -1
- package/dist/examples/miscellaneous.js +1 -1
- package/dist/examples/miscellaneous.js.map +1 -1
- package/dist/examples/toast-action.d.ts +2 -0
- package/dist/examples/toast-action.d.ts.map +1 -0
- package/dist/examples/toast-action.js +76 -0
- package/dist/examples/toast-action.js.map +1 -0
- package/dist/examples/toast-variations.js +38 -36
- package/dist/examples/toast-variations.js.map +1 -1
- package/dist/extensions/dev.d.ts +1 -1
- package/dist/extensions/dev.d.ts.map +1 -1
- package/dist/extensions/dev.js +62 -30
- package/dist/extensions/dev.js.map +1 -1
- package/dist/extensions/home.d.ts.map +1 -1
- package/dist/extensions/home.js +4 -3
- package/dist/extensions/home.js.map +1 -1
- package/dist/extensions/react-refresh-init.d.ts +5 -0
- package/dist/extensions/react-refresh-init.d.ts.map +1 -0
- package/dist/extensions/react-refresh-init.js +52 -0
- package/dist/extensions/react-refresh-init.js.map +1 -0
- package/dist/internal/date-picker-widget.js +1 -1
- package/dist/internal/date-picker-widget.js.map +1 -1
- package/dist/internal/dialog.d.ts +8 -3
- package/dist/internal/dialog.d.ts.map +1 -1
- package/dist/internal/dialog.js +37 -53
- package/dist/internal/dialog.js.map +1 -1
- package/dist/internal/navigation.d.ts +1 -0
- package/dist/internal/navigation.d.ts.map +1 -1
- package/dist/internal/navigation.js +25 -1
- package/dist/internal/navigation.js.map +1 -1
- package/dist/internal/providers.d.ts.map +1 -1
- package/dist/internal/providers.js +9 -197
- package/dist/internal/providers.js.map +1 -1
- package/dist/internal/scrollbox.d.ts.map +1 -1
- package/dist/internal/scrollbox.js +1 -0
- package/dist/internal/scrollbox.js.map +1 -1
- package/dist/release.d.ts +1 -0
- package/dist/release.d.ts.map +1 -1
- package/dist/release.js +16 -9
- package/dist/release.js.map +1 -1
- package/dist/state.d.ts +27 -1
- package/dist/state.d.ts.map +1 -1
- package/dist/state.js +6 -0
- package/dist/state.js.map +1 -1
- package/dist/theme.d.ts +6 -19
- package/dist/theme.d.ts.map +1 -1
- package/dist/theme.js +76 -45
- package/dist/theme.js.map +1 -1
- package/dist/themes/aura.json +69 -0
- package/dist/themes/ayu.json +80 -0
- package/dist/themes/catppuccin-frappe.json +233 -0
- package/dist/themes/catppuccin-macchiato.json +233 -0
- package/dist/themes/catppuccin.json +112 -0
- package/dist/themes/cobalt2.json +228 -0
- package/dist/themes/cursor.json +249 -0
- package/dist/themes/dracula.json +219 -0
- package/dist/themes/everforest.json +241 -0
- package/dist/themes/flexoki.json +237 -0
- package/dist/themes/github-light.json +56 -0
- package/dist/themes/github.json +241 -0
- package/dist/themes/gruvbox.json +95 -0
- package/dist/themes/kanagawa.json +77 -0
- package/dist/themes/lucent-orng.json +227 -0
- package/dist/themes/material.json +235 -0
- package/dist/themes/matrix.json +77 -0
- package/dist/themes/mercury.json +245 -0
- package/dist/themes/monokai.json +221 -0
- package/dist/themes/nightowl.json +221 -0
- package/dist/themes/nord.json +223 -0
- package/dist/themes/one-dark.json +84 -0
- package/dist/themes/opencode-light.json +62 -0
- package/dist/themes/opencode.json +245 -0
- package/dist/themes/orng.json +245 -0
- package/dist/themes/palenight.json +222 -0
- package/dist/themes/rosepine.json +234 -0
- package/dist/themes/solarized.json +223 -0
- package/dist/themes/synthwave84.json +226 -0
- package/dist/themes/termcast.json +226 -0
- package/dist/themes/tokyonight.json +243 -0
- package/dist/themes/vercel.json +255 -0
- package/dist/themes/vesper.json +218 -0
- package/dist/themes/zenburn.json +223 -0
- package/dist/themes.d.ts +57 -0
- package/dist/themes.d.ts.map +1 -0
- package/dist/themes.js +181 -0
- package/dist/themes.js.map +1 -0
- package/dist/utils/run-command.d.ts +2 -1
- package/dist/utils/run-command.d.ts.map +1 -1
- package/dist/utils/run-command.js +20 -10
- package/dist/utils/run-command.js.map +1 -1
- package/dist/utils.d.ts +2 -1
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js +90 -17
- package/dist/utils.js.map +1 -1
- package/dist/watcher.d.ts +3 -0
- package/dist/watcher.d.ts.map +1 -0
- package/dist/watcher.js +16 -0
- package/dist/watcher.js.map +1 -0
- package/package.json +16 -10
- package/src/apis/cache.tsx +5 -44
- package/src/apis/hud.tsx +17 -62
- package/src/apis/localstorage.tsx +3 -32
- package/src/apis/toast.tsx +91 -275
- package/src/build.test.tsx +10 -0
- package/src/build.tsx +61 -1
- package/src/cli.tsx +365 -103
- package/src/colors.tsx +1 -0
- package/src/compile.tsx +21 -29
- package/src/compile.vitest.tsx +300 -0
- package/src/components/actions.tsx +64 -45
- package/src/components/animation-tick.tsx +85 -0
- package/src/components/detail.tsx +31 -35
- package/src/components/dropdown.tsx +32 -21
- package/src/components/extension-preferences.tsx +14 -10
- package/src/components/footer.tsx +241 -0
- package/src/components/form/file-autocomplete.tsx +80 -60
- package/src/components/form/file-picker.tsx +37 -25
- package/src/components/form/index.tsx +45 -41
- package/src/components/form/with-left-border.tsx +4 -14
- package/src/components/list.tsx +181 -121
- package/src/components/loading-bar.tsx +5 -25
- package/src/components/loading-text.tsx +4 -23
- package/src/components/theme-picker.tsx +57 -0
- package/src/descendants.tsx +98 -9
- package/src/examples/actions-dialog-layout.vitest.tsx +112 -0
- package/src/examples/file-autocomplete.vitest.tsx +131 -122
- package/src/examples/form-basic.vitest.tsx +463 -644
- package/src/examples/form-dropdown.vitest.tsx +553 -571
- package/src/examples/form-scroll.vitest.tsx +112 -102
- package/src/examples/form-tagpicker.vitest.tsx +364 -338
- package/src/examples/internal/descendants-rerender.tsx +273 -0
- package/src/examples/internal/descendants-rerender.vitest.tsx +194 -0
- package/src/examples/internal/simple-dialog.tsx +4 -4
- package/src/examples/internal/simple-scrollbox.tsx +2 -2
- package/src/examples/internal/simple-scrollbox.vitest.tsx +43 -31
- package/src/examples/list-detail-metadata.vitest.tsx +34 -30
- package/src/examples/list-dropdown-default.vitest.tsx +84 -72
- package/src/examples/list-empty-view.vitest.tsx +93 -0
- package/src/examples/list-fetch-data.vitest.tsx +36 -30
- package/src/examples/list-scrollbox.vitest.tsx +59 -39
- package/src/examples/list-with-detail.vitest.tsx +339 -314
- package/src/examples/list-with-dropdown.tsx +1 -0
- package/src/examples/list-with-dropdown.vitest.tsx +176 -150
- package/src/examples/list-with-sections.vitest.tsx +289 -270
- package/src/examples/list-with-toast.vitest.tsx +44 -44
- package/src/examples/miscellaneous.tsx +10 -0
- package/src/examples/simple-file-picker.vitest.tsx +90 -86
- package/src/examples/simple-grid.vitest.tsx +275 -249
- package/src/examples/simple-navigation.vitest.tsx +192 -168
- package/src/examples/store.vitest.tsx +6 -4
- package/src/examples/swift-extension.vitest.tsx +31 -19
- package/src/examples/synonyms.vitest.tsx +93 -83
- package/src/examples/toast-action.tsx +160 -0
- package/src/examples/toast-action.vitest.tsx +404 -0
- package/src/examples/toast-variations.tsx +58 -57
- package/src/examples/toast-variations.vitest.tsx +186 -166
- package/src/extensions/dev.tsx +74 -33
- package/src/extensions/dev.vitest.tsx +162 -69
- package/src/extensions/home.tsx +5 -6
- package/src/extensions/react-refresh-init.tsx +59 -0
- package/src/internal/date-picker-widget.tsx +1 -1
- package/src/internal/dialog.tsx +59 -83
- package/src/internal/navigation.tsx +37 -4
- package/src/internal/providers.tsx +27 -315
- package/src/internal/scrollbox.tsx +1 -0
- package/src/release.tsx +16 -10
- package/src/state.tsx +36 -3
- package/src/theme.tsx +82 -51
- package/src/themes/aura.json +69 -0
- package/src/themes/ayu.json +80 -0
- package/src/themes/catppuccin-frappe.json +233 -0
- package/src/themes/catppuccin-macchiato.json +233 -0
- package/src/themes/catppuccin.json +112 -0
- package/src/themes/cobalt2.json +228 -0
- package/src/themes/cursor.json +249 -0
- package/src/themes/dracula.json +219 -0
- package/src/themes/everforest.json +241 -0
- package/src/themes/flexoki.json +237 -0
- package/src/themes/github-light.json +56 -0
- package/src/themes/github.json +241 -0
- package/src/themes/gruvbox.json +95 -0
- package/src/themes/kanagawa.json +77 -0
- package/src/themes/lucent-orng.json +227 -0
- package/src/themes/material.json +235 -0
- package/src/themes/matrix.json +77 -0
- package/src/themes/mercury.json +252 -0
- package/src/themes/monokai.json +221 -0
- package/src/themes/nightowl.json +221 -0
- package/src/themes/nord.json +223 -0
- package/src/themes/one-dark.json +84 -0
- package/src/themes/opencode-light.json +62 -0
- package/src/themes/opencode.json +245 -0
- package/src/themes/orng.json +245 -0
- package/src/themes/palenight.json +222 -0
- package/src/themes/rosepine.json +234 -0
- package/src/themes/solarized.json +223 -0
- package/src/themes/synthwave84.json +226 -0
- package/src/themes/termcast.json +227 -0
- package/src/themes/tokyonight.json +243 -0
- package/src/themes/vercel.json +255 -0
- package/src/themes/vesper.json +218 -0
- package/src/themes/zenburn.json +223 -0
- package/src/themes.ts +291 -0
- package/src/utils/run-command.tsx +23 -12
- package/src/utils.tsx +115 -18
- package/src/watcher.tsx +19 -0
|
@@ -25,20 +25,20 @@ test('toast variations display correctly', async () => {
|
|
|
25
25
|
"
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
Toast Variations ─────────────────────────────────────────────────────────
|
|
29
29
|
|
|
30
|
-
|
|
30
|
+
> Search...
|
|
31
31
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
32
|
+
›Simple Success
|
|
33
|
+
Simple Failure
|
|
34
|
+
With Short Message
|
|
35
|
+
With Long Message
|
|
36
|
+
With Super Long Message
|
|
37
|
+
With Primary Action
|
|
38
|
+
With Both Actions
|
|
39
|
+
Long Title with Actions
|
|
40
|
+
Animated Loading
|
|
41
|
+
Error with Retry
|
|
42
42
|
|
|
43
43
|
|
|
44
44
|
|
|
@@ -48,9 +48,11 @@ test('toast variations display correctly', async () => {
|
|
|
48
48
|
|
|
49
49
|
|
|
50
50
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
✓ Success
|
|
54
|
+
|
|
55
|
+
"
|
|
54
56
|
`)
|
|
55
57
|
|
|
56
58
|
// Simple Failure
|
|
@@ -60,20 +62,24 @@ test('toast variations display correctly', async () => {
|
|
|
60
62
|
"
|
|
61
63
|
|
|
62
64
|
|
|
63
|
-
|
|
65
|
+
Toast Variations ─────────────────────────────────────────────────────────
|
|
66
|
+
|
|
67
|
+
> Search...
|
|
68
|
+
|
|
69
|
+
Simple Success
|
|
70
|
+
›Simple Failure
|
|
71
|
+
With Short Message
|
|
72
|
+
With Long Message
|
|
73
|
+
With Super Long Message
|
|
74
|
+
With Primary Action
|
|
75
|
+
With Both Actions
|
|
76
|
+
Long Title with Actions
|
|
77
|
+
Animated Loading
|
|
78
|
+
Error with Retry
|
|
79
|
+
|
|
64
80
|
|
|
65
|
-
|
|
81
|
+
✗ Error
|
|
66
82
|
|
|
67
|
-
Simple Success
|
|
68
|
-
›Simple Failure
|
|
69
|
-
With Short Message
|
|
70
|
-
With Long Message
|
|
71
|
-
With Super Long Message
|
|
72
|
-
With Primary Action
|
|
73
|
-
With Both Actions
|
|
74
|
-
Long Title with Actions
|
|
75
|
-
Animated Loading
|
|
76
|
-
Error with Retry
|
|
77
83
|
|
|
78
84
|
|
|
79
85
|
|
|
@@ -83,9 +89,7 @@ test('toast variations display correctly', async () => {
|
|
|
83
89
|
|
|
84
90
|
|
|
85
91
|
|
|
86
|
-
|
|
87
|
-
│ ✗ Error │
|
|
88
|
-
└──────────────────────────────────────────────────────────────────────────┘"
|
|
92
|
+
"
|
|
89
93
|
`)
|
|
90
94
|
|
|
91
95
|
// With Short Message
|
|
@@ -95,20 +99,24 @@ test('toast variations display correctly', async () => {
|
|
|
95
99
|
"
|
|
96
100
|
|
|
97
101
|
|
|
98
|
-
|
|
102
|
+
Toast Variations ─────────────────────────────────────────────────────────
|
|
103
|
+
|
|
104
|
+
> Search...
|
|
105
|
+
|
|
106
|
+
Simple Success
|
|
107
|
+
Simple Failure
|
|
108
|
+
›With Short Message
|
|
109
|
+
With Long Message
|
|
110
|
+
With Super Long Message
|
|
111
|
+
With Primary Action
|
|
112
|
+
With Both Actions
|
|
113
|
+
Long Title with Actions
|
|
114
|
+
Animated Loading
|
|
115
|
+
Error with Retry
|
|
116
|
+
|
|
99
117
|
|
|
100
|
-
|
|
118
|
+
✓ Copied Text copied to clipboard
|
|
101
119
|
|
|
102
|
-
Simple Success
|
|
103
|
-
Simple Failure
|
|
104
|
-
›With Short Message
|
|
105
|
-
With Long Message
|
|
106
|
-
With Super Long Message
|
|
107
|
-
With Primary Action
|
|
108
|
-
With Both Actions
|
|
109
|
-
Long Title with Actions
|
|
110
|
-
Animated Loading
|
|
111
|
-
Error with Retry
|
|
112
120
|
|
|
113
121
|
|
|
114
122
|
|
|
@@ -117,10 +125,8 @@ test('toast variations display correctly', async () => {
|
|
|
117
125
|
|
|
118
126
|
|
|
119
127
|
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
│ Text copied to clipboard │
|
|
123
|
-
└──────────────────────────────────────────────────────────────────────────┘"
|
|
128
|
+
|
|
129
|
+
"
|
|
124
130
|
`)
|
|
125
131
|
|
|
126
132
|
// With Long Message
|
|
@@ -130,32 +136,34 @@ test('toast variations display correctly', async () => {
|
|
|
130
136
|
"
|
|
131
137
|
|
|
132
138
|
|
|
133
|
-
|
|
139
|
+
Toast Variations ─────────────────────────────────────────────────────────
|
|
140
|
+
|
|
141
|
+
> Search...
|
|
134
142
|
|
|
135
|
-
|
|
143
|
+
Simple Success
|
|
144
|
+
Simple Failure
|
|
145
|
+
With Short Message
|
|
146
|
+
›With Long Message
|
|
147
|
+
With Super Long Message
|
|
148
|
+
With Primary Action
|
|
149
|
+
With Both Actions
|
|
150
|
+
Long Title with Actions
|
|
151
|
+
Animated Loading
|
|
152
|
+
Error with Retry
|
|
136
153
|
|
|
137
|
-
Simple Success
|
|
138
|
-
Simple Failure
|
|
139
|
-
With Short Message
|
|
140
|
-
›With Long Message
|
|
141
|
-
With Super Long Message
|
|
142
|
-
With Primary Action
|
|
143
|
-
With Both Actions
|
|
144
|
-
Long Title with Actions
|
|
145
|
-
Animated Loading
|
|
146
|
-
Error with Retry
|
|
147
154
|
|
|
155
|
+
✗ Error This is a very long error message that should wrap to multiple
|
|
148
156
|
|
|
149
157
|
|
|
150
158
|
|
|
151
159
|
|
|
152
160
|
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
"
|
|
159
167
|
`)
|
|
160
168
|
|
|
161
169
|
// With Super Long Message
|
|
@@ -165,32 +173,34 @@ test('toast variations display correctly', async () => {
|
|
|
165
173
|
"
|
|
166
174
|
|
|
167
175
|
|
|
168
|
-
|
|
176
|
+
Toast Variations ─────────────────────────────────────────────────────────
|
|
177
|
+
|
|
178
|
+
> Search...
|
|
179
|
+
|
|
180
|
+
Simple Success
|
|
181
|
+
Simple Failure
|
|
182
|
+
With Short Message
|
|
183
|
+
›With Long Message
|
|
184
|
+
With Super Long Message
|
|
185
|
+
With Primary Action
|
|
186
|
+
With Both Actions
|
|
187
|
+
Long Title with Actions
|
|
188
|
+
Animated Loading
|
|
189
|
+
Error with Retry
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
✗ Error This is a very long error message that should wrap to multiple
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
|
|
169
197
|
|
|
170
|
-
Search...
|
|
171
198
|
|
|
172
|
-
Simple Success
|
|
173
|
-
Simple Failure
|
|
174
|
-
With Short Message
|
|
175
|
-
With Long Message
|
|
176
|
-
›With Super Long Message
|
|
177
|
-
With Primary Action
|
|
178
|
-
With Both Actions
|
|
179
|
-
Long Title with Actions
|
|
180
|
-
Animated Loading
|
|
181
|
-
Error with Retry
|
|
182
199
|
|
|
183
200
|
|
|
184
201
|
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
│ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do │
|
|
188
|
-
│ eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim │
|
|
189
|
-
│ ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut │
|
|
190
|
-
│ aliquip ex ea commodo consequat. Duis aute irure dolor in │
|
|
191
|
-
│ reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla │
|
|
192
|
-
│ pariatur. │
|
|
193
|
-
└──────────────────────────────────────────────────────────────────────────┘"
|
|
202
|
+
|
|
203
|
+
"
|
|
194
204
|
`)
|
|
195
205
|
|
|
196
206
|
// With Primary Action
|
|
@@ -200,20 +210,23 @@ test('toast variations display correctly', async () => {
|
|
|
200
210
|
"
|
|
201
211
|
|
|
202
212
|
|
|
203
|
-
|
|
213
|
+
Toast Variations ─────────────────────────────────────────────────────────
|
|
214
|
+
|
|
215
|
+
> Search...
|
|
216
|
+
|
|
217
|
+
Simple Success
|
|
218
|
+
Simple Failure
|
|
219
|
+
With Short Message
|
|
220
|
+
With Long Message
|
|
221
|
+
With Super Long Message
|
|
222
|
+
›With Primary Action
|
|
223
|
+
With Both Actions
|
|
224
|
+
Long Title with Actions
|
|
225
|
+
Animated Loading
|
|
226
|
+
Error with Retry
|
|
204
227
|
|
|
205
|
-
Search...
|
|
206
228
|
|
|
207
|
-
|
|
208
|
-
Simple Failure
|
|
209
|
-
With Short Message
|
|
210
|
-
With Long Message
|
|
211
|
-
With Super Long Message
|
|
212
|
-
›With Primary Action
|
|
213
|
-
With Both Actions
|
|
214
|
-
Long Title with Actions
|
|
215
|
-
Animated Loading
|
|
216
|
-
Error with Retry
|
|
229
|
+
✓ File Deleted document.pdf was moved to trash Undo ctrl t
|
|
217
230
|
|
|
218
231
|
|
|
219
232
|
|
|
@@ -222,10 +235,9 @@ test('toast variations display correctly', async () => {
|
|
|
222
235
|
|
|
223
236
|
|
|
224
237
|
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
└──────────────────────────────────────────────────────────────────────────┘"
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
"
|
|
229
241
|
`)
|
|
230
242
|
|
|
231
243
|
// With Both Actions
|
|
@@ -235,32 +247,34 @@ test('toast variations display correctly', async () => {
|
|
|
235
247
|
"
|
|
236
248
|
|
|
237
249
|
|
|
238
|
-
|
|
250
|
+
Toast Variations ─────────────────────────────────────────────────────────
|
|
239
251
|
|
|
240
|
-
|
|
252
|
+
> Search...
|
|
241
253
|
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
254
|
+
Simple Success
|
|
255
|
+
Simple Failure
|
|
256
|
+
With Short Message
|
|
257
|
+
With Long Message
|
|
258
|
+
With Super Long Message
|
|
259
|
+
With Primary Action
|
|
260
|
+
›With Both Actions
|
|
261
|
+
Long Title with Actions
|
|
262
|
+
Animated Loading
|
|
263
|
+
Error with Retry
|
|
252
264
|
|
|
253
265
|
|
|
266
|
+
✓ Update Available Version 2.0 is ready to i Install ctrl t Later ctrl g
|
|
254
267
|
|
|
255
268
|
|
|
256
269
|
|
|
257
270
|
|
|
258
271
|
|
|
259
272
|
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
"
|
|
264
278
|
`)
|
|
265
279
|
|
|
266
280
|
// Long Title with Actions
|
|
@@ -270,20 +284,23 @@ test('toast variations display correctly', async () => {
|
|
|
270
284
|
"
|
|
271
285
|
|
|
272
286
|
|
|
273
|
-
|
|
287
|
+
Toast Variations ─────────────────────────────────────────────────────────
|
|
288
|
+
|
|
289
|
+
> Search...
|
|
290
|
+
|
|
291
|
+
Simple Success
|
|
292
|
+
Simple Failure
|
|
293
|
+
With Short Message
|
|
294
|
+
With Long Message
|
|
295
|
+
With Super Long Message
|
|
296
|
+
With Primary Action
|
|
297
|
+
With Both Actions
|
|
298
|
+
›Long Title with Actions
|
|
299
|
+
Animated Loading
|
|
300
|
+
Error with Retry
|
|
274
301
|
|
|
275
|
-
Search...
|
|
276
302
|
|
|
277
|
-
|
|
278
|
-
Simple Failure
|
|
279
|
-
With Short Message
|
|
280
|
-
With Long Message
|
|
281
|
-
With Super Long Message
|
|
282
|
-
With Primary Action
|
|
283
|
-
With Both Actions
|
|
284
|
-
›Long Title with Actions
|
|
285
|
-
Animated Loading
|
|
286
|
-
Error with Retry
|
|
303
|
+
✓ Operation Completed Successfully Al View Results ctrl t Dismiss ctrl g
|
|
287
304
|
|
|
288
305
|
|
|
289
306
|
|
|
@@ -292,10 +309,9 @@ test('toast variations display correctly', async () => {
|
|
|
292
309
|
|
|
293
310
|
|
|
294
311
|
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
└──────────────────────────────────────────────────────────────────────────┘"
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
"
|
|
299
315
|
`)
|
|
300
316
|
|
|
301
317
|
// Animated Loading
|
|
@@ -305,20 +321,25 @@ test('toast variations display correctly', async () => {
|
|
|
305
321
|
"
|
|
306
322
|
|
|
307
323
|
|
|
308
|
-
|
|
324
|
+
Toast Variations ─────────────────────────────────────────────────────────
|
|
325
|
+
|
|
326
|
+
> Search...
|
|
327
|
+
|
|
328
|
+
Simple Success
|
|
329
|
+
Simple Failure
|
|
330
|
+
With Short Message
|
|
331
|
+
With Long Message
|
|
332
|
+
With Super Long Message
|
|
333
|
+
With Primary Action
|
|
334
|
+
With Both Actions
|
|
335
|
+
Long Title with Actions
|
|
336
|
+
›Animated Loading
|
|
337
|
+
Error with Retry
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
⣽ Processing Please wait while we process your request...
|
|
309
341
|
|
|
310
|
-
Search...
|
|
311
342
|
|
|
312
|
-
Simple Success
|
|
313
|
-
Simple Failure
|
|
314
|
-
With Short Message
|
|
315
|
-
With Long Message
|
|
316
|
-
With Super Long Message
|
|
317
|
-
With Primary Action
|
|
318
|
-
With Both Actions
|
|
319
|
-
Long Title with Actions
|
|
320
|
-
›Animated Loading
|
|
321
|
-
Error with Retry
|
|
322
343
|
|
|
323
344
|
|
|
324
345
|
|
|
@@ -327,10 +348,7 @@ test('toast variations display correctly', async () => {
|
|
|
327
348
|
|
|
328
349
|
|
|
329
350
|
|
|
330
|
-
|
|
331
|
-
│ ⣽ Processing │
|
|
332
|
-
│ Please wait while we process your request... │
|
|
333
|
-
└──────────────────────────────────────────────────────────────────────────┘"
|
|
351
|
+
"
|
|
334
352
|
`)
|
|
335
353
|
|
|
336
354
|
// Error with Retry
|
|
@@ -340,20 +358,24 @@ test('toast variations display correctly', async () => {
|
|
|
340
358
|
"
|
|
341
359
|
|
|
342
360
|
|
|
343
|
-
|
|
361
|
+
Toast Variations ─────────────────────────────────────────────────────────
|
|
362
|
+
|
|
363
|
+
> Search...
|
|
364
|
+
|
|
365
|
+
Simple Success
|
|
366
|
+
Simple Failure
|
|
367
|
+
With Short Message
|
|
368
|
+
With Long Message
|
|
369
|
+
With Super Long Message
|
|
370
|
+
With Primary Action
|
|
371
|
+
With Both Actions
|
|
372
|
+
Long Title with Actions
|
|
373
|
+
Animated Loading
|
|
374
|
+
›Error with Retry
|
|
375
|
+
|
|
344
376
|
|
|
345
|
-
|
|
377
|
+
✗ Connection Failed Unable to connect to the server. Please Retry ctrl t
|
|
346
378
|
|
|
347
|
-
Simple Success
|
|
348
|
-
Simple Failure
|
|
349
|
-
With Short Message
|
|
350
|
-
With Long Message
|
|
351
|
-
With Super Long Message
|
|
352
|
-
With Primary Action
|
|
353
|
-
With Both Actions
|
|
354
|
-
Long Title with Actions
|
|
355
|
-
Animated Loading
|
|
356
|
-
›Error with Retry
|
|
357
379
|
|
|
358
380
|
|
|
359
381
|
|
|
@@ -361,10 +383,8 @@ test('toast variations display correctly', async () => {
|
|
|
361
383
|
|
|
362
384
|
|
|
363
385
|
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
│ connection and try again. │
|
|
368
|
-
└──────────────────────────────────────────────────────────────────────────┘"
|
|
386
|
+
|
|
387
|
+
|
|
388
|
+
"
|
|
369
389
|
`)
|
|
370
390
|
}, 30000)
|