@kuncat/avoidant 0.2.4 → 0.3.1
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 +25 -16
- package/dist/components/AvoidantGame.svelte +744 -457
- package/dist/components/AvoidantGame.svelte.d.ts +2 -1
- package/dist/components/GameHistory.svelte +103 -0
- package/dist/components/GameHistory.svelte.d.ts +8 -0
- package/dist/components/MapIcon.svelte +40 -0
- package/dist/components/MapIcon.svelte.d.ts +7 -0
- package/dist/components/MatchResults.svelte +28 -0
- package/dist/components/MatchResults.svelte.d.ts +7 -0
- package/dist/components/MultiplayerGame.svelte +504 -0
- package/dist/components/MultiplayerGame.svelte.d.ts +11 -0
- package/dist/components/OptionHelp.svelte +96 -0
- package/dist/components/OptionHelp.svelte.d.ts +7 -0
- package/dist/components/ScoreSummary.svelte +43 -0
- package/dist/components/ScoreSummary.svelte.d.ts +8 -0
- package/dist/components/board.svelte +54 -5
- package/dist/components/board.svelte.d.ts +4 -2
- package/dist/components/fragment.glsl +34 -0
- package/dist/index.d.ts +1 -0
- package/dist/multiplayer/client.d.ts +23 -0
- package/dist/multiplayer/client.js +119 -0
- package/dist/multiplayer/duration.d.ts +1 -0
- package/dist/multiplayer/duration.js +6 -0
- package/dist/multiplayer/invitations.d.ts +2 -0
- package/dist/multiplayer/invitations.js +23 -0
- package/dist/multiplayer/local-identity.d.ts +1 -0
- package/dist/multiplayer/local-identity.js +13 -0
- package/dist/multiplayer/maps.json +275 -0
- package/dist/multiplayer/reveal.d.ts +11 -0
- package/dist/multiplayer/reveal.js +16 -0
- package/dist/multiplayer/types.d.ts +80 -0
- package/dist/multiplayer/types.js +10 -0
- package/dist/paraglide/messages/_index.d.ts +103 -1
- package/dist/paraglide/messages/_index.js +104 -2
- package/dist/paraglide/messages/action_copied.d.ts +16 -0
- package/dist/paraglide/messages/action_copied.js +29 -0
- package/dist/paraglide/messages/action_copy_invitation.d.ts +16 -0
- package/dist/paraglide/messages/action_copy_invitation.js +29 -0
- package/dist/paraglide/messages/action_download_replay.d.ts +16 -0
- package/dist/paraglide/messages/action_download_replay.js +29 -0
- package/dist/paraglide/messages/{field_relay_servers.d.ts → action_game_history.d.ts} +5 -5
- package/dist/paraglide/messages/action_game_history.js +29 -0
- package/dist/paraglide/messages/action_load_more.d.ts +16 -0
- package/dist/paraglide/messages/action_load_more.js +29 -0
- package/dist/paraglide/messages/action_login.d.ts +16 -0
- package/dist/paraglide/messages/action_login.js +29 -0
- package/dist/paraglide/messages/action_login_again.d.ts +16 -0
- package/dist/paraglide/messages/action_login_again.js +29 -0
- package/dist/paraglide/messages/action_logout.d.ts +16 -0
- package/dist/paraglide/messages/action_logout.js +29 -0
- package/dist/paraglide/messages/action_pass.d.ts +16 -0
- package/dist/paraglide/messages/action_pass.js +29 -0
- package/dist/paraglide/messages/action_reconnect.d.ts +16 -0
- package/dist/paraglide/messages/action_reconnect.js +29 -0
- package/dist/paraglide/messages/action_register.d.ts +16 -0
- package/dist/paraglide/messages/action_register.js +29 -0
- package/dist/paraglide/messages/action_save_name.d.ts +16 -0
- package/dist/paraglide/messages/action_save_name.js +29 -0
- package/dist/paraglide/messages/action_start_match.d.ts +16 -0
- package/dist/paraglide/messages/action_start_match.js +29 -0
- package/dist/paraglide/messages/error_connection_failed.d.ts +16 -0
- package/dist/paraglide/messages/error_connection_failed.js +29 -0
- package/dist/paraglide/messages/error_connection_interrupted.d.ts +16 -0
- package/dist/paraglide/messages/error_connection_interrupted.js +29 -0
- package/dist/paraglide/messages/error_history.d.ts +16 -0
- package/dist/paraglide/messages/error_history.js +29 -0
- package/dist/paraglide/messages/error_invitation_invalid.d.ts +16 -0
- package/dist/paraglide/messages/error_invitation_invalid.js +29 -0
- package/dist/paraglide/messages/error_login_to_join.d.ts +16 -0
- package/dist/paraglide/messages/error_login_to_join.js +29 -0
- package/dist/paraglide/messages/error_map_version.d.ts +16 -0
- package/dist/paraglide/messages/error_map_version.js +29 -0
- package/dist/paraglide/messages/error_match_join.d.ts +16 -0
- package/dist/paraglide/messages/error_match_join.js +29 -0
- package/dist/paraglide/messages/error_match_version.d.ts +16 -0
- package/dist/paraglide/messages/error_match_version.js +29 -0
- package/dist/paraglide/messages/error_name_not_saved.d.ts +16 -0
- package/dist/paraglide/messages/error_name_not_saved.js +29 -0
- package/dist/paraglide/messages/error_name_server_update.d.ts +16 -0
- package/dist/paraglide/messages/error_name_server_update.js +29 -0
- package/dist/paraglide/messages/error_player_name.d.ts +16 -0
- package/dist/paraglide/messages/error_player_name.js +29 -0
- package/dist/paraglide/messages/error_reconnect_to_play.d.ts +16 -0
- package/dist/paraglide/messages/error_reconnect_to_play.js +29 -0
- package/dist/paraglide/messages/error_replay.d.ts +16 -0
- package/dist/paraglide/messages/error_replay.js +29 -0
- package/dist/paraglide/messages/error_unsupported_map.d.ts +16 -0
- package/dist/paraglide/messages/error_unsupported_map.js +29 -0
- package/dist/paraglide/messages/field_bordering.d.ts +16 -0
- package/dist/paraglide/messages/field_bordering.js +29 -0
- package/dist/paraglide/messages/field_duration_unit.d.ts +16 -0
- package/dist/paraglide/messages/field_duration_unit.js +29 -0
- package/dist/paraglide/messages/field_finite_flood.d.ts +16 -0
- package/dist/paraglide/messages/field_finite_flood.js +29 -0
- package/dist/paraglide/messages/field_flood_cells.d.ts +16 -0
- package/dist/paraglide/messages/field_flood_cells.js +29 -0
- package/dist/paraglide/messages/field_flood_limit.d.ts +16 -0
- package/dist/paraglide/messages/field_flood_limit.js +29 -0
- package/dist/paraglide/messages/field_infinite_flood.d.ts +16 -0
- package/dist/paraglide/messages/field_infinite_flood.js +29 -0
- package/dist/paraglide/messages/field_invitation_link.d.ts +16 -0
- package/dist/paraglide/messages/field_invitation_link.js +29 -0
- package/dist/paraglide/messages/field_language.d.ts +16 -0
- package/dist/paraglide/messages/field_language.js +29 -0
- package/dist/paraglide/messages/field_map.d.ts +16 -0
- package/dist/paraglide/messages/field_map.js +29 -0
- package/dist/paraglide/messages/field_map_size.d.ts +1 -1
- package/dist/paraglide/messages/field_map_size.js +3 -3
- package/dist/paraglide/messages/field_match_duration.d.ts +16 -0
- package/dist/paraglide/messages/field_match_duration.js +29 -0
- package/dist/paraglide/messages/field_match_minutes.d.ts +16 -0
- package/dist/paraglide/messages/field_match_minutes.js +29 -0
- package/dist/paraglide/messages/field_play_mode.d.ts +16 -0
- package/dist/paraglide/messages/field_play_mode.js +29 -0
- package/dist/paraglide/messages/field_size.d.ts +1 -1
- package/dist/paraglide/messages/field_size.js +3 -3
- package/dist/paraglide/messages/field_turn_based.d.ts +16 -0
- package/dist/paraglide/messages/field_turn_based.js +29 -0
- package/dist/paraglide/messages/field_turn_duration.d.ts +16 -0
- package/dist/paraglide/messages/field_turn_duration.js +29 -0
- package/dist/paraglide/messages/field_turn_duration_unit.d.ts +16 -0
- package/dist/paraglide/messages/field_turn_duration_unit.js +29 -0
- package/dist/paraglide/messages/field_turn_timer.d.ts +16 -0
- package/dist/paraglide/messages/field_turn_timer.js +29 -0
- package/dist/paraglide/messages/help_bordering.d.ts +16 -0
- package/dist/paraglide/messages/help_bordering.js +29 -0
- package/dist/paraglide/messages/help_flood_limit.d.ts +16 -0
- package/dist/paraglide/messages/help_flood_limit.js +29 -0
- package/dist/paraglide/messages/help_map.d.ts +16 -0
- package/dist/paraglide/messages/help_map.js +29 -0
- package/dist/paraglide/messages/help_map_size.d.ts +16 -0
- package/dist/paraglide/messages/help_map_size.js +29 -0
- package/dist/paraglide/messages/help_match_duration.d.ts +16 -0
- package/dist/paraglide/messages/help_match_duration.js +29 -0
- package/dist/paraglide/messages/help_participation_time.d.ts +16 -0
- package/dist/paraglide/messages/help_participation_time.js +29 -0
- package/dist/paraglide/messages/help_play_mode.d.ts +16 -0
- package/dist/paraglide/messages/help_play_mode.js +29 -0
- package/dist/paraglide/messages/help_player_name.d.ts +16 -0
- package/dist/paraglide/messages/help_player_name.js +29 -0
- package/dist/paraglide/messages/help_seed.d.ts +16 -0
- package/dist/paraglide/messages/help_seed.js +29 -0
- package/dist/paraglide/messages/help_size.d.ts +16 -0
- package/dist/paraglide/messages/help_size.js +29 -0
- package/dist/paraglide/messages/help_spikiness.d.ts +16 -0
- package/dist/paraglide/messages/help_spikiness.js +29 -0
- package/dist/paraglide/messages/help_turn_based.d.ts +16 -0
- package/dist/paraglide/messages/help_turn_based.js +29 -0
- package/dist/paraglide/messages/help_turn_duration.d.ts +16 -0
- package/dist/paraglide/messages/help_turn_duration.js +29 -0
- package/dist/paraglide/messages/help_turn_time.d.ts +16 -0
- package/dist/paraglide/messages/help_turn_time.js +29 -0
- package/dist/paraglide/messages/help_turn_timer.d.ts +16 -0
- package/dist/paraglide/messages/help_turn_timer.js +29 -0
- package/dist/paraglide/messages/help_tutorial_mode.d.ts +16 -0
- package/dist/paraglide/messages/help_tutorial_mode.js +29 -0
- package/dist/paraglide/messages/help_void_fraction.d.ts +16 -0
- package/dist/paraglide/messages/help_void_fraction.js +29 -0
- package/dist/paraglide/messages/history_empty.d.ts +16 -0
- package/dist/paraglide/messages/history_empty.js +29 -0
- package/dist/paraglide/messages/label_claims.d.ts +18 -0
- package/dist/paraglide/messages/label_claims.js +29 -0
- package/dist/paraglide/messages/label_cumulative_time.d.ts +16 -0
- package/dist/paraglide/messages/label_cumulative_time.js +29 -0
- package/dist/paraglide/messages/label_custom_map_options.d.ts +16 -0
- package/dist/paraglide/messages/label_custom_map_options.js +29 -0
- package/dist/paraglide/messages/label_gameplay_options.d.ts +16 -0
- package/dist/paraglide/messages/label_gameplay_options.js +29 -0
- package/dist/paraglide/messages/label_map_options.d.ts +16 -0
- package/dist/paraglide/messages/label_map_options.js +29 -0
- package/dist/paraglide/messages/label_match_ends.d.ts +18 -0
- package/dist/paraglide/messages/label_match_ends.js +29 -0
- package/dist/paraglide/messages/label_match_id.d.ts +18 -0
- package/dist/paraglide/messages/label_match_id.js +29 -0
- package/dist/paraglide/messages/label_player_number.d.ts +18 -0
- package/dist/paraglide/messages/label_player_number.js +29 -0
- package/dist/paraglide/messages/label_points.d.ts +18 -0
- package/dist/paraglide/messages/label_points.js +29 -0
- package/dist/paraglide/messages/label_revealed_count.d.ts +18 -0
- package/dist/paraglide/messages/label_revealed_count.js +29 -0
- package/dist/paraglide/messages/label_team_score.d.ts +18 -0
- package/dist/paraglide/messages/label_team_score.js +29 -0
- package/dist/paraglide/messages/label_turn_remaining.d.ts +18 -0
- package/dist/paraglide/messages/label_turn_remaining.js +29 -0
- package/dist/paraglide/messages/label_you.d.ts +16 -0
- package/dist/paraglide/messages/label_you.js +29 -0
- package/dist/paraglide/messages/mode_collaborative.d.ts +16 -0
- package/dist/paraglide/messages/mode_collaborative.js +29 -0
- package/dist/paraglide/messages/mode_collaborative_hint.d.ts +16 -0
- package/dist/paraglide/messages/mode_collaborative_hint.js +29 -0
- package/dist/paraglide/messages/mode_solo.d.ts +16 -0
- package/dist/paraglide/messages/mode_solo.js +29 -0
- package/dist/paraglide/messages/mode_solo_hint.d.ts +16 -0
- package/dist/paraglide/messages/mode_solo_hint.js +29 -0
- package/dist/paraglide/messages/mode_territory.d.ts +16 -0
- package/dist/paraglide/messages/mode_territory.js +29 -0
- package/dist/paraglide/messages/mode_territory_hint.d.ts +16 -0
- package/dist/paraglide/messages/mode_territory_hint.js +29 -0
- package/dist/paraglide/messages/multiplayer_title.d.ts +16 -0
- package/dist/paraglide/messages/multiplayer_title.js +29 -0
- package/dist/paraglide/messages/option_help.d.ts +18 -0
- package/dist/paraglide/messages/option_help.js +29 -0
- package/dist/paraglide/messages/shape_label.d.ts +5 -5
- package/dist/paraglide/messages/shape_label.js +15 -15
- package/dist/paraglide/messages/status_connecting.d.ts +16 -0
- package/dist/paraglide/messages/status_connecting.js +29 -0
- package/dist/paraglide/messages/status_draw.d.ts +16 -0
- package/dist/paraglide/messages/status_draw.js +29 -0
- package/dist/paraglide/messages/status_match_complete.d.ts +16 -0
- package/dist/paraglide/messages/status_match_complete.js +29 -0
- package/dist/paraglide/messages/status_match_expired.d.ts +16 -0
- package/dist/paraglide/messages/status_match_expired.js +29 -0
- package/dist/paraglide/messages/status_name_saved.d.ts +16 -0
- package/dist/paraglide/messages/status_name_saved.js +29 -0
- package/dist/paraglide/messages/status_named_turn.d.ts +18 -0
- package/dist/paraglide/messages/status_named_turn.js +29 -0
- package/dist/paraglide/messages/status_named_winner.d.ts +18 -0
- package/dist/paraglide/messages/status_named_winner.js +29 -0
- package/dist/paraglide/messages/status_player_turn.d.ts +18 -0
- package/dist/paraglide/messages/status_player_turn.js +29 -0
- package/dist/paraglide/messages/status_realtime_claims.d.ts +16 -0
- package/dist/paraglide/messages/status_realtime_claims.js +29 -0
- package/dist/paraglide/messages/status_reconnecting.d.ts +16 -0
- package/dist/paraglide/messages/status_reconnecting.js +29 -0
- package/dist/paraglide/messages/status_session_complete.d.ts +16 -0
- package/dist/paraglide/messages/status_session_complete.js +29 -0
- package/dist/paraglide/messages/status_winner.d.ts +18 -0
- package/dist/paraglide/messages/status_winner.js +29 -0
- package/dist/paraglide/messages/text_account_multiplayer.d.ts +16 -0
- package/dist/paraglide/messages/text_account_multiplayer.js +29 -0
- package/dist/paraglide/messages/text_multiplayer_login.d.ts +16 -0
- package/dist/paraglide/messages/text_multiplayer_login.js +29 -0
- package/dist/paraglide/messages/text_waiting_lobby.d.ts +16 -0
- package/dist/paraglide/messages/text_waiting_lobby.js +29 -0
- package/dist/paraglide/messages/unit_hours.d.ts +16 -0
- package/dist/paraglide/messages/unit_hours.js +29 -0
- package/dist/paraglide/messages/unit_hours_selected.d.ts +19 -0
- package/dist/paraglide/messages/unit_hours_selected.js +35 -0
- package/dist/paraglide/messages/unit_minutes.d.ts +16 -0
- package/dist/paraglide/messages/unit_minutes.js +29 -0
- package/dist/paraglide/messages/unit_minutes_selected.d.ts +19 -0
- package/dist/paraglide/messages/unit_minutes_selected.js +35 -0
- package/dist/paraglide/messages/unit_seconds.d.ts +16 -0
- package/dist/paraglide/messages/unit_seconds.js +29 -0
- package/dist/paraglide/messages/unit_seconds_selected.d.ts +19 -0
- package/dist/paraglide/messages/unit_seconds_selected.js +35 -0
- package/dist/styles/global.css +14 -51
- package/dist/wasm/avoidant_wasm.d.ts +3 -208
- package/dist/wasm/avoidant_wasm.js +20 -1101
- package/dist/wasm/avoidant_wasm_bg.wasm +0 -0
- package/dist/wasm/avoidant_wasm_bg.wasm.d.ts +3 -65
- package/package.json +6 -4
- package/dist/paraglide/messages/field_relay_servers.js +0 -29
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
|
3
|
+
|
|
4
|
+
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
5
|
+
|
|
6
|
+
/** @typedef {{}} Text_Account_MultiplayerInputs */
|
|
7
|
+
|
|
8
|
+
const en_text_account_multiplayer = /** @type {(inputs: Text_Account_MultiplayerInputs) => LocalizedString} */ () => {
|
|
9
|
+
return /** @type {LocalizedString} */ (`Use your Kuncat account for multiplayer.`)
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
const bn_text_account_multiplayer = /** @type {(inputs: Text_Account_MultiplayerInputs) => LocalizedString} */ () => {
|
|
13
|
+
return /** @type {LocalizedString} */ (`বহুজন খেলতে আপনার Kuncat অ্যাকাউন্ট ব্যবহার করুন।`)
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* | output |
|
|
18
|
+
* | --- |
|
|
19
|
+
* | "Use your Kuncat account for multiplayer." |
|
|
20
|
+
*
|
|
21
|
+
* @param {Text_Account_MultiplayerInputs} inputs
|
|
22
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
23
|
+
* @returns {LocalizedString}
|
|
24
|
+
*/
|
|
25
|
+
export const text_account_multiplayer = /** @type {((inputs?: Text_Account_MultiplayerInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Text_Account_MultiplayerInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
|
|
26
|
+
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
27
|
+
if (locale === "bn") return bn_text_account_multiplayer(inputs)
|
|
28
|
+
return en_text_account_multiplayer(inputs)
|
|
29
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* | output |
|
|
3
|
+
* | --- |
|
|
4
|
+
* | "Log in to enable multiplayer modes." |
|
|
5
|
+
*
|
|
6
|
+
* @param {Text_Multiplayer_LoginInputs} inputs
|
|
7
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
8
|
+
* @returns {LocalizedString}
|
|
9
|
+
*/
|
|
10
|
+
export const text_multiplayer_login: ((inputs?: Text_Multiplayer_LoginInputs, options?: {
|
|
11
|
+
locale?: "en" | "bn";
|
|
12
|
+
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Text_Multiplayer_LoginInputs, {
|
|
13
|
+
locale?: "en" | "bn";
|
|
14
|
+
}, {}>;
|
|
15
|
+
export type LocalizedString = import("../runtime.js").LocalizedString;
|
|
16
|
+
export type Text_Multiplayer_LoginInputs = {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
|
3
|
+
|
|
4
|
+
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
5
|
+
|
|
6
|
+
/** @typedef {{}} Text_Multiplayer_LoginInputs */
|
|
7
|
+
|
|
8
|
+
const en_text_multiplayer_login = /** @type {(inputs: Text_Multiplayer_LoginInputs) => LocalizedString} */ () => {
|
|
9
|
+
return /** @type {LocalizedString} */ (`Log in to enable multiplayer modes.`)
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
const bn_text_multiplayer_login = /** @type {(inputs: Text_Multiplayer_LoginInputs) => LocalizedString} */ () => {
|
|
13
|
+
return /** @type {LocalizedString} */ (`বহুজন খেলার ধরন চালু করতে লগ ইন করুন।`)
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* | output |
|
|
18
|
+
* | --- |
|
|
19
|
+
* | "Log in to enable multiplayer modes." |
|
|
20
|
+
*
|
|
21
|
+
* @param {Text_Multiplayer_LoginInputs} inputs
|
|
22
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
23
|
+
* @returns {LocalizedString}
|
|
24
|
+
*/
|
|
25
|
+
export const text_multiplayer_login = /** @type {((inputs?: Text_Multiplayer_LoginInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Text_Multiplayer_LoginInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
|
|
26
|
+
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
27
|
+
if (locale === "bn") return bn_text_multiplayer_login(inputs)
|
|
28
|
+
return en_text_multiplayer_login(inputs)
|
|
29
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* | output |
|
|
3
|
+
* | --- |
|
|
4
|
+
* | "Waiting in lobby. Share the invitation link; the host starts once everyone has joined." |
|
|
5
|
+
*
|
|
6
|
+
* @param {Text_Waiting_LobbyInputs} inputs
|
|
7
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
8
|
+
* @returns {LocalizedString}
|
|
9
|
+
*/
|
|
10
|
+
export const text_waiting_lobby: ((inputs?: Text_Waiting_LobbyInputs, options?: {
|
|
11
|
+
locale?: "en" | "bn";
|
|
12
|
+
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Text_Waiting_LobbyInputs, {
|
|
13
|
+
locale?: "en" | "bn";
|
|
14
|
+
}, {}>;
|
|
15
|
+
export type LocalizedString = import("../runtime.js").LocalizedString;
|
|
16
|
+
export type Text_Waiting_LobbyInputs = {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
|
3
|
+
|
|
4
|
+
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
5
|
+
|
|
6
|
+
/** @typedef {{}} Text_Waiting_LobbyInputs */
|
|
7
|
+
|
|
8
|
+
const en_text_waiting_lobby = /** @type {(inputs: Text_Waiting_LobbyInputs) => LocalizedString} */ () => {
|
|
9
|
+
return /** @type {LocalizedString} */ (`Waiting in lobby. Share the invitation link; the host starts once everyone has joined.`)
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
const bn_text_waiting_lobby = /** @type {(inputs: Text_Waiting_LobbyInputs) => LocalizedString} */ () => {
|
|
13
|
+
return /** @type {LocalizedString} */ (`খেলা শুরুর অপেক্ষায়। আমন্ত্রণ লিঙ্কটি পাঠান; সবাই যোগ দিলে যিনি খেলা তৈরি করেছেন তিনি শুরু করবেন।`)
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* | output |
|
|
18
|
+
* | --- |
|
|
19
|
+
* | "Waiting in lobby. Share the invitation link; the host starts once everyone has joined." |
|
|
20
|
+
*
|
|
21
|
+
* @param {Text_Waiting_LobbyInputs} inputs
|
|
22
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
23
|
+
* @returns {LocalizedString}
|
|
24
|
+
*/
|
|
25
|
+
export const text_waiting_lobby = /** @type {((inputs?: Text_Waiting_LobbyInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Text_Waiting_LobbyInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
|
|
26
|
+
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
27
|
+
if (locale === "bn") return bn_text_waiting_lobby(inputs)
|
|
28
|
+
return en_text_waiting_lobby(inputs)
|
|
29
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* | output |
|
|
3
|
+
* | --- |
|
|
4
|
+
* | "Hours" |
|
|
5
|
+
*
|
|
6
|
+
* @param {Unit_HoursInputs} inputs
|
|
7
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
8
|
+
* @returns {LocalizedString}
|
|
9
|
+
*/
|
|
10
|
+
export const unit_hours: ((inputs?: Unit_HoursInputs, options?: {
|
|
11
|
+
locale?: "en" | "bn";
|
|
12
|
+
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Unit_HoursInputs, {
|
|
13
|
+
locale?: "en" | "bn";
|
|
14
|
+
}, {}>;
|
|
15
|
+
export type LocalizedString = import("../runtime.js").LocalizedString;
|
|
16
|
+
export type Unit_HoursInputs = {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
|
3
|
+
|
|
4
|
+
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
5
|
+
|
|
6
|
+
/** @typedef {{}} Unit_HoursInputs */
|
|
7
|
+
|
|
8
|
+
const en_unit_hours = /** @type {(inputs: Unit_HoursInputs) => LocalizedString} */ () => {
|
|
9
|
+
return /** @type {LocalizedString} */ (`Hours`)
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
const bn_unit_hours = /** @type {(inputs: Unit_HoursInputs) => LocalizedString} */ () => {
|
|
13
|
+
return /** @type {LocalizedString} */ (`ঘণ্টা`)
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* | output |
|
|
18
|
+
* | --- |
|
|
19
|
+
* | "Hours" |
|
|
20
|
+
*
|
|
21
|
+
* @param {Unit_HoursInputs} inputs
|
|
22
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
23
|
+
* @returns {LocalizedString}
|
|
24
|
+
*/
|
|
25
|
+
export const unit_hours = /** @type {((inputs?: Unit_HoursInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Unit_HoursInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
|
|
26
|
+
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
27
|
+
if (locale === "bn") return bn_unit_hours(inputs)
|
|
28
|
+
return en_unit_hours(inputs)
|
|
29
|
+
});
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* | countPlural | output |
|
|
3
|
+
* | --- | --- |
|
|
4
|
+
* | "one" | "Hour" |
|
|
5
|
+
* | "other" | "Hours" |
|
|
6
|
+
*
|
|
7
|
+
* @param {Unit_Hours_SelectedInputs} inputs
|
|
8
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
9
|
+
* @returns {LocalizedString}
|
|
10
|
+
*/
|
|
11
|
+
export const unit_hours_selected: ((inputs: Unit_Hours_SelectedInputs, options?: {
|
|
12
|
+
locale?: "en" | "bn";
|
|
13
|
+
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Unit_Hours_SelectedInputs, {
|
|
14
|
+
locale?: "en" | "bn";
|
|
15
|
+
}, {}>;
|
|
16
|
+
export type LocalizedString = import("../runtime.js").LocalizedString;
|
|
17
|
+
export type Unit_Hours_SelectedInputs = {
|
|
18
|
+
count: NonNullable<unknown>;
|
|
19
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import * as registry from '../registry.js'
|
|
3
|
+
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
|
4
|
+
|
|
5
|
+
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
6
|
+
|
|
7
|
+
/** @typedef {{ count: NonNullable<unknown> }} Unit_Hours_SelectedInputs */
|
|
8
|
+
|
|
9
|
+
const en_unit_hours_selected = /** @type {(inputs: Unit_Hours_SelectedInputs) => LocalizedString} */ (i) => {const countPlural = registry.plural("en", i?.count, {});
|
|
10
|
+
if (countPlural === "one") return /** @type {LocalizedString} */ (`Hour`);
|
|
11
|
+
if (countPlural === "other") return /** @type {LocalizedString} */ (`Hours`);
|
|
12
|
+
return /** @type {LocalizedString} */ ("unit_hours_selected");
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
const bn_unit_hours_selected = /** @type {(inputs: Unit_Hours_SelectedInputs) => LocalizedString} */ (i) => {const countPlural = registry.plural("bn", i?.count, {});
|
|
16
|
+
if (countPlural === "one") return /** @type {LocalizedString} */ (`ঘণ্টা`);
|
|
17
|
+
if (countPlural === "other") return /** @type {LocalizedString} */ (`ঘণ্টা`);
|
|
18
|
+
return /** @type {LocalizedString} */ ("unit_hours_selected");
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* | countPlural | output |
|
|
23
|
+
* | --- | --- |
|
|
24
|
+
* | "one" | "Hour" |
|
|
25
|
+
* | "other" | "Hours" |
|
|
26
|
+
*
|
|
27
|
+
* @param {Unit_Hours_SelectedInputs} inputs
|
|
28
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
29
|
+
* @returns {LocalizedString}
|
|
30
|
+
*/
|
|
31
|
+
export const unit_hours_selected = /** @type {((inputs: Unit_Hours_SelectedInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Unit_Hours_SelectedInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs, options = {}) => {
|
|
32
|
+
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
33
|
+
if (locale === "bn") return bn_unit_hours_selected(inputs)
|
|
34
|
+
return en_unit_hours_selected(inputs)
|
|
35
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* | output |
|
|
3
|
+
* | --- |
|
|
4
|
+
* | "Minutes" |
|
|
5
|
+
*
|
|
6
|
+
* @param {Unit_MinutesInputs} inputs
|
|
7
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
8
|
+
* @returns {LocalizedString}
|
|
9
|
+
*/
|
|
10
|
+
export const unit_minutes: ((inputs?: Unit_MinutesInputs, options?: {
|
|
11
|
+
locale?: "en" | "bn";
|
|
12
|
+
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Unit_MinutesInputs, {
|
|
13
|
+
locale?: "en" | "bn";
|
|
14
|
+
}, {}>;
|
|
15
|
+
export type LocalizedString = import("../runtime.js").LocalizedString;
|
|
16
|
+
export type Unit_MinutesInputs = {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
|
3
|
+
|
|
4
|
+
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
5
|
+
|
|
6
|
+
/** @typedef {{}} Unit_MinutesInputs */
|
|
7
|
+
|
|
8
|
+
const en_unit_minutes = /** @type {(inputs: Unit_MinutesInputs) => LocalizedString} */ () => {
|
|
9
|
+
return /** @type {LocalizedString} */ (`Minutes`)
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
const bn_unit_minutes = /** @type {(inputs: Unit_MinutesInputs) => LocalizedString} */ () => {
|
|
13
|
+
return /** @type {LocalizedString} */ (`মিনিট`)
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* | output |
|
|
18
|
+
* | --- |
|
|
19
|
+
* | "Minutes" |
|
|
20
|
+
*
|
|
21
|
+
* @param {Unit_MinutesInputs} inputs
|
|
22
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
23
|
+
* @returns {LocalizedString}
|
|
24
|
+
*/
|
|
25
|
+
export const unit_minutes = /** @type {((inputs?: Unit_MinutesInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Unit_MinutesInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
|
|
26
|
+
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
27
|
+
if (locale === "bn") return bn_unit_minutes(inputs)
|
|
28
|
+
return en_unit_minutes(inputs)
|
|
29
|
+
});
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* | countPlural | output |
|
|
3
|
+
* | --- | --- |
|
|
4
|
+
* | "one" | "Minute" |
|
|
5
|
+
* | "other" | "Minutes" |
|
|
6
|
+
*
|
|
7
|
+
* @param {Unit_Minutes_SelectedInputs} inputs
|
|
8
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
9
|
+
* @returns {LocalizedString}
|
|
10
|
+
*/
|
|
11
|
+
export const unit_minutes_selected: ((inputs: Unit_Minutes_SelectedInputs, options?: {
|
|
12
|
+
locale?: "en" | "bn";
|
|
13
|
+
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Unit_Minutes_SelectedInputs, {
|
|
14
|
+
locale?: "en" | "bn";
|
|
15
|
+
}, {}>;
|
|
16
|
+
export type LocalizedString = import("../runtime.js").LocalizedString;
|
|
17
|
+
export type Unit_Minutes_SelectedInputs = {
|
|
18
|
+
count: NonNullable<unknown>;
|
|
19
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import * as registry from '../registry.js'
|
|
3
|
+
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
|
4
|
+
|
|
5
|
+
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
6
|
+
|
|
7
|
+
/** @typedef {{ count: NonNullable<unknown> }} Unit_Minutes_SelectedInputs */
|
|
8
|
+
|
|
9
|
+
const en_unit_minutes_selected = /** @type {(inputs: Unit_Minutes_SelectedInputs) => LocalizedString} */ (i) => {const countPlural = registry.plural("en", i?.count, {});
|
|
10
|
+
if (countPlural === "one") return /** @type {LocalizedString} */ (`Minute`);
|
|
11
|
+
if (countPlural === "other") return /** @type {LocalizedString} */ (`Minutes`);
|
|
12
|
+
return /** @type {LocalizedString} */ ("unit_minutes_selected");
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
const bn_unit_minutes_selected = /** @type {(inputs: Unit_Minutes_SelectedInputs) => LocalizedString} */ (i) => {const countPlural = registry.plural("bn", i?.count, {});
|
|
16
|
+
if (countPlural === "one") return /** @type {LocalizedString} */ (`মিনিট`);
|
|
17
|
+
if (countPlural === "other") return /** @type {LocalizedString} */ (`মিনিট`);
|
|
18
|
+
return /** @type {LocalizedString} */ ("unit_minutes_selected");
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* | countPlural | output |
|
|
23
|
+
* | --- | --- |
|
|
24
|
+
* | "one" | "Minute" |
|
|
25
|
+
* | "other" | "Minutes" |
|
|
26
|
+
*
|
|
27
|
+
* @param {Unit_Minutes_SelectedInputs} inputs
|
|
28
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
29
|
+
* @returns {LocalizedString}
|
|
30
|
+
*/
|
|
31
|
+
export const unit_minutes_selected = /** @type {((inputs: Unit_Minutes_SelectedInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Unit_Minutes_SelectedInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs, options = {}) => {
|
|
32
|
+
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
33
|
+
if (locale === "bn") return bn_unit_minutes_selected(inputs)
|
|
34
|
+
return en_unit_minutes_selected(inputs)
|
|
35
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* | output |
|
|
3
|
+
* | --- |
|
|
4
|
+
* | "Seconds" |
|
|
5
|
+
*
|
|
6
|
+
* @param {Unit_SecondsInputs} inputs
|
|
7
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
8
|
+
* @returns {LocalizedString}
|
|
9
|
+
*/
|
|
10
|
+
export const unit_seconds: ((inputs?: Unit_SecondsInputs, options?: {
|
|
11
|
+
locale?: "en" | "bn";
|
|
12
|
+
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Unit_SecondsInputs, {
|
|
13
|
+
locale?: "en" | "bn";
|
|
14
|
+
}, {}>;
|
|
15
|
+
export type LocalizedString = import("../runtime.js").LocalizedString;
|
|
16
|
+
export type Unit_SecondsInputs = {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
|
3
|
+
|
|
4
|
+
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
5
|
+
|
|
6
|
+
/** @typedef {{}} Unit_SecondsInputs */
|
|
7
|
+
|
|
8
|
+
const en_unit_seconds = /** @type {(inputs: Unit_SecondsInputs) => LocalizedString} */ () => {
|
|
9
|
+
return /** @type {LocalizedString} */ (`Seconds`)
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
const bn_unit_seconds = /** @type {(inputs: Unit_SecondsInputs) => LocalizedString} */ () => {
|
|
13
|
+
return /** @type {LocalizedString} */ (`সেকেন্ড`)
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* | output |
|
|
18
|
+
* | --- |
|
|
19
|
+
* | "Seconds" |
|
|
20
|
+
*
|
|
21
|
+
* @param {Unit_SecondsInputs} inputs
|
|
22
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
23
|
+
* @returns {LocalizedString}
|
|
24
|
+
*/
|
|
25
|
+
export const unit_seconds = /** @type {((inputs?: Unit_SecondsInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Unit_SecondsInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs = {}, options = {}) => {
|
|
26
|
+
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
27
|
+
if (locale === "bn") return bn_unit_seconds(inputs)
|
|
28
|
+
return en_unit_seconds(inputs)
|
|
29
|
+
});
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* | countPlural | output |
|
|
3
|
+
* | --- | --- |
|
|
4
|
+
* | "one" | "Second" |
|
|
5
|
+
* | "other" | "Seconds" |
|
|
6
|
+
*
|
|
7
|
+
* @param {Unit_Seconds_SelectedInputs} inputs
|
|
8
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
9
|
+
* @returns {LocalizedString}
|
|
10
|
+
*/
|
|
11
|
+
export const unit_seconds_selected: ((inputs: Unit_Seconds_SelectedInputs, options?: {
|
|
12
|
+
locale?: "en" | "bn";
|
|
13
|
+
}) => LocalizedString) & import("../runtime.js").MessageMetadata<Unit_Seconds_SelectedInputs, {
|
|
14
|
+
locale?: "en" | "bn";
|
|
15
|
+
}, {}>;
|
|
16
|
+
export type LocalizedString = import("../runtime.js").LocalizedString;
|
|
17
|
+
export type Unit_Seconds_SelectedInputs = {
|
|
18
|
+
count: NonNullable<unknown>;
|
|
19
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import * as registry from '../registry.js'
|
|
3
|
+
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
|
4
|
+
|
|
5
|
+
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
6
|
+
|
|
7
|
+
/** @typedef {{ count: NonNullable<unknown> }} Unit_Seconds_SelectedInputs */
|
|
8
|
+
|
|
9
|
+
const en_unit_seconds_selected = /** @type {(inputs: Unit_Seconds_SelectedInputs) => LocalizedString} */ (i) => {const countPlural = registry.plural("en", i?.count, {});
|
|
10
|
+
if (countPlural === "one") return /** @type {LocalizedString} */ (`Second`);
|
|
11
|
+
if (countPlural === "other") return /** @type {LocalizedString} */ (`Seconds`);
|
|
12
|
+
return /** @type {LocalizedString} */ ("unit_seconds_selected");
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
const bn_unit_seconds_selected = /** @type {(inputs: Unit_Seconds_SelectedInputs) => LocalizedString} */ (i) => {const countPlural = registry.plural("bn", i?.count, {});
|
|
16
|
+
if (countPlural === "one") return /** @type {LocalizedString} */ (`সেকেন্ড`);
|
|
17
|
+
if (countPlural === "other") return /** @type {LocalizedString} */ (`সেকেন্ড`);
|
|
18
|
+
return /** @type {LocalizedString} */ ("unit_seconds_selected");
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* | countPlural | output |
|
|
23
|
+
* | --- | --- |
|
|
24
|
+
* | "one" | "Second" |
|
|
25
|
+
* | "other" | "Seconds" |
|
|
26
|
+
*
|
|
27
|
+
* @param {Unit_Seconds_SelectedInputs} inputs
|
|
28
|
+
* @param {{ locale?: "en" | "bn" }} options
|
|
29
|
+
* @returns {LocalizedString}
|
|
30
|
+
*/
|
|
31
|
+
export const unit_seconds_selected = /** @type {((inputs: Unit_Seconds_SelectedInputs, options?: { locale?: "en" | "bn" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Unit_Seconds_SelectedInputs, { locale?: "en" | "bn" }, {}>} */ ((inputs, options = {}) => {
|
|
32
|
+
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
33
|
+
if (locale === "bn") return bn_unit_seconds_selected(inputs)
|
|
34
|
+
return en_unit_seconds_selected(inputs)
|
|
35
|
+
});
|
package/dist/styles/global.css
CHANGED
|
@@ -35,7 +35,14 @@ h1 {
|
|
|
35
35
|
@apply rounded border border-red-300 bg-red-50 px-3 py-2 text-sm text-red-700;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
+
/* Keep the original Avoidant palette while using DaisyUI components. */
|
|
38
39
|
.panel-wrapper {
|
|
40
|
+
--color-error: var(--color-rose-500);
|
|
41
|
+
--color-error-content: color-mix(in oklab, white 90%, transparent);
|
|
42
|
+
--color-primary: var(--color-sky-600);
|
|
43
|
+
--color-primary-content: color-mix(in oklab, white 90%, transparent);
|
|
44
|
+
--color-secondary: var(--color-slate-200);
|
|
45
|
+
--color-secondary-content: color-mix(in oklab, var(--color-slate-700) 90%, transparent);
|
|
39
46
|
@apply transition-all duration-500 ease-out;
|
|
40
47
|
}
|
|
41
48
|
|
|
@@ -56,6 +63,10 @@ h1 {
|
|
|
56
63
|
max-height: calc(100dvh - 2rem);
|
|
57
64
|
}
|
|
58
65
|
|
|
66
|
+
.panel-card .panel-title {
|
|
67
|
+
@apply text-black;
|
|
68
|
+
}
|
|
69
|
+
|
|
59
70
|
.panel-header {
|
|
60
71
|
@apply rounded-none border-x-0 border-t-0 bg-slate-900/75 p-2 text-left;
|
|
61
72
|
}
|
|
@@ -64,10 +75,6 @@ h1 {
|
|
|
64
75
|
@apply h-6 px-2 py-0;
|
|
65
76
|
}
|
|
66
77
|
|
|
67
|
-
.panel-header .field {
|
|
68
|
-
@apply mb-0 h-6 border-slate-600 bg-slate-700 px-2 py-0 text-sm text-slate-100 placeholder:text-slate-400 focus:bg-slate-600;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
78
|
.panel-title {
|
|
72
79
|
@apply tracking-tighter transition-all duration-500 ease-out;
|
|
73
80
|
}
|
|
@@ -77,7 +84,7 @@ h1 {
|
|
|
77
84
|
}
|
|
78
85
|
|
|
79
86
|
.score-breakdown {
|
|
80
|
-
@apply absolute top-full left-0 z-30 mt-1 min-w-
|
|
87
|
+
@apply absolute top-full left-0 z-30 mt-1 w-max min-w-0 rounded border border-slate-600 bg-slate-900/95 px-3 py-2 text-xs text-slate-100 shadow-lg;
|
|
81
88
|
}
|
|
82
89
|
|
|
83
90
|
.score-breakdown p {
|
|
@@ -92,26 +99,6 @@ h1 {
|
|
|
92
99
|
@apply text-white;
|
|
93
100
|
}
|
|
94
101
|
|
|
95
|
-
.btn {
|
|
96
|
-
@apply inline-flex items-center justify-center rounded border px-3 py-2 text-sm font-medium transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-1 disabled:cursor-not-allowed disabled:opacity-70;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.btn-primary {
|
|
100
|
-
@apply border-sky-700/25 bg-sky-600 text-white/90 hover:border-sky-800 hover:text-white focus-visible:ring-sky-800;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.btn-secondary {
|
|
104
|
-
@apply border-slate-300/25 bg-slate-200 text-slate-700/90 hover:border-slate-400 hover:text-slate-700 focus-visible:ring-slate-400;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.btn-danger {
|
|
108
|
-
@apply border-rose-600/25 bg-rose-500 text-white/90 hover:border-rose-700 hover:text-white focus-visible:ring-rose-700;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
.field {
|
|
112
|
-
@apply mb-3 block w-full appearance-none rounded border border-gray-200 bg-gray-200 px-4 py-3 text-left leading-tight text-gray-700 focus:border-gray-500 focus:bg-white focus:outline-none;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
102
|
.field-label {
|
|
116
103
|
@apply mb-2 block text-left text-xs font-bold tracking-wide text-slate-500 uppercase;
|
|
117
104
|
}
|
|
@@ -157,32 +144,12 @@ h1 {
|
|
|
157
144
|
@apply flex items-center gap-2;
|
|
158
145
|
}
|
|
159
146
|
|
|
160
|
-
.checkbox-field input[type="checkbox"] {
|
|
161
|
-
@apply h-5 w-5 appearance-none rounded border border-gray-300 bg-gray-200 align-top transition-colors checked:border-sky-600 checked:bg-sky-500 focus:ring-0 focus:ring-offset-0 focus:outline-none focus-visible:ring-2 focus-visible:ring-sky-400 focus-visible:ring-offset-1;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
.checkbox-field input[type="checkbox"]:checked {
|
|
165
|
-
@apply border-sky-600 bg-sky-500;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
147
|
.icon-btn {
|
|
169
148
|
@apply inline-flex h-6 w-6 items-center justify-center rounded text-lg leading-none text-slate-500 transition-colors hover:bg-slate-100 hover:text-slate-800 focus:outline-none focus-visible:ring-2 focus-visible:ring-slate-400;
|
|
170
149
|
}
|
|
171
150
|
|
|
172
|
-
.preset-btn {
|
|
173
|
-
@apply flex aspect-square w-full flex-col items-center justify-center gap-1 rounded border border-slate-300 bg-slate-100 p-2 text-slate-600 transition-colors hover:border-slate-400 hover:bg-slate-200 focus:outline-none focus-visible:ring-2 focus-visible:ring-sky-400;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
.preset-btn-active {
|
|
177
|
-
@apply border-sky-500 bg-sky-100 text-sky-800 hover:border-sky-600 hover:bg-sky-100;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
151
|
.preset-icon {
|
|
181
|
-
@apply block h-8 w-8
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
.preset-btn-active .preset-icon {
|
|
185
|
-
@apply text-sky-600;
|
|
152
|
+
@apply block h-8 w-8;
|
|
186
153
|
}
|
|
187
154
|
|
|
188
155
|
.preset-icon svg {
|
|
@@ -194,11 +161,7 @@ h1 {
|
|
|
194
161
|
}
|
|
195
162
|
|
|
196
163
|
.preset-count {
|
|
197
|
-
@apply text-[10px] leading-none
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
.preset-btn-active .preset-count {
|
|
201
|
-
@apply text-sky-700;
|
|
164
|
+
@apply text-[10px] leading-none opacity-75;
|
|
202
165
|
}
|
|
203
166
|
|
|
204
167
|
.spinner {
|