@wirecore/wirelayer-recipes 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,23 @@
1
+ <img src="https://raw.githubusercontent.com/WireCore/WireLayer/main/assets/wirelayer.svg" alt="" width="56" height="56" />
2
+
3
+ # @wirecore/wirelayer-recipes
4
+
5
+ Framework-agnostic recipes (tailwind-variants) and logic of the WireLayer components – the single place with Tailwind classes, shared by the Vue, React, React Native and HTML packages. Also contains the translations (`/locales/<code>`).
6
+
7
+ [Storybook](https://wirecore.github.io/WireLayer/) · [GitHub](https://github.com/WireCore/WireLayer) · [Changelog](./CHANGELOG.md)
8
+
9
+ ## Installation
10
+
11
+ ```sh
12
+ pnpm add @wirecore/wirelayer-recipes
13
+ ```
14
+
15
+ ## Usage
16
+
17
+ Usually you do not install it directly – the framework packages depend on it. Use it to build your own components in the WireLayer look or to customize the recipes (`RecipesProvider`).
18
+
19
+ Part of [WireLayer](https://github.com/WireCore/WireLayer) – one look and one API for Vue, React, React Native and HTML, accessible according to WCAG 2.2 AA.
20
+
21
+ ## License
22
+
23
+ [MIT](./LICENSE) – Copyright (c) 2026 WireCore GmbH
package/dist/blocks.d.ts CHANGED
@@ -297,7 +297,7 @@ export interface AuthValues {
297
297
  /** Fields of a mode, in order */
298
298
  export declare function authFields(mode: AuthMode): AuthField[];
299
299
  export interface AuthValidationOptions {
300
- /** Messages of another language (default German) */
300
+ /** Messages of another language (default English) */
301
301
  texts?: ValidationTexts;
302
302
  /** Minimum length of a new password (sign up, default 8) */
303
303
  passwordMinLength?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"blocks.d.ts","sourceRoot":"","sources":["../src/blocks.ts"],"names":[],"mappings":"AACA,OAAO,EAAqD,KAAK,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAM1G,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,OAAO,CAAC;CACrB;AAED,iCAAiC;AACjC,wBAAgB,UAAU,CAAC,IAAI,EAAE,QAAQ,GAAG,SAAS,EAAE,CAItD;AAED,MAAM,WAAW,qBAAqB;IAClC,qDAAqD;IACrD,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB,4DAA4D;IAC5D,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,8CAA8C;IAC9C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,wFAAwF;IACxF,UAAU,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,SAAS,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,GAAG,SAAS,CAAC,CAAC,CAAC;CAClF;AAED,wGAAwG;AACxG,wBAAgB,YAAY,CACxB,IAAI,EAAE,QAAQ,EACd,MAAM,EAAE,UAAU,EAClB,OAAO,GAAE,qBAA0B,GACpC,OAAO,CAAC,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC,CAqBpC"}
package/dist/emoji.d.ts CHANGED
@@ -9,14 +9,14 @@ export interface EmojiData {
9
9
  }
10
10
  /** Order of the categories (recently used first) */
11
11
  export declare const emojiCategories: EmojiCategory[];
12
- /** The built-in emojis (parsed once) */
12
+ /** The built-in emojis with their English names (parsed once) */
13
13
  export declare function defaultEmojis(): EmojiData[];
14
14
  /**
15
- * The built-in emojis for a locale: German names in German, English ones otherwise. `texts` – lines "😀 Name|search
16
- * words", e.g. `emojiPicker.emojis` of a language module – give names and search words of another language. The
17
- * English name and words always find an emoji as well (and in German the German ones).
15
+ * The built-in emojis in a language: `texts` – lines "😀 Name|search words", e.g. `emojiPicker.emojis` of a language
16
+ * module – give names and search words; emojis without a line keep their English name. The English name and words
17
+ * always find an emoji as well.
18
18
  */
19
- export declare function localeEmojis(locale?: string, texts?: string): EmojiData[];
19
+ export declare function localeEmojis(texts?: string): EmojiData[];
20
20
  /**
21
21
  * Emojis whose name or search words contain every word of the query (case and accents ignored); names that
22
22
  * start with the query come first.
@@ -1 +1 @@
1
- {"version":3,"file":"emoji.d.ts","sourceRoot":"","sources":["../src/emoji.ts"],"names":[],"mappings":"AAOA,MAAM,MAAM,aAAa,GACrB,QAAQ,GAAG,SAAS,GAAG,QAAQ,GAAG,QAAQ,GAAG,MAAM,GAAG,QAAQ,GAAG,YAAY,GAAG,SAAS,GAAG,SAAS,CAAC;AAE1G,MAAM,WAAW,SAAS;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,mDAAmD;IACnD,IAAI,EAAE,MAAM,CAAC;IACb,2BAA2B;IAC3B,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,QAAQ,EAAE,OAAO,CAAC,aAAa,EAAE,QAAQ,CAAC,CAAC;CAC9C;AA0/BD,oDAAoD;AACpD,eAAO,MAAM,eAAe,EAAE,aAAa,EAU1C,CAAC;AAIF,wCAAwC;AACxC,wBAAgB,aAAa,IAAI,SAAS,EAAE,CAS3C;AAiBD;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,MAAM,SAAgB,EAAE,KAAK,SAAK,GAAG,SAAS,EAAE,CAgB5E;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAAC,MAAM,EAAE,SAAS,SAAS,EAAE,EAAE,KAAK,EAAE,MAAM,GAAG,SAAS,EAAE,CAWrF;AAED,oFAAoF;AACpF,wBAAgB,cAAc,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,SAAK,GAAG,MAAM,EAAE,CAE3F;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAC3B,GAAG,EAAE,MAAM,EACX,KAAK,EAAE,MAAM,EACb,KAAK,EAAE,MAAM,EACb,OAAO,EAAE,MAAM,EACf,OAAO,GAAE;IAAE,IAAI,CAAC,EAAE,OAAO,CAAC;IAAC,GAAG,CAAC,EAAE,OAAO,CAAC;IAAC,QAAQ,CAAC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