@pie-players/pie-tool-sign-language 1.0.0-beta.1 → 1.0.0-beta.10

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 PIE Framework contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -58,6 +58,14 @@ owner snapshot for an exact requested-language match first, then permits an
58
58
  unlabeled card as the only fallback. A card labeled with another sign language
59
59
  is never substituted.
60
60
 
61
+ Arabic content has no sign-language counterpart. There is no single Arabic sign
62
+ language: Saudi (`sdl`), Egyptian (`esl`), Jordanian (`jos`) and the other national
63
+ sign languages are distinct, and the signed language is the learner's, never
64
+ derived from the content language. PIE names none of them today, so a card in one
65
+ gets the labelled-code fallback. A learner granted signing on Arabic content with
66
+ no matching card sees no region. Reporting that as unavailable to the host is the
67
+ tool-unavailable event (PIE-1369), which this tool will raise once it exists.
68
+
61
69
  ## The element
62
70
 
63
71
  `<pie-tool-sign-language>` — open shadow root, mounted by the registration's
@@ -0,0 +1,14 @@
1
+ Third-party software included in this package's bundles, with the licence each is used under.
2
+
3
+ ========================================================================
4
+
5
+ svelte 5.57.3
6
+ License: MIT
7
+
8
+ Copyright (c) 2016-2025 [Svelte Contributors](https://github.com/sveltejs/svelte/graphs/contributors)
9
+
10
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/dist/index.d.ts CHANGED
@@ -1,3 +1,12 @@
1
+ import { SignLanguageElementProps } from './src/element-props.js';
2
+ /** Native host interface for `<pie-tool-sign-language>`. `media` is unset until the host assigns it. */
3
+ export interface PieToolSignLanguageElement extends HTMLElement, SignLanguageElementProps {
4
+ }
5
+ declare global {
6
+ interface HTMLElementTagNameMap {
7
+ "pie-tool-sign-language": PieToolSignLanguageElement;
8
+ }
9
+ }
1
10
  export { CONTENT_MEDIA_SURFACE, SIGN_LANGUAGE_ELEMENT_TAG, SIGN_LANGUAGE_TOOL_TAG_MAP, signLanguageRegistration, } from './src/sign-language-registration.js';
2
11
  export type { SignLanguageMedia } from './src/sign-language-cards.js';
3
12
  export { AMERICAN_SIGN_LANGUAGE, describeSignLanguage, isSignLanguageCard, matchesRequestedSignLanguage, resolveSignLanguageMedia, SIGN_LANGUAGE_CATALOG_TYPE, } from './src/sign-language-cards.js';
@@ -0,0 +1,5 @@
1
+ import { ResolvedSignLanguageAlternate } from './sign-language-content.js';
2
+ /** Inputs shared by the component and its native element declaration. */
3
+ export interface SignLanguageElementProps {
4
+ media?: ResolvedSignLanguageAlternate | null;
5
+ }