@clubmed/trident-ui 2.0.0-beta.68 → 2.0.0-beta.69
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.
|
@@ -11,14 +11,18 @@ function r() {
|
|
|
11
11
|
placeholder: "+33 1 23 45 67 89",
|
|
12
12
|
mode: "full",
|
|
13
13
|
className: "max-w-sm",
|
|
14
|
-
pattern: "+33 # ## ## ## ##"
|
|
14
|
+
pattern: "+33 # ## ## ## ##",
|
|
15
|
+
id: "phonefield-full",
|
|
16
|
+
name: "Demo for the full version of the PhoneField component"
|
|
15
17
|
}), /* @__PURE__ */ t(e, {
|
|
16
18
|
label: "Phone Number",
|
|
17
19
|
description: "Select your code and number",
|
|
18
20
|
placeholder: "1 23 45 67 89",
|
|
19
21
|
mode: "split",
|
|
20
22
|
className: "max-w-sm",
|
|
21
|
-
pattern: "# ## ## ## ##"
|
|
23
|
+
pattern: "# ## ## ## ##",
|
|
24
|
+
id: "phonefield-split",
|
|
25
|
+
name: "Demo for the split version of the PhoneField component"
|
|
22
26
|
})]
|
|
23
27
|
});
|
|
24
28
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"phone-field-demo.js","names":[],"sources":["../../lib/examples/phone-field-demo.tsx"],"sourcesContent":["'use client';\n\nimport { PhoneField } from '@/ui/forms/PhoneField';\n\nexport default function PhoneFieldDemo() {\n return (\n <div className=\"flex flex-col gap-16\">\n <PhoneField\n label=\"Phone Number\"\n description=\"Enter your phone number\"\n placeholder=\"+33 1 23 45 67 89\"\n mode=\"full\"\n className=\"max-w-sm\"\n pattern=\"+33 # ## ## ## ##\"\n />\n <PhoneField\n label=\"Phone Number\"\n description=\"Select your code and number\"\n placeholder=\"1 23 45 67 89\"\n mode=\"split\"\n className=\"max-w-sm\"\n pattern=\"# ## ## ## ##\"\n />\n </div>\n );\n}\n"],"mappings":";;;;AAIA,SAAwB,IAAiB;AACvC,QACE,kBAAC,OAAD;EAAK,WAAU;YAAf,CACE,kBAAC,GAAD;GACE,OAAM;GACN,aAAY;GACZ,aAAY;GACZ,MAAK;GACL,WAAU;GACV,SAAQ;GACR,CAAA,EACF,kBAAC,GAAD;GACE,OAAM;GACN,aAAY;GACZ,aAAY;GACZ,MAAK;GACL,WAAU;GACV,SAAQ;GACR,CAAA,CAAA"}
|
|
1
|
+
{"version":3,"file":"phone-field-demo.js","names":[],"sources":["../../lib/examples/phone-field-demo.tsx"],"sourcesContent":["'use client';\n\nimport { PhoneField } from '@/ui/forms/PhoneField';\n\nexport default function PhoneFieldDemo() {\n return (\n <div className=\"flex flex-col gap-16\">\n <PhoneField\n label=\"Phone Number\"\n description=\"Enter your phone number\"\n placeholder=\"+33 1 23 45 67 89\"\n mode=\"full\"\n className=\"max-w-sm\"\n pattern=\"+33 # ## ## ## ##\"\n id=\"phonefield-full\"\n name=\"Demo for the full version of the PhoneField component\"\n />\n <PhoneField\n label=\"Phone Number\"\n description=\"Select your code and number\"\n placeholder=\"1 23 45 67 89\"\n mode=\"split\"\n className=\"max-w-sm\"\n pattern=\"# ## ## ## ##\"\n id=\"phonefield-split\"\n name=\"Demo for the split version of the PhoneField component\"\n />\n </div>\n );\n}\n"],"mappings":";;;;AAIA,SAAwB,IAAiB;AACvC,QACE,kBAAC,OAAD;EAAK,WAAU;YAAf,CACE,kBAAC,GAAD;GACE,OAAM;GACN,aAAY;GACZ,aAAY;GACZ,MAAK;GACL,WAAU;GACV,SAAQ;GACR,IAAG;GACH,MAAK;GACL,CAAA,EACF,kBAAC,GAAD;GACE,OAAM;GACN,aAAY;GACZ,aAAY;GACZ,MAAK;GACL,WAAU;GACV,SAAQ;GACR,IAAG;GACH,MAAK;GACL,CAAA,CAAA"}
|