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