@neo-ui-kit/react 1.0.0 → 1.0.1

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 (55) hide show
  1. package/README.md +12 -2
  2. package/dist/components/artwork/DatabaseArt/styles.css +58 -58
  3. package/dist/components/artwork/Landscape/styles.css +79 -79
  4. package/dist/components/artwork/Planet/styles.css +52 -52
  5. package/dist/components/artwork/QuantumField/UPSTREAM-LICENSE.txt +21 -21
  6. package/dist/components/artwork/ServerArt/styles.css +43 -43
  7. package/dist/components/artwork/Spectrum/styles.css +35 -35
  8. package/dist/components/controls/Autocomplete/styles.css +1 -1
  9. package/dist/components/controls/Checkbox/styles.css +58 -58
  10. package/dist/components/controls/InputBase/styles.css +374 -374
  11. package/dist/components/controls/Link/styles.css +50 -50
  12. package/dist/components/controls/SegmentedControl/styles.css +9 -9
  13. package/dist/components/controls/Switch/styles.css +54 -54
  14. package/dist/components/controls/Tabs/styles.css +239 -239
  15. package/dist/components/controls/ToggleButton/styles.css +49 -49
  16. package/dist/components/controls/shared.css +694 -694
  17. package/dist/components/editor/shared.css +1 -1
  18. package/dist/components/effects/Beacon/styles.css +38 -38
  19. package/dist/components/effects/Equalizer/styles.css +34 -34
  20. package/dist/components/effects/GlowText/styles.css +56 -56
  21. package/dist/components/effects/Marquee/styles.css +46 -46
  22. package/dist/components/effects/Reveal/styles.css +25 -25
  23. package/dist/components/effects/Shimmer/styles.css +48 -48
  24. package/dist/components/effects/Sparkles/styles.css +28 -28
  25. package/dist/components/effects/Spotlight/styles.css +45 -45
  26. package/dist/components/effects/Tilt/styles.css +67 -67
  27. package/dist/components/feedback/CollapsibleSection/styles.css +76 -76
  28. package/dist/components/feedback/DataTable/styles.css +522 -522
  29. package/dist/components/feedback/EmptyState/styles.css +80 -80
  30. package/dist/components/feedback/KeyValueList/styles.css +51 -51
  31. package/dist/components/feedback/MenuItem/styles.css +71 -71
  32. package/dist/components/feedback/Popover/styles.css +44 -44
  33. package/dist/components/feedback/Steps/styles.css +152 -152
  34. package/dist/components/feedback/Toast/styles.css +89 -89
  35. package/dist/components/forms/FormFields/styles.css +21 -21
  36. package/dist/components/foundation/ThemeProvider/styles.css +31 -31
  37. package/dist/components/layout/Avatar/styles.css +151 -151
  38. package/dist/components/layout/Card/styles.css +37 -37
  39. package/dist/components/layout/DialogActions/styles.css +31 -31
  40. package/dist/components/layout/DialogBody/styles.css +17 -17
  41. package/dist/components/layout/Illustration/styles.css +104 -104
  42. package/dist/components/layout/ScrollArea/styles.css +61 -61
  43. package/dist/components/layout/TabPanel/styles.css +16 -16
  44. package/dist/components/layout/shared.css +65 -65
  45. package/dist/components/media/AudioPlayer/styles.css +86 -86
  46. package/dist/components/media/LevelMeter/styles.css +30 -30
  47. package/dist/components/media/MelodyRoll/styles.css +196 -196
  48. package/dist/components/media/RotaryKnob/styles.css +319 -319
  49. package/dist/components/media/Sparkline/styles.css +69 -69
  50. package/dist/components/media/WaveDecoration/styles.css +1 -1
  51. package/dist/components/media/shared.css +7 -7
  52. package/dist/fonts/melodix.css +123 -123
  53. package/dist/index.js +2101 -2101
  54. package/dist/theme/base.css +210 -210
  55. package/package.json +1 -1
