@platformatic/ui-components 0.7.21 → 0.7.23

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@platformatic/ui-components",
3
3
  "description": "Platformatic UI Components",
4
- "version": "0.7.21",
4
+ "version": "0.7.23",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
7
7
  "repository": {
@@ -3,7 +3,7 @@
3
3
  background-color: rgba(0, 0, 0, 0.95);
4
4
  }
5
5
  .blur-absolute {
6
- @apply absolute top-0 left-0 w-full h-full z-10 bg-rich-black/95;
6
+ @apply absolute top-0 left-0 w-full h-full z-20 bg-rich-black/95;
7
7
  }
8
8
  .blur-fixed {
9
9
  @apply fixed top-0 left-0 w-screen h-full z-20 bg-rich-black/95 flex justify-center items-center;
@@ -1,5 +1,5 @@
1
1
  .blur {
2
- @apply fixed top-0 left-0 w-full h-full z-10 bg-rich-black/95;
2
+ @apply fixed top-0 left-0 w-full h-full z-20 bg-rich-black/95;
3
3
  }
4
4
  .container {
5
5
  @apply z-20 fixed top-0 -right-[100%] min-h-full h-full bg-rich-black border-solid border-white/30 border-l;
@@ -105,7 +105,7 @@ function InputFileUpload ({
105
105
  <label
106
106
  for={idInputFile}
107
107
  className={focus ? focusedClassName() : normalClassName()}
108
- >{file !== null ? file.name : 'Select .env file'}
108
+ >{file !== null ? file.name : inputPlaceholder}
109
109
  </label>
110
110
  {file !== null && <span className={`${styles.afterInputDetail} ${detailTextClassName}`} onClick={() => onClickDetail()}>Detail</span>}
111
111
  </div>
@@ -32,11 +32,12 @@ export const Default = Template.bind({})
32
32
 
33
33
  Default.args = {
34
34
  name: 'test',
35
- placeholder: 'Platformatic',
35
+ placeholder: 'Select txt file',
36
36
  borderColor: 'main-dark-blue',
37
37
  beforeIcon: {
38
38
  iconName: 'AddIcon',
39
39
  color: RICH_BLACK,
40
40
  onClick: null
41
- }
41
+ },
42
+ acceptFiles: '.txt'
42
43
  }