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