@rovula/ui 0.1.1 → 0.1.2

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.
Files changed (37) hide show
  1. package/dist/cjs/bundle.css +64 -0
  2. package/dist/cjs/bundle.js +1564 -1570
  3. package/dist/cjs/bundle.js.map +1 -1
  4. package/dist/cjs/types/components/Dropdown/Dropdown.stories.d.ts +1 -0
  5. package/dist/cjs/types/components/InputFilter/InputFilter.stories.d.ts +1 -0
  6. package/dist/cjs/types/components/MaskedTextInput/MaskedTextInput.d.ts +1 -0
  7. package/dist/cjs/types/components/MaskedTextInput/MaskedTextInput.stories.d.ts +2 -0
  8. package/dist/cjs/types/components/PasswordInput/PasswordInput.stories.d.ts +1 -0
  9. package/dist/cjs/types/components/Search/Search.stories.d.ts +1 -0
  10. package/dist/cjs/types/components/TextInput/TextInput.d.ts +2 -0
  11. package/dist/cjs/types/components/TextInput/TextInput.stories.d.ts +10 -0
  12. package/dist/cjs/types/components/TextInput/TextInput.styles.d.ts +15 -0
  13. package/dist/components/PasswordInput/PasswordInput.js +2 -2
  14. package/dist/components/TextArea/TextArea.styles.js +1 -1
  15. package/dist/components/TextInput/TextInput.js +33 -24
  16. package/dist/components/TextInput/TextInput.stories.js +14 -2
  17. package/dist/components/TextInput/TextInput.styles.js +25 -10
  18. package/dist/esm/bundle.css +64 -0
  19. package/dist/esm/bundle.js +1564 -1570
  20. package/dist/esm/bundle.js.map +1 -1
  21. package/dist/esm/types/components/Dropdown/Dropdown.stories.d.ts +1 -0
  22. package/dist/esm/types/components/InputFilter/InputFilter.stories.d.ts +1 -0
  23. package/dist/esm/types/components/MaskedTextInput/MaskedTextInput.d.ts +1 -0
  24. package/dist/esm/types/components/MaskedTextInput/MaskedTextInput.stories.d.ts +2 -0
  25. package/dist/esm/types/components/PasswordInput/PasswordInput.stories.d.ts +1 -0
  26. package/dist/esm/types/components/Search/Search.stories.d.ts +1 -0
  27. package/dist/esm/types/components/TextInput/TextInput.d.ts +2 -0
  28. package/dist/esm/types/components/TextInput/TextInput.stories.d.ts +10 -0
  29. package/dist/esm/types/components/TextInput/TextInput.styles.d.ts +15 -0
  30. package/dist/index.d.ts +3 -0
  31. package/dist/src/theme/global.css +83 -0
  32. package/package.json +1 -1
  33. package/src/components/PasswordInput/PasswordInput.tsx +2 -2
  34. package/src/components/TextArea/TextArea.styles.ts +1 -1
  35. package/src/components/TextInput/TextInput.stories.tsx +60 -2
  36. package/src/components/TextInput/TextInput.styles.ts +36 -19
  37. package/src/components/TextInput/TextInput.tsx +83 -55
