@marianmeres/stuic 1.54.0 → 1.55.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.
@@ -30,7 +30,20 @@ const _PRESET = {
30
30
  below: `mx-2 mt-1`,
31
31
  asterix: `after:content-['*'] after:opacity-30 after:pl-1`
32
32
  };
33
- const _PRESET_BY_SIZE = {};
33
+ const _PRESET_BY_SIZE = {
34
+ sm: {
35
+ label: "text-sm",
36
+ input: "text-sm placeholder:text-sm"
37
+ },
38
+ md: {
39
+ label: "text-base",
40
+ input: "text-base placeholder:text-base"
41
+ },
42
+ lg: {
43
+ label: "text-base font-bold",
44
+ input: "text-lg placeholder:text-lg"
45
+ }
46
+ };
34
47
  export class FieldSelectConfig {
35
48
  static class = {};
36
49
  static classBySize = {};
@@ -38,16 +51,6 @@ export class FieldSelectConfig {
38
51
  </script>
39
52
 
40
53
  <script>const dispatch = createEventDispatcher();
41
- const inputSizePreset = {
42
- sm: "text-sm placeholder:text-sm",
43
- md: "text-base placeholder:text-base",
44
- lg: "text-lg placeholder:text-lg"
45
- };
46
- const labelSizePreset = {
47
- sm: "text-sm",
48
- md: "text-base",
49
- lg: "text-base font-bold"
50
- };
51
54
  export let options = [];
52
55
  let _class = {};
53
56
  export { _class as class };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marianmeres/stuic",
3
- "version": "1.54.0",
3
+ "version": "1.55.0",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build && npm run package && node ./scripts/date.js",