@sikka/hawa 0.1.33 → 0.1.35

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@sikka/hawa",
3
- "version": "0.1.33",
3
+ "version": "0.1.35",
4
4
  "description": "SaaS Oriented UI Kit",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.es.js",
@@ -62,7 +62,9 @@ export const HawaTextField: FC<TextFieldTypes> = ({
62
62
  <div className={cn(defaultStyle, marginStyles[margin], widthStyles[width])}>
63
63
  {props.label && <Label>{props.label}</Label>}
64
64
  <>
65
- <div className="relative">
65
+ <div
66
+ className={cn("relative transition-all", preview && "border-t-[1px]")}
67
+ >
66
68
  {props.icon && (
67
69
  <div className="absolute left-3 top-1/2 -translate-y-1/2">
68
70
  {props.icon}
@@ -73,7 +75,7 @@ export const HawaTextField: FC<TextFieldTypes> = ({
73
75
  className={cn(
74
76
  defaultInputStyle,
75
77
  props.icon && "pl-10",
76
- preview && "border-transparent px-0"
78
+ preview && "border-transparent px-0 "
77
79
  )}
78
80
  disabled={preview}
79
81
  />
@@ -1,3 +1,4 @@
1
+ import React from "react"
1
2
  import {
2
3
  Toast,
3
4
  ToastClose,
package/src/styles.css CHANGED
@@ -1825,6 +1825,9 @@ video {
1825
1825
  .border-t-4 {
1826
1826
  border-top-width: 4px;
1827
1827
  }
1828
+ .border-t-\[1px\] {
1829
+ border-top-width: 1px;
1830
+ }
1828
1831
  .border-dashed {
1829
1832
  border-style: dashed;
1830
1833
  }