@kubit-ui-web/react-components 2.0.0-beta.62 → 2.0.0-beta.63

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 (42) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/cjs/components/image/image.css +1 -38
  3. package/dist/cjs/components/input/stories/styles.css +1 -11
  4. package/dist/cjs/components/popover/stories/demos/animationsDemo.css +1 -97
  5. package/dist/cjs/components/popover/styles/index.css +1 -10
  6. package/dist/cjs/components/popover/styles/keyframes.css +1 -421
  7. package/dist/cjs/components/popover/styles/popover-arrow.css +1 -42
  8. package/dist/cjs/components/popover/styles/popover.css +1 -189
  9. package/dist/cjs/components/skeleton/skeleton.css +1 -13
  10. package/dist/cjs/components/text/text.css +1 -14
  11. package/dist/cjs/components/tooltip/tooltip.css +1 -54
  12. package/dist/esm/components/image/image.css +1 -38
  13. package/dist/esm/components/input/stories/styles.css +1 -11
  14. package/dist/esm/components/popover/stories/demos/animationsDemo.css +1 -97
  15. package/dist/esm/components/popover/styles/index.css +1 -10
  16. package/dist/esm/components/popover/styles/keyframes.css +1 -421
  17. package/dist/esm/components/popover/styles/popover-arrow.css +1 -42
  18. package/dist/esm/components/popover/styles/popover.css +1 -189
  19. package/dist/esm/components/skeleton/skeleton.css +1 -13
  20. package/dist/esm/components/text/text.css +1 -14
  21. package/dist/esm/components/tooltip/tooltip.css +1 -54
  22. package/package.json +4 -5
  23. package/dist/cjs/src/components/image/image.css +0 -38
  24. package/dist/cjs/src/components/input/stories/styles.css +0 -11
  25. package/dist/cjs/src/components/popover/stories/demos/animationsDemo.css +0 -97
  26. package/dist/cjs/src/components/popover/styles/index.css +0 -10
  27. package/dist/cjs/src/components/popover/styles/keyframes.css +0 -421
  28. package/dist/cjs/src/components/popover/styles/popover-arrow.css +0 -42
  29. package/dist/cjs/src/components/popover/styles/popover.css +0 -189
  30. package/dist/cjs/src/components/skeleton/skeleton.css +0 -13
  31. package/dist/cjs/src/components/text/text.css +0 -14
  32. package/dist/cjs/src/components/tooltip/tooltip.css +0 -54
  33. package/dist/esm/src/components/image/image.css +0 -38
  34. package/dist/esm/src/components/input/stories/styles.css +0 -11
  35. package/dist/esm/src/components/popover/stories/demos/animationsDemo.css +0 -97
  36. package/dist/esm/src/components/popover/styles/index.css +0 -10
  37. package/dist/esm/src/components/popover/styles/keyframes.css +0 -421
  38. package/dist/esm/src/components/popover/styles/popover-arrow.css +0 -42
  39. package/dist/esm/src/components/popover/styles/popover.css +0 -189
  40. package/dist/esm/src/components/skeleton/skeleton.css +0 -13
  41. package/dist/esm/src/components/text/text.css +0 -14
  42. package/dist/esm/src/components/tooltip/tooltip.css +0 -54