@@ -719,6 +719,9 @@ input[type=number] {
719
719
  .mb-1{
720
720
  margin-bottom: 0.25rem;
721
721
  }
722
+ .mb-2{
723
+ margin-bottom: 0.5rem;
724
+ }
722
725
  .ml-2{
723
726
  margin-left: 0.5rem;
724
727
  }
@@ -938,6 +941,9 @@ input[type=number] {
938
941
  .min-h-10{
939
942
  min-height: 2.5rem;
940
943
  }
944
+ .min-h-\[14px\]{
945
+ min-height: 14px;
946
+ }
941
947
  .min-h-screen{
942
948
  min-height: 100vh;
943
949
  }
@@ -1197,6 +1203,9 @@ input[type=number] {
1197
1203
  .gap-6{
1198
1204
  gap: 1.5rem;
1199
1205
  }
1206
+ .gap-8{
1207
+ gap: 2rem;
1208
+ }
1200
1209
  .gap-\[2px\]{
1201
1210
  gap: 2px;
1202
1211
  }
@@ -1593,6 +1602,9 @@ input[type=number] {
1593
1602
  .bg-\[rgb\(var\(--navbar-bg-color\)\)\]{
1594
1603
  background-color: rgb(var(--navbar-bg-color));
1595
1604
  }
1605
+ .bg-\[var\(--base-color-popup\)\]{
1606
+ background-color: var(--base-color-popup);
1607
+ }
1596
1608
  .bg-\[var\(--dropdown-menu-default-bg\)\]{
1597
1609
  background-color: var(--dropdown-menu-default-bg);
1598
1610
  }
@@ -2938,6 +2950,9 @@ input[type=number] {
2938
2950
  .fill-input-disable-stroke{
2939
2951
  fill: color-mix(in srgb, var(--input-color-disable-stroke) calc(100% * 1), transparent);
2940
2952
  }
2953
+ .fill-none{
2954
+ fill: none;
2955
+ }
2941
2956
  .fill-primary{
2942
2957
  fill: color-mix(in srgb, var(--state-color-primary-default) calc(100% * 1), transparent);
2943
2958
  }
@@ -2956,9 +2971,18 @@ input[type=number] {
2956
2971
  .stroke-input-default-stroke{
2957
2972
  stroke: color-mix(in srgb, var(--input-color-default-stroke) calc(100% * 1), transparent);
2958
2973
  }
2974
+ .stroke-input-default-text{
2975
+ stroke: color-mix(in srgb, var(--input-color-default-text) calc(100% * 1), transparent);
2976
+ }
2959
2977
  .stroke-input-disable-stroke{
2960
2978
  stroke: color-mix(in srgb, var(--input-color-disable-stroke) calc(100% * 1), transparent);
2961
2979
  }
2980
+ .stroke-input-error{
2981
+ stroke: color-mix(in srgb, var(--input-color-error) calc(100% * 1), transparent);
2982
+ }
2983
+ .stroke-input-filled-text{
2984
+ stroke: color-mix(in srgb, var(--input-color-filled-text) calc(100% * 1), transparent);
2985
+ }
2962
2986
  .stroke-primary-default{
2963
2987
  stroke: color-mix(in srgb, var(--state-color-primary-default) calc(100% * 1), transparent);
2964
2988
  }
@@ -4290,6 +4314,12 @@ input[type=number] {
4290
4314
  .hover\:fill-input-default-text:hover{
4291
4315
  fill: color-mix(in srgb, var(--input-color-default-text) calc(100% * 1), transparent);
4292
4316
  }
4317
+ .hover\:stroke-input-active-stroke:hover{
4318
+ stroke: color-mix(in srgb, var(--input-color-active-stroke) calc(100% * 1), transparent);
4319
+ }
4320
+ .hover\:stroke-input-filled-text:hover{
4321
+ stroke: color-mix(in srgb, var(--input-color-filled-text) calc(100% * 1), transparent);
4322
+ }
4293
4323
  .hover\:text-\[var\(--dropdown-menu-hover-text\)\]:hover{
4294
4324
  color: var(--dropdown-menu-hover-text);
4295
4325
  }
@@ -4424,6 +4454,10 @@ input[type=number] {
4424
4454
  --tw-ring-opacity: 1;
4425
4455
  --tw-ring-color: color-mix(in srgb, var(--input-color-disable-stroke) calc(100% * var(--tw-ring-opacity, 1)), transparent);
4426
4456
  }
4457
+ .hover\:ring-input-error:hover{
4458
+ --tw-ring-opacity: 1;
4459
+ --tw-ring-color: color-mix(in srgb, var(--input-color-error) calc(100% * var(--tw-ring-opacity, 1)), transparent);
4460
+ }
4427
4461
  .hover\:placeholder\:text-input-disable-text:hover::-moz-placeholder{
4428
4462
  --tw-text-opacity: 1;
4429
4463
  color: color-mix(in srgb, var(--input-color-disable-text) calc(100% * var(--tw-text-opacity, 1)), transparent);
@@ -4812,6 +4846,9 @@ input[type=number] {
4812
4846
  .active\:fill-button-warning-solid-active:active{
4813
4847
  fill: color-mix(in srgb, var(--button-warning-solid-active-text) calc(100% * 1), transparent);
4814
4848
  }
4849
+ .active\:stroke-input-filled-text:active{
4850
+ stroke: color-mix(in srgb, var(--input-color-filled-text) calc(100% * 1), transparent);
4851
+ }
4815
4852
  .active\:text-action-button-icon-active-pressed:active{
4816
4853
  --tw-text-opacity: 1;
4817
4854
  color: color-mix(in srgb, var(--action-button-icon-active-pressed-text) calc(100% * var(--tw-text-opacity, 1)), transparent);
@@ -5401,6 +5438,10 @@ input[type=number] {
5401
5438
  .peer:focus ~ .peer-focus\:stroke-primary-hover{
5402
5439
  stroke: color-mix(in srgb, var(--state-color-primary-hover) calc(100% * 1), transparent);
5403
5440
  }
5441
+ .peer:focus ~ .peer-focus\:text-input-default-text{
5442
+ --tw-text-opacity: 1;
5443
+ color: color-mix(in srgb, var(--input-color-default-text) calc(100% * var(--tw-text-opacity, 1)), transparent);
5444
+ }
5404
5445
  .peer:focus ~ .peer-focus\:text-input-filled-text{
5405
5446
  --tw-text-opacity: 1;
5406
5447
  color: color-mix(in srgb, var(--input-color-filled-text) calc(100% * var(--tw-text-opacity, 1)), transparent);
@@ -5415,6 +5456,9 @@ input[type=number] {
5415
5456
  line-height: var(--label-label2-line-height, 10px);
5416
5457
  font-weight: var(--label-label2-weight, 400);
5417
5458
  }
5459
+ .peer:active ~ .peer-active\:fill-input-filled-text{
5460
+ fill: color-mix(in srgb, var(--input-color-filled-text) calc(100% * 1), transparent);
5461
+ }
5418
5462
  .peer:disabled ~ .peer-disabled\:cursor-not-allowed{
5419
5463
  cursor: not-allowed;
5420
5464
  }
@@ -5983,6 +6027,26 @@ input[type=number] {
5983
6027
  width: 32px;
5984
6028
  height: 32px;
5985
6029
  }
6030
+ .\[\&_svg\]\:text-input-default-text svg{
6031
+ --tw-text-opacity: 1;
6032
+ color: color-mix(in srgb, var(--input-color-default-text) calc(100% * var(--tw-text-opacity, 1)), transparent);
6033
+ }
6034
+ .peer:hover ~ .peer-hover\:\[\&_svg\]\:text-input-filled-text svg{
6035
+ --tw-text-opacity: 1;
6036
+ color: color-mix(in srgb, var(--input-color-filled-text) calc(100% * var(--tw-text-opacity, 1)), transparent);
6037
+ }
6038
+ .peer:focus ~ .peer-focus\:\[\&_svg\]\:text-input-filled-text svg{
6039
+ --tw-text-opacity: 1;
6040
+ color: color-mix(in srgb, var(--input-color-filled-text) calc(100% * var(--tw-text-opacity, 1)), transparent);
6041
+ }
6042
+ .peer:active ~ .peer-active\:\[\&_svg\]\:text-input-filled-text svg{
6043
+ --tw-text-opacity: 1;
6044
+ color: color-mix(in srgb, var(--input-color-filled-text) calc(100% * var(--tw-text-opacity, 1)), transparent);
6045
+ }
6046
+ .peer:disabled ~ .peer-disabled\:\[\&_svg\]\:text-input-disable-stroke svg{
6047
+ --tw-text-opacity: 1;
6048
+ color: color-mix(in srgb, var(--input-color-disable-stroke) calc(100% * var(--tw-text-opacity, 1)), transparent);
6049
+ }
5986
6050
  .\[\&_tr\:last-child\]\:border-0 tr:last-child{
5987
6051
  border-width: 0px;
5988
6052
  }