@marianmeres/stuic 1.57.0 → 1.59.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.
@@ -22,6 +22,7 @@ const _emptyClasses = () => ({
22
22
  });
23
23
  const _PRESET = {
24
24
  box: "mb-4 grid",
25
+ // gap-4
25
26
  wrap: `
26
27
  rounded-md border border-gray-300
27
28
  bg-gray-100
@@ -30,7 +31,8 @@ const _PRESET = {
30
31
  focus-within:ring-stuic-primary
31
32
  focus-within:ring-opacity-20
32
33
  `,
33
- label: `block flex-1`,
34
+ label: `block flex-1 px-2 mb-1`,
35
+ //
34
36
  input: `
35
37
  rounded-md border-0 w-full flex-1
36
38
  bg-transparent
@@ -150,7 +152,7 @@ $:
150
152
  class:grid-cols-3={labelLeft && labelLeftWidth === 'wide'}
151
153
  >
152
154
  <div
153
- class="flex px-2 mb-1"
155
+ class="flex"
154
156
  class:items-end={!labelLeft}
155
157
  class:items-start={labelLeft}
156
158
  class:mt-1={labelLeft}
@@ -19,6 +19,7 @@ const _emptyClasses = () => ({
19
19
  });
20
20
  const _PRESET = {
21
21
  box: "mb-4 grid",
22
+ // gap-4
22
23
  wrap: `
23
24
  flex items-center
24
25
  rounded-md border border-gray-300
@@ -28,6 +29,7 @@ const _PRESET = {
28
29
  focus-within:ring-stuic-primary
29
30
  focus-within:ring-opacity-20
30
31
  `,
32
+ label: `block flex-1 px-2 mb-1`,
31
33
  input: `
32
34
  rounded-md border-0 block w-full flex-1
33
35
  bg-transparent
@@ -142,7 +144,7 @@ $:
142
144
  class:grid-cols-3={labelLeft && labelLeftWidth === 'wide'}
143
145
  >
144
146
  <div
145
- class="flex px-2"
147
+ class="flex"
146
148
  class:items-end={!labelLeft}
147
149
  class:items-start={labelLeft}
148
150
  class:mt-1={labelLeft}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marianmeres/stuic",
3
- "version": "1.57.0",
3
+ "version": "1.59.0",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build && npm run package && node ./scripts/date.js",