@@ -1,189 +0,0 @@
1
- /**
2
- * Popover Main Styles
3
- * Contains animation logic and positioning styles
4
- */
5
-
6
- /* Import all animation keyframes */
7
- @import './keyframes.css';
8
-
9
- /* Popover Animation Styles */
10
- /* ============================================= */
11
-
12
- /* Base animation properties - ALWAYS applied (even with disableAnimations=true) */
13
- /* This allows additionalClasses to work properly */
14
- [data-kbt-id='popover'][data-kbt-placement] {
15
- animation-duration: 500ms;
16
- animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
17
- animation-fill-mode: forwards;
18
- animation-iteration-count: 1;
19
- }
20
-
21
- /* Opening animations based on placement - ONLY when animations are enabled */
22
- [data-kbt-id='popover'][data-kbt-closing='false']:not(
23
- [data-kbt-disable-animations='true']
24
- ) {
25
- --animation-prefix: 'popover-enter-';
26
- }
27
-
28
- [data-kbt-id='popover'][data-kbt-placement='center'][data-kbt-closing='false']:not(
29
- [data-kbt-disable-animations='true']
30
- ) {
31
- animation-name: popover-enter-center;
32
- }
33
-
34
- [data-kbt-id='popover'][data-kbt-placement^='top'][data-kbt-closing='false']:not(
35
- [data-kbt-disable-animations='true']
36
- ) {
37
- animation-name: var(--animation-name, popover-enter-top);
38
- }
39
-
40
- [data-kbt-id='popover'][data-kbt-placement='top-start'][data-kbt-closing='false']:not(
41
- [data-kbt-disable-animations='true']
42
- ) {
43
- animation-name: popover-enter-top-start;
44
- }
45
-
46
- [data-kbt-id='popover'][data-kbt-placement='top-end'][data-kbt-closing='false']:not(
47
- [data-kbt-disable-animations='true']
48
- ) {
49
- animation-name: popover-enter-top-end;
50
- }
51
-
52
- [data-kbt-id='popover'][data-kbt-placement^='bottom'][data-kbt-closing='false']:not(
53
- [data-kbt-disable-animations='true']
54
- ) {
55
- animation-name: var(--animation-name, popover-enter-bottom);
56
- }
57
-
58
- [data-kbt-id='popover'][data-kbt-placement='bottom-start'][data-kbt-closing='false']:not(
59
- [data-kbt-disable-animations='true']
60
- ) {
61
- animation-name: popover-enter-bottom-start;
62
- }
63
-
64
- [data-kbt-id='popover'][data-kbt-placement='bottom-end'][data-kbt-closing='false']:not(
65
- [data-kbt-disable-animations='true']
66
- ) {
67
- animation-name: popover-enter-bottom-end;
68
- }
69
-
70
- [data-kbt-id='popover'][data-kbt-placement^='left'][data-kbt-closing='false']:not(
71
- [data-kbt-disable-animations='true']
72
- ) {
73
- animation-name: var(--animation-name, popover-enter-left);
74
- }
75
-
76
- [data-kbt-id='popover'][data-kbt-placement='left-start'][data-kbt-closing='false']:not(
77
- [data-kbt-disable-animations='true']
78
- ) {
79
- animation-name: popover-enter-left-start;
80
- }
81
-
82
- [data-kbt-id='popover'][data-kbt-placement='left-end'][data-kbt-closing='false']:not(
83
- [data-kbt-disable-animations='true']
84
- ) {
85
- animation-name: popover-enter-left-end;
86
- }
87
-
88
- [data-kbt-id='popover'][data-kbt-placement^='right'][data-kbt-closing='false']:not(
89
- [data-kbt-disable-animations='true']
90
- ) {
91
- animation-name: var(--animation-name, popover-enter-right);
92
- }
93
-
94
- [data-kbt-id='popover'][data-kbt-placement='right-start'][data-kbt-closing='false']:not(
95
- [data-kbt-disable-animations='true']
96
- ) {
97
- animation-name: popover-enter-right-start;
98
- }
99
-
100
- [data-kbt-id='popover'][data-kbt-placement='right-end'][data-kbt-closing='false']:not(
101
- [data-kbt-disable-animations='true']
102
- ) {
103
- animation-name: popover-enter-right-end;
104
- }
105
-
106
- /* Closing animations based on placement - ONLY when animations are enabled */
107
- [data-kbt-id='popover'][data-kbt-closing='true']:not(
108
- [data-kbt-disable-animations='true']
109
- ) {
110
- --animation-prefix: 'popover-exit-';
111
- }
112
-
113
- [data-kbt-id='popover'][data-kbt-placement='center'][data-kbt-closing='true']:not(
114
- [data-kbt-disable-animations='true']
115
- ) {
116
- animation-name: popover-exit-center;
117
- }
118
-
119
- [data-kbt-id='popover'][data-kbt-placement^='top'][data-kbt-closing='true']:not(
120
- [data-kbt-disable-animations='true']
121
- ) {
122
- animation-name: var(--exit-animation-name, popover-exit-top);
123
- }
124
-
125
- [data-kbt-id='popover'][data-kbt-placement='top-start'][data-kbt-closing='true']:not(
126
- [data-kbt-disable-animations='true']
127
- ) {
128
- animation-name: popover-exit-top-start;
129
- }
130
-
131
- [data-kbt-id='popover'][data-kbt-placement='top-end'][data-kbt-closing='true']:not(
132
- [data-kbt-disable-animations='true']
133
- ) {
134
- animation-name: popover-exit-top-end;
135
- }
136
-
137
- [data-kbt-id='popover'][data-kbt-placement^='bottom'][data-kbt-closing='true']:not(
138
- [data-kbt-disable-animations='true']
139
- ) {
140
- animation-name: var(--exit-animation-name, popover-exit-bottom);
141
- }
142
-
143
- [data-kbt-id='popover'][data-kbt-placement='bottom-start'][data-kbt-closing='true']:not(
144
- [data-kbt-disable-animations='true']
145
- ) {
146
- animation-name: popover-exit-bottom-start;
147
- }
148
-
149
- [data-kbt-id='popover'][data-kbt-placement='bottom-end'][data-kbt-closing='true']:not(
150
- [data-kbt-disable-animations='true']
151
- ) {
152
- animation-name: popover-exit-bottom-end;
153
- }
154
-
155
- [data-kbt-id='popover'][data-kbt-placement^='left'][data-kbt-closing='true']:not(
156
- [data-kbt-disable-animations='true']
157
- ) {
158
- animation-name: var(--exit-animation-name, popover-exit-left);
159
- }
160
-
161
- [data-kbt-id='popover'][data-kbt-placement='left-start'][data-kbt-closing='true']:not(
162
- [data-kbt-disable-animations='true']
163
- ) {
164
- animation-name: popover-exit-left-start;
165
- }
166
-
167
- [data-kbt-id='popover'][data-kbt-placement='left-end'][data-kbt-closing='true']:not(
168
- [data-kbt-disable-animations='true']
169
- ) {
170
- animation-name: popover-exit-left-end;
171
- }
172
-
173
- [data-kbt-id='popover'][data-kbt-placement^='right'][data-kbt-closing='true']:not(
174
- [data-kbt-disable-animations='true']
175
- ) {
176
- animation-name: var(--exit-animation-name, popover-exit-right);
177
- }
178
-
179
- [data-kbt-id='popover'][data-kbt-placement='right-start'][data-kbt-closing='true']:not(
180
- [data-kbt-disable-animations='true']
181
- ) {
182
- animation-name: popover-exit-right-start;
183
- }
184
-
185
- [data-kbt-id='popover'][data-kbt-placement='right-end'][data-kbt-closing='true']:not(
186
- [data-kbt-disable-animations='true']
187
- ) {
188
- animation-name: popover-exit-right-end;
189
- }
@@ -1,13 +0,0 @@
1
- @keyframes breatheAnimation {
2
- from {
3
- background-position-x: 0%;
4
- }
5
-
6
- to {
7
- background-position-x: -200%;
8
- }
9
- }
10
-
11
- .kbt-skeleton {
12
- animation-name: breatheAnimation;
13
- }
@@ -1,14 +0,0 @@
1
- .kbt-text {
2
- -webkit-text-size-adjust: 100%;
3
- text-size-adjust: 100%;
4
- }
5
-
6
- .kbt-text--disabled {
7
- pointer-events: none;
8
- }
9
-
10
- .kbt-text--truncate {
11
- white-space: nowrap;
12
- overflow: hidden;
13
- text-overflow: ellipsis;
14
- }
@@ -1,54 +0,0 @@
1
- .kbt-tooltip {
2
- display: inline-block;
3
- }
4
-
5
- .kbt-tooltip__trigger-wrapper {
6
- display: flex;
7
- align-items: center;
8
- justify-content: center;
9
- padding: 0;
10
- border: none;
11
- background: none;
12
- min-height: 1.5rem;
13
- min-width: 1.5rem;
14
- }
15
-
16
- .kbt-tooltip__external-container {
17
- display: flex;
18
- }
19
-
20
- .kbt-tooltip__paragraph {
21
- word-break: break-word;
22
- }
23
-
24
- .kbt-tooltip__inner-content {
25
- overflow-y: auto;
26
- }
27
-
28
- .kbt-tooltip__arrow {
29
- position: absolute;
30
- }
31
-
32
- .kbt-tooltip__arrow--top {
33
- bottom: 100%;
34
- left: 50%;
35
- transform: translateX(-50%);
36
- }
37
-
38
- .kbt-tooltip__arrow--right {
39
- top: 50%;
40
- left: 100%;
41
- transform: translateY(-50%);
42
- }
43
-
44
- .kbt-tooltip__arrow--bottom {
45
- top: 100%;
46
- left: 50%;
47
- transform: translateX(-50%);
48
- }
49
-
50
- .kbt-tooltip__arrow--left {
51
- top: 50%;
52
- right: 100%;
53
- transform: translateY(-50%);
54
- }
@@ -1,38 +0,0 @@
1
- :root {
2
- --border-radius: 0;
3
- --fallback-ratio: 1;
4
- --object-fit: cover;
5
- --ratio: 1;
6
- --width: 100%;
7
- }
8
-
9
- .kbt-picture {
10
- position: relative;
11
- display: inline-block;
12
- overflow: hidden;
13
- max-width: 100%;
14
- max-height: 100%;
15
- width: var(--width);
16
- aspect-ratio: var(--ratio);
17
- }
18
-
19
- @supports not (aspect-ratio: 16 / 9) {
20
- .kbt-picture {
21
- padding-top: var(--fallback-ratio);
22
- }
23
-
24
- .kbt-picture img {
25
- position: absolute;
26
- top: 0;
27
- left: 0;
28
- width: 100%;
29
- height: auto;
30
- }
31
- }
32
-
33
- .kbt-picture img {
34
- max-width: 100%;
35
- border-radius: var(--border-radius);
36
- object-fit: var(--object-fit);
37
- aspect-ratio: var(--ratio);
38
- }
@@ -1,11 +0,0 @@
1
- .custom-input-base {
2
- border: '1px solid pink';
3
- border-color: 'pink';
4
- border-style: 'dashed';
5
- border-width: '2px';
6
- padding: '14px';
7
- }
8
-
9
- .custom-input-label {
10
- position: 'undefined';
11
- }
@@ -1,97 +0,0 @@
1
- /* Keyframes for custom animations */
2
- @keyframes demo-scale-fade-in {
3
- 0% {
4
- transform: translate(-50%, -50%) scale(0.8);
5
- opacity: 0;
6
- }
7
- 100% {
8
- transform: translate(-50%, -50%) scale(1);
9
- opacity: 1;
10
- }
11
- }
12
-
13
- @keyframes demo-rotate-slide-in {
14
- 0% {
15
- transform: translate(-50%, -50%) translateY(30px) rotate(-8deg);
16
- opacity: 0;
17
- }
18
- 100% {
19
- transform: translate(-50%, -50%) translateY(0px) rotate(0deg);
20
- opacity: 1;
21
- }
22
- }
23
-
24
- @keyframes demo-zoom-in {
25
- 0% {
26
- transform: translate(-50%, -50%) scale(0.2);
27
- opacity: 0;
28
- }
29
- 60% {
30
- transform: translate(-50%, -50%) scale(1.1);
31
- opacity: 0.8;
32
- }
33
- 100% {
34
- transform: translate(-50%, -50%) scale(1);
35
- opacity: 1;
36
- }
37
- }
38
-
39
- @keyframes demo-fade-in {
40
- 0% {
41
- opacity: 0;
42
- }
43
- 100% {
44
- opacity: 1;
45
- }
46
- }
47
-
48
- /* Demo container styles */
49
- .demo-container {
50
- display: flex;
51
- flex-direction: column;
52
- gap: 2rem;
53
- padding: 2rem;
54
- max-width: 1200px;
55
- }
56
-
57
- .demo-section {
58
- display: flex;
59
- flex-direction: column;
60
- gap: 1rem;
61
- padding: 1.5rem;
62
- border: 1px solid #e0e0e0;
63
- border-radius: 8px;
64
- background: #fafafa;
65
- }
66
-
67
- .demo-section-title {
68
- margin: 0;
69
- color: #333;
70
- font-size: 1.2rem;
71
- }
72
-
73
- .demo-section-description {
74
- margin: 0;
75
- color: #666;
76
- font-size: 0.9rem;
77
- }
78
-
79
- .demo-button-grid {
80
- display: grid;
81
- grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
82
- gap: 1rem;
83
- margin-top: 1rem;
84
- }
85
-
86
- .demo-button {
87
- justify-self: stretch;
88
- }
89
-
90
- .demo-code-block {
91
- background: #f5f5f5;
92
- padding: 1rem;
93
- border-radius: 4px;
94
- overflow-x: auto;
95
- font-size: 0.85rem;
96
- margin: 0.5rem 0;
97
- }
@@ -1,10 +0,0 @@
1
- /**
2
- * Popover Styles Index
3
- * Imports all popover-related CSS files
4
- */
5
-
6
- /* Core popover styles and animations */
7
- @import './popover.css';
8
-
9
- /* Arrow positioning and styling */
10
- @import './popover-arrow.css';