rimecms 0.26.0 → 0.26.1

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.
@@ -29,8 +29,8 @@
29
29
  >
30
30
  <Field.Label {config} for={path || config.name} />
31
31
  <div class="rz-email-field-wrapper">
32
- <Mail class="rz-email-field__icon" size="12" />
33
32
  <Input
33
+ icon={Mail}
34
34
  id={path || config.name}
35
35
  name={path || config.name}
36
36
  autocomplete="off"
@@ -63,19 +63,11 @@
63
63
  position: relative;
64
64
  display: flex;
65
65
  align-items: center;
66
- --rz-input-padding-x: 2rem;
67
66
 
68
67
  :global(.rz-button) {
69
68
  position: absolute;
70
69
  right: var(--rz-size-1-5);
71
70
  top: var(--rz-size-1-5);
72
71
  }
73
-
74
- :global(.rz-email-field__icon) {
75
- opacity: 0.37;
76
- position: absolute;
77
- left: 0.75rem;
78
- top: calc(50% - 6px);
79
- }
80
72
  }
81
73
  </style>
@@ -21,11 +21,9 @@
21
21
  >
22
22
  <Field.Label {config} for={path || config.name} />
23
23
  <div class="rz-text-field__input-wrapper">
24
- {#if Icon}
25
- <Icon size="12" />
26
- {/if}
27
24
  <Input
28
25
  id={path || config.name}
26
+ icon={Icon}
29
27
  autocomplete="off"
30
28
  name={path || config.name}
31
29
  placeholder={config.placeholder || capitalize(config.name)}
@@ -59,22 +57,11 @@
59
57
  display: flex;
60
58
  align-items: center;
61
59
 
62
- :global(.rz-input) {
63
- padding: 0 0 0 2rem;
64
- }
65
-
66
60
  :global(.rz-button) {
67
61
  position: absolute;
68
62
  right: var(--rz-size-1-5);
69
63
  top: var(--rz-size-1-5);
70
64
  }
71
-
72
- :global(svg) {
73
- opacity: 0.5;
74
- position: absolute;
75
- left: 0.75rem;
76
- top: calc(50% - 6px);
77
- }
78
65
  }
79
66
  }
80
67
  </style>
@@ -114,6 +114,7 @@ input.rz-input:is(:-webkit-autofill, :autofill):focus {
114
114
 
115
115
  .rz-input-wrapper {
116
116
  position: relative;
117
+ width: 100%;
117
118
 
118
119
  .rz-input__icon {
119
120
  position: absolute;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rimecms",
3
- "version": "0.26.0",
3
+ "version": "0.26.1",
4
4
  "homepage": "https://github.com/bienbiendev/rime",
5
5
  "scripts": {
6
6
  "dev": "vite dev",