@haiilo/catalyst 0.15.1 → 1.0.0

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 (128) hide show
  1. package/dist/catalyst/catalyst.css +2 -2
  2. package/dist/catalyst/catalyst.esm.js +1 -1
  3. package/dist/catalyst/catalyst.esm.js.map +1 -1
  4. package/dist/catalyst/index.esm.js +1 -1
  5. package/dist/catalyst/p-10b0d7a2.js +10 -0
  6. package/dist/catalyst/p-10b0d7a2.js.map +1 -0
  7. package/dist/catalyst/p-a7f4d284.entry.js +10 -0
  8. package/dist/catalyst/p-a7f4d284.entry.js.map +1 -0
  9. package/dist/catalyst/{p-a255bd64.js → p-f80e3399.js} +1 -1
  10. package/dist/catalyst/p-f80e3399.js.map +1 -0
  11. package/dist/catalyst/scss/_variables.scss +4 -13
  12. package/dist/catalyst/scss/core/_nav.scss +1 -1
  13. package/dist/catalyst/scss/core/_typography.scss +20 -11
  14. package/dist/catalyst/scss/index.scss +0 -52
  15. package/dist/cjs/{cat-alert_24.cjs.entry.js → cat-alert_23.cjs.entry.js} +313 -7945
  16. package/dist/cjs/cat-alert_23.cjs.entry.js.map +1 -0
  17. package/dist/cjs/{cat-notification-6a438ad1.js → cat-notification-bcb9fb86.js} +14 -12
  18. package/dist/cjs/cat-notification-bcb9fb86.js.map +1 -0
  19. package/dist/cjs/catalyst.cjs.js +2 -2
  20. package/dist/cjs/catalyst.cjs.js.map +1 -1
  21. package/dist/cjs/{index-c7955116.js → index-8ab22379.js} +1 -1
  22. package/dist/cjs/index-8ab22379.js.map +1 -0
  23. package/dist/cjs/index.cjs.js +1 -1
  24. package/dist/cjs/loader.cjs.js +2 -2
  25. package/dist/cjs/loader.cjs.js.map +1 -1
  26. package/dist/collection/collection-manifest.json +1 -2
  27. package/dist/collection/components/cat-alert/cat-alert.css +12 -13
  28. package/dist/collection/components/cat-badge/cat-badge.css +7 -9
  29. package/dist/collection/components/cat-card/cat-card.css +1 -1
  30. package/dist/collection/components/cat-checkbox/cat-checkbox.css +15 -1
  31. package/dist/collection/components/cat-input/cat-input.css +12 -1
  32. package/dist/collection/components/cat-radio/cat-radio.css +12 -1
  33. package/dist/collection/components/cat-select/cat-select.css +121 -552
  34. package/dist/collection/components/cat-select/cat-select.js +534 -343
  35. package/dist/collection/components/cat-select/cat-select.js.map +1 -1
  36. package/dist/collection/components/{cat-select-remote-test/cat-select-remote-test.js → cat-select-demo/cat-select-demo.js} +72 -8
  37. package/dist/collection/components/cat-select-demo/cat-select-demo.js.map +1 -0
  38. package/dist/collection/components/cat-tabs/cat-tabs.css +1 -1
  39. package/dist/collection/components/cat-textarea/cat-textarea.css +5 -1
  40. package/dist/collection/components/cat-toggle/cat-toggle.css +16 -1
  41. package/dist/collection/index.js.map +1 -1
  42. package/dist/collection/scss/_variables.scss +4 -13
  43. package/dist/collection/scss/core/_nav.scss +1 -1
  44. package/dist/collection/scss/core/_typography.scss +20 -11
  45. package/dist/collection/scss/index.scss +0 -52
  46. package/dist/components/cat-alert.js +1 -1
  47. package/dist/components/cat-alert.js.map +1 -1
  48. package/dist/components/cat-avatar.js +1 -118
  49. package/dist/components/cat-avatar.js.map +1 -1
  50. package/dist/components/cat-avatar2.js +122 -0
  51. package/dist/components/cat-avatar2.js.map +1 -0
  52. package/dist/components/cat-badge.js +1 -1
  53. package/dist/components/cat-badge.js.map +1 -1
  54. package/dist/components/cat-button2.js.map +1 -1
  55. package/dist/components/cat-card.js +1 -1
  56. package/dist/components/cat-card.js.map +1 -1
  57. package/dist/components/cat-checkbox2.js +1 -1
  58. package/dist/components/cat-checkbox2.js.map +1 -1
  59. package/dist/components/cat-input.js +1 -1
  60. package/dist/components/cat-input.js.map +1 -1
  61. package/dist/components/cat-modal.js.map +1 -1
  62. package/dist/components/cat-radio.js +1 -1
  63. package/dist/components/cat-radio.js.map +1 -1
  64. package/dist/components/cat-scrollable2.js.map +1 -1
  65. package/dist/components/{cat-select-remote.d.ts → cat-select-demo.d.ts} +4 -4
  66. package/dist/components/{cat-select-remote-test.js → cat-select-demo.js} +81 -13
  67. package/dist/components/cat-select-demo.js.map +1 -0
  68. package/dist/components/cat-select.js +1 -7864
  69. package/dist/components/cat-select.js.map +1 -1
  70. package/dist/components/{cat-select-remote2.js → cat-select2.js} +30 -18
  71. package/dist/components/cat-select2.js.map +1 -0
  72. package/dist/components/cat-tabs.js +1 -1
  73. package/dist/components/cat-tabs.js.map +1 -1
  74. package/dist/components/cat-textarea.js +1 -1
  75. package/dist/components/cat-textarea.js.map +1 -1
  76. package/dist/components/cat-toast-demo.js +13 -5
  77. package/dist/components/cat-toast-demo.js.map +1 -1
  78. package/dist/components/cat-toggle.js +1 -1
  79. package/dist/components/cat-toggle.js.map +1 -1
  80. package/dist/components/first-tabbable.js +110 -12
  81. package/dist/components/first-tabbable.js.map +1 -1
  82. package/dist/components/focus-trap.esm.js +27 -10
  83. package/dist/components/focus-trap.esm.js.map +1 -1
  84. package/dist/components/index.d.ts +1 -2
  85. package/dist/components/index.js +1 -2
  86. package/dist/components/index.js.map +1 -1
  87. package/dist/components/loglevel.js +1 -5
  88. package/dist/components/loglevel.js.map +1 -1
  89. package/dist/esm/cat-alert_23.entry.js +7508 -0
  90. package/dist/esm/cat-alert_23.entry.js.map +1 -0
  91. package/dist/esm/{cat-notification-5b6a2cd9.js → cat-notification-8bcf6fa2.js} +15 -11
  92. package/dist/esm/cat-notification-8bcf6fa2.js.map +1 -0
  93. package/dist/esm/catalyst.js +2 -2
  94. package/dist/esm/catalyst.js.map +1 -1
  95. package/dist/esm/{index-17d2bcf3.js → index-df195301.js} +1 -1
  96. package/dist/esm/index-df195301.js.map +1 -0
  97. package/dist/esm/index.js +1 -1
  98. package/dist/esm/loader.js +2 -2
  99. package/dist/esm/loader.js.map +1 -1
  100. package/dist/types/components/{cat-select-remote → cat-select}/autosize.d.ts +0 -0
  101. package/dist/types/components/cat-select/cat-select.d.ts +116 -58
  102. package/dist/types/components/cat-select-demo/cat-select-demo.d.ts +8 -0
  103. package/dist/types/components.d.ts +21 -139
  104. package/dist/types/index.d.ts +1 -4
  105. package/package.json +9 -10
  106. package/dist/catalyst/p-311d10a7.entry.js +0 -12
  107. package/dist/catalyst/p-311d10a7.entry.js.map +0 -1
  108. package/dist/catalyst/p-933b6a7a.js +0 -10
  109. package/dist/catalyst/p-933b6a7a.js.map +0 -1
  110. package/dist/catalyst/p-a255bd64.js.map +0 -1
  111. package/dist/cjs/cat-alert_24.cjs.entry.js.map +0 -1
  112. package/dist/cjs/cat-notification-6a438ad1.js.map +0 -1
  113. package/dist/cjs/index-c7955116.js.map +0 -1
  114. package/dist/collection/components/cat-select-remote/cat-select-remote.css +0 -209
  115. package/dist/collection/components/cat-select-remote/cat-select-remote.js +0 -798
  116. package/dist/collection/components/cat-select-remote/cat-select-remote.js.map +0 -1
  117. package/dist/collection/components/cat-select-remote-test/cat-select-remote-test.js.map +0 -1
  118. package/dist/components/cat-select-remote-test.d.ts +0 -11
  119. package/dist/components/cat-select-remote-test.js.map +0 -1
  120. package/dist/components/cat-select-remote.js +0 -8
  121. package/dist/components/cat-select-remote.js.map +0 -1
  122. package/dist/components/cat-select-remote2.js.map +0 -1
  123. package/dist/esm/cat-alert_24.entry.js +0 -15139
  124. package/dist/esm/cat-alert_24.entry.js.map +0 -1
  125. package/dist/esm/cat-notification-5b6a2cd9.js.map +0 -1
  126. package/dist/esm/index-17d2bcf3.js.map +0 -1
  127. package/dist/types/components/cat-select-remote/cat-select-remote.d.ts +0 -145
  128. package/dist/types/components/cat-select-remote-test/cat-select-remote-test.d.ts +0 -6
