@rovula/ui 0.0.76 → 0.0.78
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/dist/cjs/bundle.css +40 -0
- package/dist/cjs/bundle.js +3 -3
- package/dist/cjs/bundle.js.map +1 -1
- package/dist/cjs/types/components/Dropdown/Dropdown.stories.d.ts +7 -0
- package/dist/cjs/types/components/InputFilter/InputFilter.stories.d.ts +7 -0
- package/dist/cjs/types/components/MaskedTextInput/MaskedTextInput.d.ts +75 -0
- package/dist/cjs/types/components/MaskedTextInput/MaskedTextInput.stories.d.ts +491 -0
- package/dist/cjs/types/components/MaskedTextInput/index.d.ts +3 -0
- package/dist/cjs/types/components/NumberInput/NumberInput.d.ts +39 -0
- package/dist/cjs/types/components/NumberInput/NumberInput.stories.d.ts +18 -0
- package/dist/cjs/types/components/NumberInput/index.d.ts +2 -0
- package/dist/cjs/types/components/RadioGroup/RadioGroup.stories.d.ts +1 -1
- package/dist/cjs/types/components/Search/Search.stories.d.ts +7 -0
- package/dist/cjs/types/components/Slider/Slider.stories.d.ts +1 -1
- package/dist/cjs/types/components/TextInput/TextInput.d.ts +14 -0
- package/dist/cjs/types/components/TextInput/TextInput.stories.d.ts +14 -0
- package/dist/cjs/types/index.d.ts +4 -0
- package/dist/components/MaskedTextInput/MaskedTextInput.js +267 -0
- package/dist/components/MaskedTextInput/MaskedTextInput.stories.js +167 -0
- package/dist/components/MaskedTextInput/index.js +2 -0
- package/dist/components/NumberInput/NumberInput.js +254 -0
- package/dist/components/NumberInput/NumberInput.stories.js +212 -0
- package/dist/components/NumberInput/index.js +1 -0
- package/dist/components/TextInput/TextInput.js +13 -11
- package/dist/components/Toast/Toast.styles.js +1 -1
- package/dist/esm/bundle.css +40 -0
- package/dist/esm/bundle.js +3 -3
- package/dist/esm/bundle.js.map +1 -1
- package/dist/esm/types/components/Dropdown/Dropdown.stories.d.ts +7 -0
- package/dist/esm/types/components/InputFilter/InputFilter.stories.d.ts +7 -0
- package/dist/esm/types/components/MaskedTextInput/MaskedTextInput.d.ts +75 -0
- package/dist/esm/types/components/MaskedTextInput/MaskedTextInput.stories.d.ts +491 -0
- package/dist/esm/types/components/MaskedTextInput/index.d.ts +3 -0
- package/dist/esm/types/components/NumberInput/NumberInput.d.ts +39 -0
- package/dist/esm/types/components/NumberInput/NumberInput.stories.d.ts +18 -0
- package/dist/esm/types/components/NumberInput/index.d.ts +2 -0
- package/dist/esm/types/components/RadioGroup/RadioGroup.stories.d.ts +1 -1
- package/dist/esm/types/components/Search/Search.stories.d.ts +7 -0
- package/dist/esm/types/components/Slider/Slider.stories.d.ts +1 -1
- package/dist/esm/types/components/TextInput/TextInput.d.ts +14 -0
- package/dist/esm/types/components/TextInput/TextInput.stories.d.ts +14 -0
- package/dist/esm/types/index.d.ts +4 -0
- package/dist/index.d.ts +110 -1
- package/dist/index.js +2 -0
- package/dist/src/theme/global.css +51 -0
- package/package.json +1 -1
- package/src/components/MaskedTextInput/MaskedTextInput.stories.tsx +414 -0
- package/src/components/MaskedTextInput/MaskedTextInput.tsx +391 -0
- package/src/components/MaskedTextInput/README.md +202 -0
- package/src/components/MaskedTextInput/index.ts +3 -0
- package/src/components/NumberInput/NumberInput.stories.tsx +350 -0
- package/src/components/NumberInput/NumberInput.tsx +428 -0
- package/src/components/NumberInput/index.ts +2 -0
- package/src/components/TextInput/TextInput.tsx +54 -12
- package/src/components/Toast/Toast.styles.tsx +1 -1
- package/src/index.ts +7 -0
package/dist/cjs/bundle.css
CHANGED
|
@@ -638,6 +638,12 @@ input[type=number] {
|
|
|
638
638
|
.top-0{
|
|
639
639
|
top: 0px;
|
|
640
640
|
}
|
|
641
|
+
.top-0\.5{
|
|
642
|
+
top: 0.125rem;
|
|
643
|
+
}
|
|
644
|
+
.top-1{
|
|
645
|
+
top: 0.25rem;
|
|
646
|
+
}
|
|
641
647
|
.top-4{
|
|
642
648
|
top: 1rem;
|
|
643
649
|
}
|
|
@@ -659,6 +665,9 @@ input[type=number] {
|
|
|
659
665
|
.z-50{
|
|
660
666
|
z-index: 50;
|
|
661
667
|
}
|
|
668
|
+
.z-\[1000\]{
|
|
669
|
+
z-index: 1000;
|
|
670
|
+
}
|
|
662
671
|
.z-\[100\]{
|
|
663
672
|
z-index: 100;
|
|
664
673
|
}
|
|
@@ -987,6 +996,9 @@ input[type=number] {
|
|
|
987
996
|
min-width: -moz-fit-content;
|
|
988
997
|
min-width: fit-content;
|
|
989
998
|
}
|
|
999
|
+
.max-w-2xl{
|
|
1000
|
+
max-width: 42rem;
|
|
1001
|
+
}
|
|
990
1002
|
.max-w-\[300px\]{
|
|
991
1003
|
max-width: 300px;
|
|
992
1004
|
}
|
|
@@ -996,6 +1008,9 @@ input[type=number] {
|
|
|
996
1008
|
.max-w-lg{
|
|
997
1009
|
max-width: 32rem;
|
|
998
1010
|
}
|
|
1011
|
+
.max-w-md{
|
|
1012
|
+
max-width: 28rem;
|
|
1013
|
+
}
|
|
999
1014
|
.flex-1{
|
|
1000
1015
|
flex: 1 1 0%;
|
|
1001
1016
|
}
|
|
@@ -1863,6 +1878,10 @@ input[type=number] {
|
|
|
1863
1878
|
--tw-bg-opacity: 1;
|
|
1864
1879
|
background-color: color-mix(in srgb, var(--function-default-stroke) calc(100% * var(--tw-bg-opacity, 1)), transparent);
|
|
1865
1880
|
}
|
|
1881
|
+
.bg-gray-100{
|
|
1882
|
+
--tw-bg-opacity: 1;
|
|
1883
|
+
background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
|
|
1884
|
+
}
|
|
1866
1885
|
.bg-gray-200{
|
|
1867
1886
|
--tw-bg-opacity: 1;
|
|
1868
1887
|
background-color: rgb(229 231 235 / var(--tw-bg-opacity, 1));
|
|
@@ -3159,6 +3178,10 @@ input[type=number] {
|
|
|
3159
3178
|
line-height: var(--label-label2-line-height, 10px);
|
|
3160
3179
|
font-weight: var(--label-label2-weight, 400);
|
|
3161
3180
|
}
|
|
3181
|
+
.text-lg{
|
|
3182
|
+
font-size: 1.125rem;
|
|
3183
|
+
line-height: 1.75rem;
|
|
3184
|
+
}
|
|
3162
3185
|
.text-sm{
|
|
3163
3186
|
font-size: 0.875rem;
|
|
3164
3187
|
line-height: 1.25rem;
|
|
@@ -3252,6 +3275,9 @@ input[type=number] {
|
|
|
3252
3275
|
.font-medium{
|
|
3253
3276
|
font-weight: 500;
|
|
3254
3277
|
}
|
|
3278
|
+
.font-semibold{
|
|
3279
|
+
font-weight: 600;
|
|
3280
|
+
}
|
|
3255
3281
|
.uppercase{
|
|
3256
3282
|
text-transform: uppercase;
|
|
3257
3283
|
}
|
|
@@ -3452,6 +3478,10 @@ input[type=number] {
|
|
|
3452
3478
|
--tw-text-opacity: 1;
|
|
3453
3479
|
color: rgb(107 114 128 / var(--tw-text-opacity, 1));
|
|
3454
3480
|
}
|
|
3481
|
+
.text-gray-700{
|
|
3482
|
+
--tw-text-opacity: 1;
|
|
3483
|
+
color: rgb(55 65 81 / var(--tw-text-opacity, 1));
|
|
3484
|
+
}
|
|
3455
3485
|
.text-green-500{
|
|
3456
3486
|
--tw-text-opacity: 1;
|
|
3457
3487
|
color: rgb(34 197 94 / var(--tw-text-opacity, 1));
|
|
@@ -4086,6 +4116,9 @@ input[type=number] {
|
|
|
4086
4116
|
--tw-bg-opacity: 1;
|
|
4087
4117
|
background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
|
|
4088
4118
|
}
|
|
4119
|
+
.hover\:bg-input-active-stroke\/10:hover{
|
|
4120
|
+
background-color: color-mix(in srgb, var(--input-color-active-stroke) calc(100% * 0.1), transparent);
|
|
4121
|
+
}
|
|
4089
4122
|
.hover\:bg-input-disable-bg:hover{
|
|
4090
4123
|
--tw-bg-opacity: 1;
|
|
4091
4124
|
background-color: color-mix(in srgb, var(--input-color-disable-bg) calc(100% * var(--tw-bg-opacity, 1)), transparent);
|
|
@@ -5165,6 +5198,9 @@ input[type=number] {
|
|
|
5165
5198
|
--tw-text-opacity: 1;
|
|
5166
5199
|
color: color-mix(in srgb, var(--state-color-disable-outline) calc(100% * var(--tw-text-opacity, 1)), transparent);
|
|
5167
5200
|
}
|
|
5201
|
+
.disabled\:opacity-30:disabled{
|
|
5202
|
+
opacity: 0.3;
|
|
5203
|
+
}
|
|
5168
5204
|
.disabled\:opacity-50:disabled{
|
|
5169
5205
|
opacity: 0.5;
|
|
5170
5206
|
}
|
|
@@ -5814,6 +5850,10 @@ input[type=number] {
|
|
|
5814
5850
|
.md\:right-\[40px\]{
|
|
5815
5851
|
right: 40px;
|
|
5816
5852
|
}
|
|
5853
|
+
|
|
5854
|
+
.md\:grid-cols-2{
|
|
5855
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
5856
|
+
}
|
|
5817
5857
|
}
|
|
5818
5858
|
.\[\&\:has\(\[role\=checkbox\]\)\]\:w-4:has([role=checkbox]){
|
|
5819
5859
|
width: 1rem;
|