@@ -1,80 +1,80 @@
1
- /* Styles owned by EmptyState: the icon floats in a breathing halo, the text rises in after it. */
2
- .ad-empty-state {
3
- padding: 1.5625rem 0.9375rem;
4
- text-align: center;
5
- display: flex;
6
- flex-direction: column;
7
- align-items: center;
8
- min-width: 0;
9
- overflow-wrap: anywhere;
10
- }
11
- .ad-empty-state > * {
12
- min-width: 0;
13
- max-width: 100%;
14
- }
15
- .ad-empty-state > .ad-button {
16
- height: auto;
17
- min-height: var(--ad-size-h);
18
- padding-block: 0.5em;
19
- }
20
- .ad-empty-state .ad-button-label {
21
- white-space: normal;
22
- }
23
- .ad-empty-state > .ad-icon {
24
- position: relative;
25
- isolation: isolate;
26
- animation: ad-empty-float 4s ease-in-out infinite;
27
- }
28
- .ad-empty-state > .ad-icon::before {
29
- content: "";
30
- position: absolute;
31
- z-index: -1;
32
- inset: -55%;
33
- border-radius: 50%;
34
- background: radial-gradient(closest-side, rgb(from var(--ad-primary) r g b / 0.33), transparent);
35
- animation: ad-empty-halo 4s ease-in-out infinite;
36
- }
37
- .ad-empty-state > :not(.ad-icon) {
38
- animation: ad-empty-rise 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
39
- }
40
- .ad-empty-state > :nth-child(3) {
41
- animation-delay: 0.08s;
42
- }
43
- .ad-empty-state > :nth-child(4) {
44
- animation-delay: 0.16s;
45
- }
46
- .ad-empty-state h3 {
47
- font-size: 1.125rem;
48
- margin: 0.9375rem 0 0.3125rem;
49
- }
50
- .ad-empty-state p {
51
- font-size: 0.8125rem;
52
- color: var(--ad-muted);
53
- margin: 0 0 1.0625rem;
54
- }
55
- @keyframes ad-empty-float {
56
- 0%,
57
- 100% {
58
- transform: translateY(0) rotate(-4deg);
59
- }
60
- 50% {
61
- transform: translateY(-0.5rem) rotate(4deg);
62
- }
63
- }
64
- @keyframes ad-empty-halo {
65
- 0%,
66
- 100% {
67
- opacity: 0.55;
68
- scale: 0.85;
69
- }
70
- 50% {
71
- opacity: 1;
72
- scale: 1.1;
73
- }
74
- }
75
- @keyframes ad-empty-rise {
76
- from {
77
- opacity: 0;
78
- transform: translateY(0.75rem);
79
- }
80
- }
1
+ /* Styles owned by EmptyState: the icon floats in a breathing halo, the text rises in after it. */
2
+ .ad-empty-state {
3
+ padding: 1.5625rem 0.9375rem;
4
+ text-align: center;
5
+ display: flex;
6
+ flex-direction: column;
7
+ align-items: center;
8
+ min-width: 0;
9
+ overflow-wrap: anywhere;
10
+ }
11
+ .ad-empty-state > * {
12
+ min-width: 0;
13
+ max-width: 100%;
14
+ }
15
+ .ad-empty-state > .ad-button {
16
+ height: auto;
17
+ min-height: var(--ad-size-h);
18
+ padding-block: 0.5em;
19
+ }
20
+ .ad-empty-state .ad-button-label {
21
+ white-space: normal;
22
+ }
23
+ .ad-empty-state > .ad-icon {
24
+ position: relative;
25
+ isolation: isolate;
26
+ animation: ad-empty-float 4s ease-in-out infinite;
27
+ }
28
+ .ad-empty-state > .ad-icon::before {
29
+ content: "";
30
+ position: absolute;
31
+ z-index: -1;
32
+ inset: -55%;
33
+ border-radius: 50%;
34
+ background: radial-gradient(closest-side, rgb(from var(--ad-primary) r g b / 0.33), transparent);
35
+ animation: ad-empty-halo 4s ease-in-out infinite;
36
+ }
37
+ .ad-empty-state > :not(.ad-icon) {
38
+ animation: ad-empty-rise 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
39
+ }
40
+ .ad-empty-state > :nth-child(3) {
41
+ animation-delay: 0.08s;
42
+ }
43
+ .ad-empty-state > :nth-child(4) {
44
+ animation-delay: 0.16s;
45
+ }
46
+ .ad-empty-state h3 {
47
+ font-size: 1.125rem;
48
+ margin: 0.9375rem 0 0.3125rem;
49
+ }
50
+ .ad-empty-state p {
51
+ font-size: 0.8125rem;
52
+ color: var(--ad-muted);
53
+ margin: 0 0 1.0625rem;
54
+ }
55
+ @keyframes ad-empty-float {
56
+ 0%,
57
+ 100% {
58
+ transform: translateY(0) rotate(-4deg);
59
+ }
60
+ 50% {
61
+ transform: translateY(-0.5rem) rotate(4deg);
62
+ }
63
+ }
64
+ @keyframes ad-empty-halo {
65
+ 0%,
66
+ 100% {
67
+ opacity: 0.55;
68
+ scale: 0.85;
69
+ }
70
+ 50% {
71
+ opacity: 1;
72
+ scale: 1.1;
73
+ }
74
+ }
75
+ @keyframes ad-empty-rise {
76
+ from {
77
+ opacity: 0;
78
+ transform: translateY(0.75rem);
79
+ }
80
+ }
@@ -1,51 +1,51 @@
1
- /* Styles owned by KeyValueList: rows slide in one by one and highlight on hover. */
2
- .ad-key-value-list {
3
- display: grid;
4
- gap: 0.125rem;
5
- margin: 0;
6
- font-size: 0.8125rem;
7
- }
8
- .ad-key-value-list > div {
9
- display: grid;
10
- min-width: 0;
11
- /* Neither column may push the list wider than its container. */
12
- grid-template-columns: minmax(min(7.5rem, 40%), 1fr) minmax(0, 1.2fr);
13
- align-items: center;
14
- gap: 1.125rem;
15
- padding: 0.45rem 0.6rem;
16
- border-radius: 0.5rem;
17
- transition: background 0.25s;
18
- animation: ad-kv-row 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both;
19
- }
20
- .ad-key-value-list > div:nth-child(2) {
21
- animation-delay: 0.07s;
22
- }
23
- .ad-key-value-list > div:nth-child(3) {
24
- animation-delay: 0.14s;
25
- }
26
- .ad-key-value-list > div:nth-child(n + 4) {
27
- animation-delay: 0.21s;
28
- }
29
- .ad-key-value-list > div:hover {
30
- background: #ffffff08;
31
- }
32
- .ad-key-value-list dt {
33
- min-width: 0;
34
- overflow-wrap: anywhere;
35
- color: var(--ad-muted);
36
- transition: color 0.25s;
37
- }
38
- .ad-key-value-list > div:hover dt {
39
- color: var(--ad-pink);
40
- }
41
- .ad-key-value-list dd {
42
- min-width: 0;
43
- margin: 0;
44
- overflow-wrap: anywhere;
45
- }
46
- @keyframes ad-kv-row {
47
- from {
48
- opacity: 0;
49
- transform: translateX(-0.6rem);
50
- }
51
- }
1
+ /* Styles owned by KeyValueList: rows slide in one by one and highlight on hover. */
2
+ .ad-key-value-list {
3
+ display: grid;
4
+ gap: 0.125rem;
5
+ margin: 0;
6
+ font-size: 0.8125rem;
7
+ }
8
+ .ad-key-value-list > div {
9
+ display: grid;
10
+ min-width: 0;
11
+ /* Neither column may push the list wider than its container. */
12
+ grid-template-columns: minmax(min(7.5rem, 40%), 1fr) minmax(0, 1.2fr);
13
+ align-items: center;
14
+ gap: 1.125rem;
15
+ padding: 0.45rem 0.6rem;
16
+ border-radius: 0.5rem;
17
+ transition: background 0.25s;
18
+ animation: ad-kv-row 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both;
19
+ }
20
+ .ad-key-value-list > div:nth-child(2) {
21
+ animation-delay: 0.07s;
22
+ }
23
+ .ad-key-value-list > div:nth-child(3) {
24
+ animation-delay: 0.14s;
25
+ }
26
+ .ad-key-value-list > div:nth-child(n + 4) {
27
+ animation-delay: 0.21s;
28
+ }
29
+ .ad-key-value-list > div:hover {
30
+ background: #ffffff08;
31
+ }
32
+ .ad-key-value-list dt {
33
+ min-width: 0;
34
+ overflow-wrap: anywhere;
35
+ color: var(--ad-muted);
36
+ transition: color 0.25s;
37
+ }
38
+ .ad-key-value-list > div:hover dt {
39
+ color: var(--ad-pink);
40
+ }
41
+ .ad-key-value-list dd {
42
+ min-width: 0;
43
+ margin: 0;
44
+ overflow-wrap: anywhere;
45
+ }
46
+ @keyframes ad-kv-row {
47
+ from {
48
+ opacity: 0;
49
+ transform: translateX(-0.6rem);
50
+ }
51
+ }
@@ -1,71 +1,71 @@
1
- /* Menu row: plain icon and label, a soft highlight on hover or keyboard focus. */
2
- .ad-menu-item {
3
- --ad-menu-item-tone: var(--ad-neutral-200);
4
- appearance: none;
5
- inline-size: 100%;
6
- min-inline-size: 0;
7
- min-block-size: 2.5rem;
8
- display: grid;
9
- grid-template-columns: auto minmax(0, 1fr) auto;
10
- align-items: center;
11
- gap: 0.7rem;
12
- padding: 0.4rem 0.7rem;
13
- border: 0;
14
- border-radius: calc(var(--ad-radius) * 0.65);
15
- background: transparent;
16
- color: var(--ad-menu-item-tone);
17
- text-align: left;
18
- font-family: inherit;
19
- font-size: var(--ad-font-size-body-sm);
20
- font-weight: 600;
21
- line-height: 1.2;
22
- cursor: pointer;
23
- transition:
24
- background 0.14s,
25
- color 0.14s;
26
- }
27
- .ad-menu-item:hover:not(:disabled),
28
- .ad-menu-item:focus-visible {
29
- outline: 0;
30
- background: #ffffff10;
31
- color: #fff;
32
- }
33
- .ad-menu-item:active:not(:disabled) {
34
- background: #ffffff1a;
35
- }
36
- .ad-menu-item:disabled {
37
- opacity: 0.38;
38
- cursor: not-allowed;
39
- }
40
- .ad-menu-item-icon,
41
- .ad-menu-item-end {
42
- display: grid;
43
- place-items: center;
44
- color: var(--ad-neutral-400);
45
- }
46
- .ad-menu-item-icon > .ad-icon {
47
- --ad-icon-size: 1.15rem;
48
- }
49
- .ad-menu-item:hover:not(:disabled) .ad-menu-item-icon {
50
- color: var(--ad-pink);
51
- }
52
- .ad-menu-item-label {
53
- min-inline-size: 0;
54
- overflow: hidden;
55
- text-overflow: ellipsis;
56
- white-space: nowrap;
57
- }
58
- .ad-menu-item-end > .ad-icon {
59
- --ad-icon-size: 1rem;
60
- }
61
- .ad-menu-item[data-ad-tone="error"] {
62
- --ad-menu-item-tone: var(--ad-secondary);
63
- }
64
- .ad-menu-item[data-ad-tone="error"] .ad-menu-item-icon {
65
- color: var(--ad-secondary);
66
- }
67
- .ad-menu-item[data-ad-tone="error"]:hover:not(:disabled),
68
- .ad-menu-item[data-ad-tone="error"]:focus-visible {
69
- background: rgb(from var(--ad-primary) r g b / 0.13);
70
- color: var(--ad-secondary-200);
71
- }
1
+ /* Menu row: plain icon and label, a soft highlight on hover or keyboard focus. */
2
+ .ad-menu-item {
3
+ --ad-menu-item-tone: var(--ad-neutral-200);
4
+ appearance: none;
5
+ inline-size: 100%;
6
+ min-inline-size: 0;
7
+ min-block-size: 2.5rem;
8
+ display: grid;
9
+ grid-template-columns: auto minmax(0, 1fr) auto;
10
+ align-items: center;
11
+ gap: 0.7rem;
12
+ padding: 0.4rem 0.7rem;
13
+ border: 0;
14
+ border-radius: calc(var(--ad-radius) * 0.65);
15
+ background: transparent;
16
+ color: var(--ad-menu-item-tone);
17
+ text-align: left;
18
+ font-family: inherit;
19
+ font-size: var(--ad-font-size-body-sm);
20
+ font-weight: 600;
21
+ line-height: 1.2;
22
+ cursor: pointer;
23
+ transition:
24
+ background 0.14s,
25
+ color 0.14s;
26
+ }
27
+ .ad-menu-item:hover:not(:disabled),
28
+ .ad-menu-item:focus-visible {
29
+ outline: 0;
30
+ background: #ffffff10;
31
+ color: #fff;
32
+ }
33
+ .ad-menu-item:active:not(:disabled) {
34
+ background: #ffffff1a;
35
+ }
36
+ .ad-menu-item:disabled {
37
+ opacity: 0.38;
38
+ cursor: not-allowed;
39
+ }
40
+ .ad-menu-item-icon,
41
+ .ad-menu-item-end {
42
+ display: grid;
43
+ place-items: center;
44
+ color: var(--ad-neutral-400);
45
+ }
46
+ .ad-menu-item-icon > .ad-icon {
47
+ --ad-icon-size: 1.15rem;
48
+ }
49
+ .ad-menu-item:hover:not(:disabled) .ad-menu-item-icon {
50
+ color: var(--ad-pink);
51
+ }
52
+ .ad-menu-item-label {
53
+ min-inline-size: 0;
54
+ overflow: hidden;
55
+ text-overflow: ellipsis;
56
+ white-space: nowrap;
57
+ }
58
+ .ad-menu-item-end > .ad-icon {
59
+ --ad-icon-size: 1rem;
60
+ }
61
+ .ad-menu-item[data-ad-tone="error"] {
62
+ --ad-menu-item-tone: var(--ad-secondary);
63
+ }
64
+ .ad-menu-item[data-ad-tone="error"] .ad-menu-item-icon {
65
+ color: var(--ad-secondary);
66
+ }
67
+ .ad-menu-item[data-ad-tone="error"]:hover:not(:disabled),
68
+ .ad-menu-item[data-ad-tone="error"]:focus-visible {
69
+ background: rgb(from var(--ad-primary) r g b / 0.13);
70
+ color: var(--ad-secondary-200);
71
+ }
@@ -1,44 +1,44 @@
1
- /* Styles owned by Popover: unfolds from its anchor side, rows arrive in a quick cascade. */
2
- .ad-popover {
3
- min-width: min(14.6875rem, var(--ad-popover-available-width, calc(100vw - 1rem)));
4
- max-width: min(21.875rem, var(--ad-popover-available-width, calc(100vw - 1rem)));
5
- max-height: var(--ad-popover-available-height, calc(100dvh - 1rem));
6
- overflow: auto;
7
- overflow-wrap: anywhere;
8
- transform-origin: var(--ad-popover-anchor-x, 50%) top;
9
- animation: ad-popover-in 0.22s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
10
- }
11
- .ad-popover[data-ad-side="above"] {
12
- transform-origin: var(--ad-popover-anchor-x, 50%) bottom;
13
- }
14
- :is(.ad-option-list, .ad-menu) > :is(.ad-option, .ad-menu-item) {
15
- animation: ad-row-in 0.28s cubic-bezier(0.2, 0.8, 0.2, 1) both;
16
- }
17
- :is(.ad-option-list, .ad-menu) > :nth-child(2) {
18
- animation-delay: 0.03s;
19
- }
20
- :is(.ad-option-list, .ad-menu) > :nth-child(3) {
21
- animation-delay: 0.06s;
22
- }
23
- :is(.ad-option-list, .ad-menu) > :nth-child(4) {
24
- animation-delay: 0.09s;
25
- }
26
- :is(.ad-option-list, .ad-menu) > :nth-child(5) {
27
- animation-delay: 0.12s;
28
- }
29
- :is(.ad-option-list, .ad-menu) > :nth-child(n + 6) {
30
- animation-delay: 0.15s;
31
- }
32
- @keyframes ad-popover-in {
33
- from {
34
- opacity: 0;
35
- transform: translateY(-0.35rem) scale(0.96);
36
- filter: blur(0.25rem);
37
- }
38
- }
39
- @keyframes ad-row-in {
40
- from {
41
- opacity: 0;
42
- transform: translateX(-0.4rem);
43
- }
44
- }
1
+ /* Styles owned by Popover: unfolds from its anchor side, rows arrive in a quick cascade. */
2
+ .ad-popover {
3
+ min-width: min(14.6875rem, var(--ad-popover-available-width, calc(100vw - 1rem)));
4
+ max-width: min(21.875rem, var(--ad-popover-available-width, calc(100vw - 1rem)));
5
+ max-height: var(--ad-popover-available-height, calc(100dvh - 1rem));
6
+ overflow: auto;
7
+ overflow-wrap: anywhere;
8
+ transform-origin: var(--ad-popover-anchor-x, 50%) top;
9
+ animation: ad-popover-in 0.22s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
10
+ }
11
+ .ad-popover[data-ad-side="above"] {
12
+ transform-origin: var(--ad-popover-anchor-x, 50%) bottom;
13
+ }
14
+ :is(.ad-option-list, .ad-menu) > :is(.ad-option, .ad-menu-item) {
15
+ animation: ad-row-in 0.28s cubic-bezier(0.2, 0.8, 0.2, 1) both;
16
+ }
17
+ :is(.ad-option-list, .ad-menu) > :nth-child(2) {
18
+ animation-delay: 0.03s;
19
+ }
20
+ :is(.ad-option-list, .ad-menu) > :nth-child(3) {
21
+ animation-delay: 0.06s;
22
+ }
23
+ :is(.ad-option-list, .ad-menu) > :nth-child(4) {
24
+ animation-delay: 0.09s;
25
+ }
26
+ :is(.ad-option-list, .ad-menu) > :nth-child(5) {
27
+ animation-delay: 0.12s;
28
+ }
29
+ :is(.ad-option-list, .ad-menu) > :nth-child(n + 6) {
30
+ animation-delay: 0.15s;
31
+ }
32
+ @keyframes ad-popover-in {
33
+ from {
34
+ opacity: 0;
35
+ transform: translateY(-0.35rem) scale(0.96);
36
+ filter: blur(0.25rem);
37
+ }
38
+ }
39
+ @keyframes ad-row-in {
40
+ from {
41
+ opacity: 0;
42
+ transform: translateX(-0.4rem);
43
+ }
44
+ }