@basis-ng/styles 0.0.1-alpha.13 → 0.0.1-alpha.130

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 (70) hide show
  1. package/package.json +26 -36
  2. package/src/components/alert.css +58 -0
  3. package/src/components/badge.css +37 -0
  4. package/src/components/button-group.css +16 -0
  5. package/src/components/button.css +73 -0
  6. package/src/components/card.css +24 -0
  7. package/src/components/checkbox.css +66 -0
  8. package/src/components/command-options.css +17 -0
  9. package/src/components/command.css +20 -0
  10. package/src/components/dialog.css +41 -0
  11. package/src/components/drawer.css +21 -0
  12. package/src/components/input-group.css +92 -0
  13. package/src/components/input.css +49 -0
  14. package/src/components/{label.component.css → label.css} +70 -74
  15. package/src/components/menu.css +159 -0
  16. package/src/components/option.css +37 -0
  17. package/src/components/otp.css +72 -0
  18. package/src/components/popover.css +63 -0
  19. package/src/components/range.css +29 -0
  20. package/src/components/{row-item.component.css → row-item.css} +14 -14
  21. package/src/components/{row.component.css → row.css} +48 -56
  22. package/src/components/select-options.css +56 -0
  23. package/src/components/select.css +211 -0
  24. package/src/components/sheet.css +34 -0
  25. package/src/components/spinner.css +3 -0
  26. package/src/components/switch.css +48 -0
  27. package/src/components/tabs.css +52 -0
  28. package/src/components/textarea-group.css +65 -0
  29. package/src/components/textarea.css +39 -0
  30. package/src/components/tooltip.css +37 -0
  31. package/src/components/tree.css +50 -0
  32. package/src/index.css +80 -39
  33. package/src/utilities/general.css +7 -0
  34. package/src/utilities/index.css +2 -0
  35. package/src/utilities/sizes.css +7 -0
  36. package/src/components/alert.component.css +0 -71
  37. package/src/components/attached-box.component.css +0 -84
  38. package/src/components/badge.component.css +0 -58
  39. package/src/components/bottom-sheet.component.css +0 -49
  40. package/src/components/button-group.component.css +0 -20
  41. package/src/components/button.component.css +0 -165
  42. package/src/components/checkbox.component.css +0 -41
  43. package/src/components/color-picker.component.css +0 -34
  44. package/src/components/combobox-options.component.css +0 -41
  45. package/src/components/combobox.component.css +0 -10
  46. package/src/components/command-options.component.css +0 -33
  47. package/src/components/command.component.css +0 -45
  48. package/src/components/icon.component.css +0 -5
  49. package/src/components/input-group.component.css +0 -110
  50. package/src/components/input.component.css +0 -70
  51. package/src/components/menu-group.component.css +0 -18
  52. package/src/components/menu-item-checkbox.component.css +0 -32
  53. package/src/components/menu-item-radio.component.css +0 -32
  54. package/src/components/menu-item.component.css +0 -32
  55. package/src/components/menu-label.component.css +0 -4
  56. package/src/components/menu.component.css +0 -32
  57. package/src/components/option.component.css +0 -26
  58. package/src/components/range.component.css +0 -39
  59. package/src/components/select-options.component.css +0 -41
  60. package/src/components/select.component.css +0 -10
  61. package/src/components/side-sheet.component.css +0 -59
  62. package/src/components/spinner.component.css +0 -13
  63. package/src/components/switch.component.css +0 -68
  64. package/src/components/tab.component.css +0 -41
  65. package/src/components/table.component.css +0 -34
  66. package/src/components/tabs.component.css +0 -18
  67. package/src/components/textarea.component.css +0 -40
  68. package/src/components/tooltip.component.css +0 -45
  69. package/src/components/tree-node.component.css +0 -77
  70. package/src/components/tree.component.css +0 -7