@@ -1,209 +0,0 @@
1
- /**
2
- * Auto-generated file. Do not edit directly.
3
- */
4
- /* stylelint-disable value-keyword-case */
5
- /* stylelint-enable value-keyword-case */
6
- .hint-section {
7
- display: flex;
8
- gap: 0.5rem;
9
- flex-direction: column;
10
- }
11
- .hint-section .input-hint,
12
- .hint-section ::slotted([slot=hint]) {
13
- font-size: 0.875rem;
14
- line-height: 1rem;
15
- font-weight: var(--cat-font-weight-body, 400);
16
- margin: 0;
17
- }
18
-
19
- :host {
20
- display: flex;
21
- flex-direction: column;
22
- gap: 0.5rem;
23
- position: relative;
24
- }
25
-
26
- :host([hidden]) {
27
- display: none;
28
- }
29
-
30
- label {
31
- align-self: flex-start;
32
- }
33
- label.hidden {
34
- position: absolute !important;
35
- width: 1px !important;
36
- height: 1px !important;
37
- padding: 0 !important;
38
- margin: -1px !important;
39
- overflow: hidden !important;
40
- clip: rect(0, 0, 0, 0) !important;
41
- white-space: nowrap !important;
42
- border: 0 !important;
43
- }
44
-
45
- .input-optional {
46
- margin-left: 0.25rem;
47
- font-size: 0.75rem;
48
- line-height: 1rem;
49
- font-weight: var(--cat-font-weight-body, 400);
50
- color: rgb(var(--cat-font-color-muted, 105, 118, 135));
51
- }
52
-
53
- .select-wrapper {
54
- display: flex;
55
- align-items: flex-start;
56
- background: white;
57
- border-radius: 0.25rem;
58
- box-shadow: 0 0 0 1px #d7dbe0;
59
- transition: box-shadow 0.13s linear;
60
- padding: 4px;
61
- }
62
- .select-wrapper:not(.select-disabled):hover {
63
- box-shadow: 0 0 0 2px #d7dbe0;
64
- }
65
- .select-wrapper:not(.select-disabled):focus-within {
66
- outline: 2px solid rgb(var(--cat-border-color-focus, 0, 113, 255));
67
- }
68
-
69
- .select-disabled {
70
- background: #f8f8fb;
71
- cursor: not-allowed;
72
- color: rgb(var(--cat-font-color-muted, 105, 118, 135));
73
- }
74
-
75
- .select-wrapper-inner {
76
- display: flex;
77
- flex: 1 1 auto;
78
- flex-wrap: wrap;
79
- align-items: center;
80
- gap: 4px;
81
- min-width: 0;
82
- }
83
-
84
- .select-input {
85
- font: inherit;
86
- background: none;
87
- border: none;
88
- outline: none;
89
- padding: 6px 8px;
90
- flex: 1 1 auto;
91
- /* stylelint-disable value-no-vendor-prefix, property-no-vendor-prefix */
92
- overflow: hidden;
93
- text-overflow: ellipsis;
94
- white-space: nowrap;
95
- /* stylelint-enable value-no-vendor-prefix, property-no-vendor-prefix */
96
- }
97
- .select-disabled .select-input {
98
- cursor: inherit;
99
- }
100
-
101
- .select-pills {
102
- display: contents;
103
- }
104
-
105
- .pill {
106
- display: inline-flex;
107
- align-items: center;
108
- gap: 4px;
109
- padding: 4px 8px;
110
- background: #ebecf0;
111
- border-radius: 0.125rem;
112
- white-space: nowrap;
113
- min-width: 0;
114
- }
115
- .pill > span {
116
- overflow: hidden;
117
- text-overflow: ellipsis;
118
- }
119
- .pill > cat-button {
120
- margin-right: -4px;
121
- }
122
-
123
- .select-btn {
124
- transition: transform 0.13s linear;
125
- }
126
- .select-btn::part(button) {
127
- outline: none;
128
- }
129
-
130
- cat-spinner {
131
- padding: 6px;
132
- }
133
-
134
- .select-btn-open {
135
- transform: rotate(180deg);
136
- }
137
-
138
- .select-dropdown {
139
- position: absolute;
140
- right: 0;
141
- background: white;
142
- display: none;
143
- overflow: auto;
144
- box-shadow: 0 1px 4px 0 rgba(16, 29, 48, 0.2);
145
- border-radius: 0.25rem;
146
- z-index: 100;
147
- }
148
-
149
- .select-options-wrapper {
150
- max-height: 16rem;
151
- width: 100%;
152
- }
153
-
154
- .select-empty {
155
- margin: 1rem 0;
156
- padding: 0 1.25rem;
157
- }
158
-
159
- .select-options {
160
- list-style-type: none;
161
- margin: 0;
162
- padding: 0.5rem 0;
163
- }
164
- .select-options cat-checkbox,
165
- .select-options .select-option-single {
166
- margin: 0;
167
- padding: 0.5rem 1rem;
168
- }
169
-
170
- .select-option-single {
171
- cursor: pointer;
172
- }
173
-
174
- .select-input-transparent-caret {
175
- caret-color: transparent;
176
- }
177
-
178
- .select-option-empty,
179
- .select-option-loading {
180
- padding: 0.5rem 1rem;
181
- }
182
-
183
- .select-option:hover {
184
- background-color: rgba(105, 118, 135, 0.05);
185
- }
186
-
187
- .select-option-active {
188
- outline: 2px solid rgb(var(--cat-border-color-focus, 0, 113, 255));
189
- outline-offset: -2px;
190
- }
191
-
192
- .select-option-label {
193
- /* stylelint-disable value-no-vendor-prefix, property-no-vendor-prefix */
194
- display: -webkit-box;
195
- -webkit-line-clamp: 2;
196
- -webkit-box-orient: vertical;
197
- overflow: hidden;
198
- /* stylelint-enable value-no-vendor-prefix, property-no-vendor-prefix */
199
- }
200
-
201
- .select-option-description {
202
- /* stylelint-disable value-no-vendor-prefix, property-no-vendor-prefix */
203
- display: -webkit-box;
204
- -webkit-line-clamp: 2;
205
- -webkit-box-orient: vertical;
206
- overflow: hidden;
207
- /* stylelint-enable value-no-vendor-prefix, property-no-vendor-prefix */
208
- color: rgb(var(--cat-font-color-muted, 105, 118, 135));
209
- }