@rovula/ui 0.0.46 → 0.0.48
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 +49 -28
- package/dist/cjs/bundle.js +3 -3
- package/dist/cjs/bundle.js.map +1 -1
- package/dist/cjs/types/components/Switch/Switch.stories.d.ts +1 -6
- package/dist/cjs/types/components/Table/Table.d.ts +1 -0
- package/dist/cjs/types/components/Table/Table.stories.d.ts +2 -0
- package/dist/cjs/types/components/Tree/Tree.d.ts +45 -0
- package/dist/cjs/types/components/Tree/Tree.stories.d.ts +5 -0
- package/dist/components/Switch/Switch.js +15 -1
- package/dist/components/Switch/Switch.stories.js +2 -7
- package/dist/components/Table/Table.js +2 -2
- package/dist/components/Tree/Tree.js +138 -0
- package/dist/components/Tree/Tree.stories.js +53 -0
- package/dist/esm/bundle.css +49 -28
- package/dist/esm/bundle.js +2 -2
- package/dist/esm/bundle.js.map +1 -1
- package/dist/esm/types/components/Switch/Switch.stories.d.ts +1 -6
- package/dist/esm/types/components/Table/Table.d.ts +1 -0
- package/dist/esm/types/components/Table/Table.stories.d.ts +2 -0
- package/dist/esm/types/components/Tree/Tree.d.ts +45 -0
- package/dist/esm/types/components/Tree/Tree.stories.d.ts +5 -0
- package/dist/index.d.ts +1 -0
- package/dist/src/theme/global.css +1264 -37
- package/dist/theme/global.css +1 -0
- package/dist/theme/themes/SKL/baseline.css +12 -0
- package/dist/theme/themes/SKL/color.css +78 -0
- package/dist/theme/themes/SKL/components/action-button.css +127 -0
- package/dist/theme/themes/SKL/components/button.css +512 -0
- package/dist/theme/themes/SKL/components/dropdown-menu.css +27 -0
- package/dist/theme/themes/SKL/components/loading.css +11 -0
- package/dist/theme/themes/SKL/components/navbar.css +8 -0
- package/dist/theme/themes/SKL/components/progress-bar.css +8 -0
- package/dist/theme/themes/SKL/components/switch.css +30 -0
- package/dist/theme/themes/SKL/palette.css +145 -0
- package/dist/theme/themes/SKL/state.css +86 -0
- package/dist/theme/themes/SKL/transparent.css +68 -0
- package/dist/theme/themes/SKL/typography.css +199 -0
- package/dist/theme/themes/SKL/variables.css +28 -0
- package/dist/theme/themes/xspector/baseline.css +1 -0
- package/dist/theme/themes/xspector/components/switch.css +30 -0
- package/dist/theme/tokens/baseline.css +2 -1
- package/dist/theme/tokens/components/switch.css +30 -0
- package/package.json +1 -1
- package/src/components/Switch/Switch.stories.tsx +2 -7
- package/src/components/Switch/Switch.tsx +37 -9
- package/src/components/Table/Table.tsx +7 -2
- package/src/components/Tree/Tree.stories.tsx +66 -0
- package/src/components/Tree/Tree.tsx +331 -0
- package/src/theme/global.css +1 -0
- package/src/theme/themes/SKL/baseline.css +12 -0
- package/src/theme/themes/SKL/color.css +78 -0
- package/src/theme/themes/SKL/components/action-button.css +127 -0
- package/src/theme/themes/SKL/components/button.css +512 -0
- package/src/theme/themes/SKL/components/dropdown-menu.css +27 -0
- package/src/theme/themes/SKL/components/loading.css +11 -0
- package/src/theme/themes/SKL/components/navbar.css +8 -0
- package/src/theme/themes/SKL/components/progress-bar.css +8 -0
- package/src/theme/themes/SKL/components/switch.css +30 -0
- package/src/theme/themes/SKL/palette.css +145 -0
- package/src/theme/themes/SKL/state.css +86 -0
- package/src/theme/themes/SKL/transparent.css +68 -0
- package/src/theme/themes/SKL/typography.css +199 -0
- package/src/theme/themes/SKL/variables.css +28 -0
- package/src/theme/themes/xspector/baseline.css +1 -0
- package/src/theme/themes/xspector/components/switch.css +30 -0
- package/src/theme/tokens/baseline.css +2 -1
- package/src/theme/tokens/components/switch.css +30 -0
package/dist/cjs/bundle.css
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
@import "./tokens/baseline.css";
|
|
3
3
|
@import "./themes/xspector/baseline.css";
|
|
4
|
+
@import "./themes/SKL/baseline.css";
|
|
4
5
|
|
|
5
6
|
/*
|
|
6
7
|
! tailwindcss v3.4.3 | MIT License | https://tailwindcss.com
|
|
@@ -698,6 +699,9 @@ input[type=number] {
|
|
|
698
699
|
.mr-4{
|
|
699
700
|
margin-right: 1rem;
|
|
700
701
|
}
|
|
702
|
+
.mr-\[2px\]{
|
|
703
|
+
margin-right: 2px;
|
|
704
|
+
}
|
|
701
705
|
.mt-1{
|
|
702
706
|
margin-top: 0.25rem;
|
|
703
707
|
}
|
|
@@ -776,6 +780,10 @@ input[type=number] {
|
|
|
776
780
|
width: 14px;
|
|
777
781
|
height: 14px;
|
|
778
782
|
}
|
|
783
|
+
.size-\[16pt\]{
|
|
784
|
+
width: 16pt;
|
|
785
|
+
height: 16pt;
|
|
786
|
+
}
|
|
779
787
|
.size-\[30px\]{
|
|
780
788
|
width: 30px;
|
|
781
789
|
height: 30px;
|
|
@@ -788,6 +796,9 @@ input[type=number] {
|
|
|
788
796
|
width: 100%;
|
|
789
797
|
height: 100%;
|
|
790
798
|
}
|
|
799
|
+
.h-1\/2{
|
|
800
|
+
height: 50%;
|
|
801
|
+
}
|
|
791
802
|
.h-10{
|
|
792
803
|
height: 2.5rem;
|
|
793
804
|
}
|
|
@@ -858,6 +869,9 @@ input[type=number] {
|
|
|
858
869
|
.max-h-screen{
|
|
859
870
|
max-height: 100vh;
|
|
860
871
|
}
|
|
872
|
+
.min-h-10{
|
|
873
|
+
min-height: 2.5rem;
|
|
874
|
+
}
|
|
861
875
|
.w-1\/2{
|
|
862
876
|
width: 50%;
|
|
863
877
|
}
|
|
@@ -1131,6 +1145,9 @@ input[type=number] {
|
|
|
1131
1145
|
text-overflow: ellipsis;
|
|
1132
1146
|
white-space: nowrap;
|
|
1133
1147
|
}
|
|
1148
|
+
.text-ellipsis{
|
|
1149
|
+
text-overflow: ellipsis;
|
|
1150
|
+
}
|
|
1134
1151
|
.rounded{
|
|
1135
1152
|
border-radius: 0.25rem;
|
|
1136
1153
|
}
|
|
@@ -2201,10 +2218,6 @@ input[type=number] {
|
|
|
2201
2218
|
--tw-bg-opacity: 1;
|
|
2202
2219
|
background-color: color-mix(in srgb, var(--secondary-ramps-secondary-90) calc(100% * var(--tw-bg-opacity)), transparent);
|
|
2203
2220
|
}
|
|
2204
|
-
.bg-secondary-active{
|
|
2205
|
-
--tw-bg-opacity: 1;
|
|
2206
|
-
background-color: color-mix(in srgb, var(--state-color-secondary-active) calc(100% * var(--tw-bg-opacity)), transparent);
|
|
2207
|
-
}
|
|
2208
2221
|
.bg-secondary-default{
|
|
2209
2222
|
--tw-bg-opacity: 1;
|
|
2210
2223
|
background-color: color-mix(in srgb, var(--state-color-secondary-default) calc(100% * var(--tw-bg-opacity)), transparent);
|
|
@@ -2722,6 +2735,9 @@ input[type=number] {
|
|
|
2722
2735
|
.fill-primary-default{
|
|
2723
2736
|
fill: color-mix(in srgb, var(--state-color-primary-default) calc(100% * 1), transparent);
|
|
2724
2737
|
}
|
|
2738
|
+
.fill-warning{
|
|
2739
|
+
fill: color-mix(in srgb, var(--state-color-warning-default) calc(100% * 1), transparent);
|
|
2740
|
+
}
|
|
2725
2741
|
.stroke-input-default-stroke{
|
|
2726
2742
|
stroke: color-mix(in srgb, var(--input-color-default-stroke) calc(100% * 1), transparent);
|
|
2727
2743
|
}
|
|
@@ -4977,9 +4993,8 @@ input[type=number] {
|
|
|
4977
4993
|
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
4978
4994
|
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
4979
4995
|
}
|
|
4980
|
-
.group:disabled .group-disabled
|
|
4981
|
-
--
|
|
4982
|
-
background-color: color-mix(in srgb, var(--state-color-disable-solid) calc(100% * var(--tw-bg-opacity)), transparent);
|
|
4996
|
+
.group:disabled .group-disabled\:\!bg-\[--switch-thumb-disabled-color\]{
|
|
4997
|
+
background-color: var(--switch-thumb-disabled-color) !important;
|
|
4983
4998
|
}
|
|
4984
4999
|
.peer:-moz-placeholder-shown ~ .peer-placeholder-shown\:top-2{
|
|
4985
5000
|
top: 0.5rem;
|
|
@@ -5241,8 +5256,8 @@ input[type=number] {
|
|
|
5241
5256
|
.data-\[disabled\]\:\!bg-\[var\(--dropdown-menu-disabled-bg\)\][data-disabled]{
|
|
5242
5257
|
background-color: var(--dropdown-menu-disabled-bg) !important;
|
|
5243
5258
|
}
|
|
5244
|
-
.data-\[disabled\]
|
|
5245
|
-
background-color:
|
|
5259
|
+
.data-\[disabled\]\:\!bg-\[var\(--switch-disabled-color\)\][data-disabled]{
|
|
5260
|
+
background-color: var(--switch-disabled-color) !important;
|
|
5246
5261
|
}
|
|
5247
5262
|
.data-\[loading\=true\]\:bg-button-error-flat-active[data-loading=true]{
|
|
5248
5263
|
--tw-bg-opacity: 1;
|
|
@@ -5331,13 +5346,16 @@ input[type=number] {
|
|
|
5331
5346
|
.data-\[state\=\'checked\'\]\:bg-\[var\(--dropdown-menu-selected-bg\)\][data-state='checked']{
|
|
5332
5347
|
background-color: var(--dropdown-menu-selected-bg);
|
|
5333
5348
|
}
|
|
5349
|
+
.data-\[state\=checked\]\:bg-\[var\(--switch-active-color\)\][data-state=checked]{
|
|
5350
|
+
background-color: var(--switch-active-color);
|
|
5351
|
+
}
|
|
5352
|
+
.data-\[state\=checked\]\:bg-\[var\(--switch-thumb-active-color\)\][data-state=checked]{
|
|
5353
|
+
background-color: var(--switch-thumb-active-color);
|
|
5354
|
+
}
|
|
5334
5355
|
.data-\[state\=checked\]\:bg-function-active-solid[data-state=checked]{
|
|
5335
5356
|
--tw-bg-opacity: 1;
|
|
5336
5357
|
background-color: color-mix(in srgb, var(--function-active-solid) calc(100% * var(--tw-bg-opacity)), transparent);
|
|
5337
5358
|
}
|
|
5338
|
-
.data-\[state\=checked\]\:bg-secondary-active\/\[0\.32\][data-state=checked]{
|
|
5339
|
-
background-color: color-mix(in srgb, var(--state-color-secondary-active) calc(100% * 0.32), transparent);
|
|
5340
|
-
}
|
|
5341
5359
|
.data-\[state\=open\]\:bg-primary[data-state=open]{
|
|
5342
5360
|
--tw-bg-opacity: 1;
|
|
5343
5361
|
background-color: color-mix(in srgb, var(--state-color-primary-default) calc(100% * var(--tw-bg-opacity)), transparent);
|
|
@@ -5346,12 +5364,11 @@ input[type=number] {
|
|
|
5346
5364
|
--tw-bg-opacity: 1;
|
|
5347
5365
|
background-color: color-mix(in srgb, var(--grey-grey-20) calc(100% * var(--tw-bg-opacity)), transparent);
|
|
5348
5366
|
}
|
|
5349
|
-
.data-\[state\=unchecked\]\:bg-
|
|
5350
|
-
--
|
|
5351
|
-
background-color: color-mix(in srgb, var(--state-color-tertiary-active) calc(100% * var(--tw-bg-opacity)), transparent);
|
|
5367
|
+
.data-\[state\=unchecked\]\:bg-\[var\(--switch-default-color\)\][data-state=unchecked]{
|
|
5368
|
+
background-color: var(--switch-default-color);
|
|
5352
5369
|
}
|
|
5353
|
-
.data-\[state\=unchecked\]\:bg-
|
|
5354
|
-
background-color:
|
|
5370
|
+
.data-\[state\=unchecked\]\:bg-\[var\(--switch-thumb-default-color\)\][data-state=unchecked]{
|
|
5371
|
+
background-color: var(--switch-thumb-default-color);
|
|
5355
5372
|
}
|
|
5356
5373
|
.data-\[disabled\]\:\!fill-state-disable-solid[data-disabled]{
|
|
5357
5374
|
fill: color-mix(in srgb, var(--state-color-disable-solid) calc(100% * 1), transparent) !important;
|
|
@@ -5537,27 +5554,31 @@ input[type=number] {
|
|
|
5537
5554
|
--tw-border-opacity: 1;
|
|
5538
5555
|
border-color: color-mix(in srgb, var(--function-active-hover) calc(100% * var(--tw-border-opacity)), transparent);
|
|
5539
5556
|
}
|
|
5557
|
+
.hover\:data-\[state\=checked\]\:bg-\[var\(--switch-active-hover-color\)\][data-state=checked]:hover{
|
|
5558
|
+
background-color: var(--switch-active-hover-color);
|
|
5559
|
+
}
|
|
5540
5560
|
.hover\:data-\[state\=checked\]\:bg-function-active-hover[data-state=checked]:hover{
|
|
5541
5561
|
--tw-bg-opacity: 1;
|
|
5542
5562
|
background-color: color-mix(in srgb, var(--function-active-hover) calc(100% * var(--tw-bg-opacity)), transparent);
|
|
5543
5563
|
}
|
|
5544
|
-
.hover\:data-\[state\=
|
|
5545
|
-
background-color:
|
|
5546
|
-
}
|
|
5547
|
-
.hover\:data-\[state\=unchecked\]\:bg-tertiary-active\/\[0\.48\][data-state=unchecked]:hover{
|
|
5548
|
-
background-color: color-mix(in srgb, var(--state-color-tertiary-active) calc(100% * 0.48), transparent);
|
|
5564
|
+
.hover\:data-\[state\=unchecked\]\:bg-\[var\(--switch-hover-color\)\][data-state=unchecked]:hover{
|
|
5565
|
+
background-color: var(--switch-hover-color);
|
|
5549
5566
|
}
|
|
5550
5567
|
.hover\:data-\[state\=checked\]\:text-function-active-hover[data-state=checked]:hover{
|
|
5551
5568
|
--tw-text-opacity: 1;
|
|
5552
5569
|
color: color-mix(in srgb, var(--function-active-hover) calc(100% * var(--tw-text-opacity)), transparent);
|
|
5553
5570
|
}
|
|
5554
|
-
.group:hover .group-hover\:data-\[state\=checked\]\:
|
|
5555
|
-
--
|
|
5556
|
-
--tw-ring-color: color-mix(in srgb, var(--state-color-secondary-hover-bg) calc(100% * var(--tw-ring-opacity)), transparent);
|
|
5571
|
+
.group:hover .group-hover\:data-\[state\=checked\]\:bg-\[var\(--switch-thumb-active-hover-color\)\][data-state=checked]{
|
|
5572
|
+
background-color: var(--switch-thumb-active-hover-color);
|
|
5557
5573
|
}
|
|
5558
|
-
.group:hover .group-hover\:data-\[state\=unchecked\]\:
|
|
5559
|
-
--
|
|
5560
|
-
|
|
5574
|
+
.group:hover .group-hover\:data-\[state\=unchecked\]\:bg-\[var\(--switch-thumb-hover-color\)\][data-state=unchecked]{
|
|
5575
|
+
background-color: var(--switch-thumb-hover-color);
|
|
5576
|
+
}
|
|
5577
|
+
.group:hover .group-hover\:data-\[state\=checked\]\:ring-\[var\(--switch-thumb-active-hover-ring\)\][data-state=checked]{
|
|
5578
|
+
--tw-ring-color: var(--switch-thumb-active-hover-ring);
|
|
5579
|
+
}
|
|
5580
|
+
.group:hover .group-hover\:data-\[state\=unchecked\]\:ring-\[var\(--switch-thumb-hover-ring\)\][data-state=unchecked]{
|
|
5581
|
+
--tw-ring-color: var(--switch-thumb-hover-ring);
|
|
5561
5582
|
}
|
|
5562
5583
|
@media (min-width: 640px){
|
|
5563
5584
|
|