@@ -1,40 +0,0 @@
1
- textarea[b-textarea] {
2
- --horizontal-padding: clamp(
3
- 1rem,
4
- calc(0.75rem + var(--radius, 0.5rem) / 2),
5
- 1.1rem
6
- );
7
-
8
- width: 100%;
9
- background-color: var(--background, #ffffff);
10
- border-radius: clamp(0rem, var(--radius, 0.5rem), 1.4rem);
11
- box-sizing: border-box;
12
- padding: 0.8rem var(--horizontal-padding);
13
- border: 1px solid var(--border-color, transparent);
14
- font-size: 1rem;
15
- color: var(--input-foreground, #798194);
16
- resize: vertical;
17
- transition:
18
- border-color 0.2s,
19
- background-color 0.2s;
20
-
21
- &:focus-visible {
22
- outline: 2px solid var(--primary, #0a0a0a);
23
- outline-offset: 2px;
24
- }
25
-
26
- &.invalid {
27
- color: var(--error-foreground, #c40000ab);
28
- background-color: var(--error, #fff0f0);
29
- border-color: var(--error-border-color, #c40000ab);
30
-
31
- &:focus-visible {
32
- outline-color: var(--error-foreground, #c40000ab);
33
- }
34
- }
35
-
36
- &.disabled {
37
- opacity: 0.5;
38
- pointer-events: none;
39
- }
40
- }
@@ -1,45 +0,0 @@
1
- b-tooltip {
2
- display: flex;
3
-
4
- .b-tooltip-content {
5
- padding: 0.5rem;
6
- border-radius: var(--border-radius, 0.5rem);
7
- white-space: nowrap;
8
-
9
- &.primary {
10
- background-color: var(--primary, #0a0a0a);
11
- color: var(--primary-foreground, #ffffff);
12
- border: var(--border-px, 0px) solid var(--primary-border-color, #0a0a0a);
13
- }
14
-
15
- &.secondary {
16
- background-color: color-mix(
17
- in srgb,
18
- var(--secondary-foreground, #0a0a0a) 5%,
19
- var(--secondary, transparent)
20
- );
21
- color: var(--secondary-foreground, #0a0a0a);
22
- }
23
-
24
- &.ghost {
25
- background-color: transparent;
26
- color: var(--secondary-foreground, #0a0a0a);
27
- }
28
-
29
- &.outlined {
30
- background-color: var(--background, #ffffff);
31
- border: 1px solid var(--border-color, #ececec);
32
- color: var(--secondary-foreground, #0a0a0a);
33
- }
34
-
35
- &.size-small {
36
- font-size: 0.75rem;
37
- padding: 0.2rem 0.6rem;
38
- }
39
-
40
- &.size-default {
41
- font-size: 0.875rem;
42
- padding: 0.25rem 0.8rem;
43
- }
44
- }
45
- }
@@ -1,77 +0,0 @@
1
- b-tree-node {
2
- display: flex;
3
- flex-direction: column;
4
- box-sizing: border-box;
5
-
6
- &.active {
7
- section {
8
- background-color: var(--input-background);
9
- }
10
- }
11
-
12
- section {
13
- padding-inline: 1rem;
14
- border-radius: var(--radius);
15
- display: flex;
16
- justify-content: space-between;
17
- align-items: center;
18
- min-height: 2.8rem;
19
- box-sizing: border-box;
20
- gap: 0.8rem;
21
- user-select: none;
22
-
23
- i {
24
- cursor: move;
25
- }
26
-
27
- &:hover {
28
- background-color: var(--input-background);
29
- }
30
-
31
- .projected-content {
32
- display: flex;
33
- align-items: center;
34
- flex: 1;
35
- gap: 0.8rem;
36
- padding: 0.6rem 0;
37
- cursor: pointer;
38
- }
39
- }
40
-
41
- b-tree {
42
- padding-left: 1rem;
43
- box-sizing: border-box;
44
- }
45
-
46
- &.cdk-drag-preview {
47
- height: inherit;
48
- width: inherit;
49
- overflow: hidden;
50
- box-shadow: none;
51
-
52
- & > section {
53
- padding-inline: 1rem;
54
- border-radius: var(--radius);
55
- display: flex;
56
- justify-content: space-between;
57
- align-items: center;
58
- min-height: 2.8rem;
59
- box-sizing: border-box;
60
- gap: 0.8rem;
61
- user-select: none;
62
-
63
- .projected-content {
64
- display: flex;
65
- align-items: center;
66
- flex: 1;
67
- gap: 0.8rem;
68
- padding: 0.6rem 0;
69
- cursor: pointer;
70
- }
71
- }
72
- }
73
-
74
- &.cdk-drag-placeholder {
75
- opacity: 0;
76
- }
77
- }
@@ -1,7 +0,0 @@
1
- b-tree {
2
- display: flex;
3
- flex-direction: column;
4
- width: 100%;
5
- min-height: 1rem;
6
- gap: 0.2rem;
7
- }