@ship-ui/core 0.19.5 → 0.22.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 (153) hide show
  1. package/README.md +3 -0
  2. package/assets/mcp/components.json +66 -4243
  3. package/bin/mcp/index.js +6027 -273
  4. package/bin/ship-fg-scanner +0 -0
  5. package/bin/ship-fg.mjs +14 -12
  6. package/bin/src/subset.ts +3 -1
  7. package/fesm2022/ship-ui-core-sh-form-field-experimental.mjs +42 -0
  8. package/fesm2022/ship-ui-core-sh-form-field-experimental.mjs.map +1 -0
  9. package/fesm2022/ship-ui-core-ship-accordion.mjs +127 -0
  10. package/fesm2022/ship-ui-core-ship-accordion.mjs.map +1 -0
  11. package/fesm2022/ship-ui-core-ship-alert.mjs +305 -0
  12. package/fesm2022/ship-ui-core-ship-alert.mjs.map +1 -0
  13. package/fesm2022/ship-ui-core-ship-blueprint.mjs +1156 -0
  14. package/fesm2022/ship-ui-core-ship-blueprint.mjs.map +1 -0
  15. package/fesm2022/ship-ui-core-ship-button-group.mjs +41 -0
  16. package/fesm2022/ship-ui-core-ship-button-group.mjs.map +1 -0
  17. package/fesm2022/ship-ui-core-ship-button.mjs +38 -0
  18. package/fesm2022/ship-ui-core-ship-button.mjs.map +1 -0
  19. package/fesm2022/ship-ui-core-ship-card.mjs +35 -0
  20. package/fesm2022/ship-ui-core-ship-card.mjs.map +1 -0
  21. package/fesm2022/ship-ui-core-ship-checkbox.mjs +113 -0
  22. package/fesm2022/ship-ui-core-ship-checkbox.mjs.map +1 -0
  23. package/fesm2022/ship-ui-core-ship-chip.mjs +44 -0
  24. package/fesm2022/ship-ui-core-ship-chip.mjs.map +1 -0
  25. package/fesm2022/ship-ui-core-ship-color-picker.mjs +947 -0
  26. package/fesm2022/ship-ui-core-ship-color-picker.mjs.map +1 -0
  27. package/fesm2022/ship-ui-core-ship-datepicker.mjs +951 -0
  28. package/fesm2022/ship-ui-core-ship-datepicker.mjs.map +1 -0
  29. package/fesm2022/ship-ui-core-ship-dialog.mjs +263 -0
  30. package/fesm2022/ship-ui-core-ship-dialog.mjs.map +1 -0
  31. package/fesm2022/ship-ui-core-ship-divider.mjs +22 -0
  32. package/fesm2022/ship-ui-core-ship-divider.mjs.map +1 -0
  33. package/fesm2022/ship-ui-core-ship-event-card.mjs +50 -0
  34. package/fesm2022/ship-ui-core-ship-event-card.mjs.map +1 -0
  35. package/fesm2022/ship-ui-core-ship-file-upload.mjs +112 -0
  36. package/fesm2022/ship-ui-core-ship-file-upload.mjs.map +1 -0
  37. package/fesm2022/ship-ui-core-ship-form-field.mjs +310 -0
  38. package/fesm2022/ship-ui-core-ship-form-field.mjs.map +1 -0
  39. package/fesm2022/ship-ui-core-ship-icon.mjs +81 -0
  40. package/fesm2022/ship-ui-core-ship-icon.mjs.map +1 -0
  41. package/fesm2022/ship-ui-core-ship-list.mjs +22 -0
  42. package/fesm2022/ship-ui-core-ship-list.mjs.map +1 -0
  43. package/fesm2022/ship-ui-core-ship-menu.mjs +545 -0
  44. package/fesm2022/ship-ui-core-ship-menu.mjs.map +1 -0
  45. package/fesm2022/ship-ui-core-ship-popover.mjs +286 -0
  46. package/fesm2022/ship-ui-core-ship-popover.mjs.map +1 -0
  47. package/fesm2022/ship-ui-core-ship-progress-bar.mjs +37 -0
  48. package/fesm2022/ship-ui-core-ship-progress-bar.mjs.map +1 -0
  49. package/fesm2022/ship-ui-core-ship-radio.mjs +102 -0
  50. package/fesm2022/ship-ui-core-ship-radio.mjs.map +1 -0
  51. package/fesm2022/ship-ui-core-ship-range-slider.mjs +277 -0
  52. package/fesm2022/ship-ui-core-ship-range-slider.mjs.map +1 -0
  53. package/fesm2022/ship-ui-core-ship-select.mjs +971 -0
  54. package/fesm2022/ship-ui-core-ship-select.mjs.map +1 -0
  55. package/fesm2022/ship-ui-core-ship-sidenav.mjs +248 -0
  56. package/fesm2022/ship-ui-core-ship-sidenav.mjs.map +1 -0
  57. package/fesm2022/ship-ui-core-ship-sortable.mjs +485 -0
  58. package/fesm2022/ship-ui-core-ship-sortable.mjs.map +1 -0
  59. package/fesm2022/ship-ui-core-ship-spinner.mjs +28 -0
  60. package/fesm2022/ship-ui-core-ship-spinner.mjs.map +1 -0
  61. package/fesm2022/ship-ui-core-ship-stepper.mjs +76 -0
  62. package/fesm2022/ship-ui-core-ship-stepper.mjs.map +1 -0
  63. package/fesm2022/ship-ui-core-ship-table-filter-bar.mjs +28 -0
  64. package/fesm2022/ship-ui-core-ship-table-filter-bar.mjs.map +1 -0
  65. package/fesm2022/ship-ui-core-ship-table.mjs +442 -0
  66. package/fesm2022/ship-ui-core-ship-table.mjs.map +1 -0
  67. package/fesm2022/ship-ui-core-ship-tabs.mjs +38 -0
  68. package/fesm2022/ship-ui-core-ship-tabs.mjs.map +1 -0
  69. package/fesm2022/ship-ui-core-ship-theme-toggle.mjs +119 -0
  70. package/fesm2022/ship-ui-core-ship-theme-toggle.mjs.map +1 -0
  71. package/fesm2022/ship-ui-core-ship-toggle-card.mjs +75 -0
  72. package/fesm2022/ship-ui-core-ship-toggle-card.mjs.map +1 -0
  73. package/fesm2022/ship-ui-core-ship-toggle.mjs +105 -0
  74. package/fesm2022/ship-ui-core-ship-toggle.mjs.map +1 -0
  75. package/fesm2022/ship-ui-core-ship-virtual-scroll.mjs +186 -0
  76. package/fesm2022/ship-ui-core-ship-virtual-scroll.mjs.map +1 -0
  77. package/fesm2022/ship-ui-core.mjs +880 -8782
  78. package/fesm2022/ship-ui-core.mjs.map +1 -1
  79. package/package.json +147 -3
  80. package/styles/core.scss +43 -0
  81. package/styles/helpers.scss +2 -0
  82. package/styles/index.scss +12 -123
  83. package/types/ship-ui-core-sh-form-field-experimental.d.ts +11 -0
  84. package/types/ship-ui-core-ship-accordion.d.ts +19 -0
  85. package/types/ship-ui-core-ship-alert.d.ts +68 -0
  86. package/types/ship-ui-core-ship-blueprint.d.ts +112 -0
  87. package/types/ship-ui-core-ship-button-group.d.ts +15 -0
  88. package/types/ship-ui-core-ship-button.d.ts +13 -0
  89. package/types/ship-ui-core-ship-card.d.ts +11 -0
  90. package/types/ship-ui-core-ship-checkbox.d.ts +22 -0
  91. package/types/ship-ui-core-ship-chip.d.ts +15 -0
  92. package/types/ship-ui-core-ship-color-picker.d.ts +105 -0
  93. package/types/ship-ui-core-ship-datepicker.d.ts +96 -0
  94. package/types/ship-ui-core-ship-dialog.d.ts +76 -0
  95. package/types/ship-ui-core-ship-divider.d.ts +8 -0
  96. package/types/ship-ui-core-ship-event-card.d.ts +11 -0
  97. package/types/ship-ui-core-ship-file-upload.d.ts +20 -0
  98. package/types/ship-ui-core-ship-form-field.d.ts +32 -0
  99. package/types/ship-ui-core-ship-icon.d.ts +18 -0
  100. package/types/ship-ui-core-ship-list.d.ts +8 -0
  101. package/types/ship-ui-core-ship-menu.d.ts +49 -0
  102. package/types/ship-ui-core-ship-popover.d.ts +40 -0
  103. package/types/ship-ui-core-ship-progress-bar.d.ts +14 -0
  104. package/types/ship-ui-core-ship-radio.d.ts +22 -0
  105. package/types/ship-ui-core-ship-range-slider.d.ts +31 -0
  106. package/types/ship-ui-core-ship-select.d.ts +81 -0
  107. package/types/ship-ui-core-ship-sidenav.d.ts +36 -0
  108. package/types/ship-ui-core-ship-sortable.d.ts +72 -0
  109. package/types/ship-ui-core-ship-spinner.d.ts +10 -0
  110. package/types/ship-ui-core-ship-stepper.d.ts +13 -0
  111. package/types/ship-ui-core-ship-table-filter-bar.d.ts +8 -0
  112. package/types/ship-ui-core-ship-table.d.ts +69 -0
  113. package/types/ship-ui-core-ship-tabs.d.ts +14 -0
  114. package/types/ship-ui-core-ship-theme-toggle.d.ts +28 -0
  115. package/types/ship-ui-core-ship-toggle-card.d.ts +15 -0
  116. package/types/ship-ui-core-ship-toggle.d.ts +21 -0
  117. package/types/ship-ui-core-ship-virtual-scroll.d.ts +22 -0
  118. package/types/ship-ui-core.d.ts +88 -1070
  119. package/styles/components/ship-accordion.scss +0 -113
  120. package/styles/components/ship-alert-container.scss +0 -49
  121. package/styles/components/ship-alert.scss +0 -177
  122. package/styles/components/ship-blueprint.scss +0 -242
  123. package/styles/components/ship-button-group.scss +0 -165
  124. package/styles/components/ship-button.scss +0 -141
  125. package/styles/components/ship-card.scss +0 -57
  126. package/styles/components/ship-checkbox.scss +0 -116
  127. package/styles/components/ship-chip.scss +0 -104
  128. package/styles/components/ship-color-picker.scss +0 -150
  129. package/styles/components/ship-datepicker.scss +0 -317
  130. package/styles/components/ship-dialog.scss +0 -152
  131. package/styles/components/ship-divider.scss +0 -27
  132. package/styles/components/ship-event-card.scss +0 -51
  133. package/styles/components/ship-file-upload.scss +0 -47
  134. package/styles/components/ship-form-field.scss +0 -408
  135. package/styles/components/ship-icon.scss +0 -54
  136. package/styles/components/ship-list.scss +0 -165
  137. package/styles/components/ship-menu.scss +0 -237
  138. package/styles/components/ship-popover.scss +0 -205
  139. package/styles/components/ship-progress-bar.scss +0 -173
  140. package/styles/components/ship-radio.scss +0 -113
  141. package/styles/components/ship-range-slider.scss +0 -421
  142. package/styles/components/ship-select.scss +0 -153
  143. package/styles/components/ship-sidenav.scss +0 -195
  144. package/styles/components/ship-sortable.scss +0 -45
  145. package/styles/components/ship-spinner.scss +0 -53
  146. package/styles/components/ship-stepper.scss +0 -158
  147. package/styles/components/ship-table.scss +0 -443
  148. package/styles/components/ship-tabs.scss +0 -125
  149. package/styles/components/ship-theme-toggle.scss +0 -41
  150. package/styles/components/ship-toggle-card.scss +0 -69
  151. package/styles/components/ship-toggle.scss +0 -255
  152. package/styles/components/ship-tooltip.scss +0 -151
  153. package/styles/components/ship-virtual-scroll.scss +0 -12
@@ -1,317 +0,0 @@
1
- @use '../helpers.scss' as *;
2
-
3
- $shipDatepicker: true !default;
4
-
5
- @if $shipDatepicker == true {
6
- sh-daterange-input,
7
- sh-datepicker-input {
8
- sh-form-field-popover {
9
- .input-wrap {
10
- .input {
11
- display: grid;
12
- grid-template-columns: 1fr auto auto;
13
- align-items: center;
14
-
15
- &.active-start input:first-of-type {
16
- color: var(--primary-8);
17
- }
18
- &.active-end input:last-of-type {
19
- color: var(--primary-8);
20
- }
21
- }
22
-
23
- [suffix] {
24
- margin-right: p2r(12);
25
- }
26
- }
27
-
28
- .masked-value {
29
- font: var(--paragraph-30B);
30
- color: var(--base-8);
31
- display: flex;
32
- gap: p2r(4);
33
-
34
- &.active-start .start-val {
35
- color: var(--primary-8);
36
- }
37
-
38
- &.active-end .end-val {
39
- color: var(--primary-8);
40
- }
41
-
42
- + input + input,
43
- + input {
44
- opacity: 0;
45
- height: 0;
46
- width: 0;
47
- margin: 0;
48
- }
49
- }
50
-
51
- [suffix] + [suffix].default-indicator {
52
- display: none;
53
- }
54
- }
55
-
56
- sh-datepicker {
57
- z-index: 10000;
58
- position: relative;
59
- --dp-width: #{p2r(240)};
60
- }
61
- }
62
-
63
- sh-daterange-input {
64
- sh-popover .popover-content {
65
- --dp-width: #{p2r(300)};
66
- min-width: var(--dp-width);
67
- }
68
-
69
- @for $i from 1 through 3 {
70
- sh-form-field-popover.columns-#{$i} {
71
- $gap: 1rem;
72
-
73
- sh-popover .popover-content {
74
- --dp-width: calc(#{p2r($i * 300)} + #{(($i - 1) * $gap)});
75
- }
76
- }
77
- }
78
- }
79
-
80
- sh-datepicker-input.sharp sh-datepicker,
81
- sh-daterange-input.sharp sh-datepicker,
82
- sh-datepicker.sharp {
83
- --dp-sel-s: var(--shape-1);
84
- --dp-ar: 1/0.8;
85
- --dp-day-g: #{p2r(8 0)};
86
- }
87
-
88
- sh-datepicker {
89
- --dp-sel-bg: var(--base-8);
90
- --dp-sel-bw: 0;
91
- --dp-sel-bc: transparent;
92
- --dp-sel-s: 50%;
93
- --dp-sel-c: #fff;
94
- --dp-day-c: var(--base-8);
95
- --dp-day-g: #{p2r(4 0)};
96
- --dp-day-f: var(--paragraph-20);
97
- --dp-width: #{p2r(300)};
98
- --dp-ar: 1/1;
99
-
100
- width: 100%;
101
- padding: p2r(8);
102
- max-width: var(--dp-width);
103
- display: flex;
104
- flex-direction: column;
105
-
106
- &.disabled {
107
- opacity: 0.5;
108
- pointer-events: none;
109
- user-select: none;
110
- cursor: initial;
111
- }
112
-
113
- @for $i from 1 through 12 {
114
- &.columns-#{$i} {
115
- $gap: 1rem;
116
-
117
- --dp-width: calc(#{p2r($i * 300)} + #{(($i - 1) * $gap)});
118
- }
119
- }
120
-
121
- &.as-range {
122
- section {
123
- .days > div,
124
- .days > button {
125
- &.sel {
126
- background: var(--dp-sel-bg);
127
- opacity: 0.5;
128
- border-radius: 0;
129
- }
130
-
131
- &.month-start,
132
- &.week-start,
133
- &.first {
134
- border-top-left-radius: var(--dp-sel-s);
135
- border-bottom-left-radius: var(--dp-sel-s);
136
- }
137
- &.month-end,
138
- &.week-end,
139
- &.last {
140
- border-top-right-radius: var(--dp-sel-s);
141
- border-bottom-right-radius: var(--dp-sel-s);
142
- }
143
-
144
- &.first,
145
- &.last {
146
- opacity: 1;
147
- }
148
- }
149
- }
150
-
151
- .month .days > div.out-of-scope,
152
- .month .days > button.out-of-scope {
153
- opacity: 0;
154
- pointer-events: none;
155
- }
156
- }
157
-
158
- header {
159
- display: flex;
160
- align-items: center;
161
- justify-content: space-between;
162
- padding: p2r(4 0);
163
- gap: p2r(0);
164
-
165
- .title {
166
- font: var(--paragraph-20);
167
- }
168
-
169
- button {
170
- appearance: none;
171
- background-color: transparent;
172
- border: 0;
173
- cursor: pointer;
174
- height: p2r(32);
175
- color: var(--base-8);
176
-
177
- &:focus {
178
- outline: none;
179
- }
180
- }
181
- }
182
-
183
- .months-container {
184
- display: grid;
185
- grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
186
- gap: 1rem;
187
- }
188
-
189
- .month {
190
- display: grid;
191
- grid-template-columns: repeat(7, 1fr);
192
- grid-template-rows: 1fr 6fr;
193
- gap: var(--dp-day-g);
194
- align-items: flex-start;
195
-
196
- .days,
197
- .weekdays {
198
- display: grid;
199
- grid-column: 1 / -1;
200
- gap: var(--dp-day-g);
201
- grid-template-columns: subgrid;
202
- position: relative;
203
-
204
- > .days {
205
- position: absolute;
206
- top: 0;
207
- left: 0;
208
- width: 100%;
209
- height: 100%;
210
- display: grid;
211
- grid-template-columns: repeat(7, 1fr);
212
- grid-template-rows: repeat(7, 1fr);
213
- gap: var(--dp-day-g);
214
- z-index: 0;
215
- }
216
-
217
- > div,
218
- > button {
219
- appearance: none;
220
- background: transparent;
221
- border: none;
222
- padding: 0;
223
- margin: 0;
224
- display: flex;
225
- align-items: center;
226
- justify-content: center;
227
- aspect-ratio: var(--dp-ar);
228
- cursor: pointer;
229
- position: relative;
230
- z-index: 1;
231
- color: var(--dp-day-c);
232
- font: var(--dp-day-f);
233
- user-select: none;
234
- border-radius: var(--dp-sel-s);
235
-
236
- &:focus-visible {
237
- outline: 2px solid var(--primary-10, #005fcc);
238
- outline-offset: -2px;
239
- }
240
-
241
- &.sel {
242
- color: var(--dp-sel-c);
243
- transition: color 75ms linear;
244
- }
245
-
246
- &.out-of-scope {
247
- opacity: 0.4;
248
- }
249
-
250
- &.sel-el {
251
- position: relative;
252
- top: 0;
253
- left: 0;
254
- transition:
255
- transform 75ms linear,
256
- opacity 75ms linear;
257
- background: var(--dp-sel-bg);
258
- border-radius: var(--dp-sel-s);
259
- border: var(--dp-sel-bw) solid var(--dp-sel-bc);
260
- opacity: 0;
261
- box-sizing: border-box;
262
- }
263
- }
264
- }
265
-
266
- .weekdays {
267
- > div {
268
- color: var(--base-12);
269
- }
270
- }
271
- }
272
-
273
- &.primary {
274
- --dp-sel-bg: var(--primary-8);
275
- }
276
-
277
- &.accent {
278
- --dp-sel-bg: var(--accent-8);
279
- }
280
-
281
- &.warn {
282
- --dp-sel-bg: var(--warn-8);
283
- }
284
-
285
- &.error {
286
- --dp-sel-bg: var(--error-8);
287
- }
288
-
289
- &.success {
290
- --dp-sel-bg: var(--success-8);
291
- }
292
-
293
- &.raised {
294
- --dp-sel-bg: var(--base-g2);
295
-
296
- &.primary {
297
- --dp-sel-bg: var(--primary-g2);
298
- }
299
-
300
- &.accent {
301
- --dp-sel-bg: var(--accent-g2);
302
- }
303
-
304
- &.warn {
305
- --dp-sel-bg: var(--warn-g2);
306
- }
307
-
308
- &.error {
309
- --dp-sel-bg: var(--error-g2);
310
- }
311
-
312
- &.success {
313
- --dp-sel-bg: var(--success-g2);
314
- }
315
- }
316
- }
317
- }
@@ -1,152 +0,0 @@
1
- @use '../helpers.scss' as *;
2
-
3
- $shipDialog: true !default;
4
-
5
- @if $shipDialog == true {
6
- dialog[shDialog] {
7
- --dialog-p: #{p2r(16)};
8
- --dialog-g: #{p2r(8)};
9
- --dialog-bg: var(--base-1);
10
- --dialog-s: var(--shape-2);
11
- --dialog-inner-s: var(--shape-2);
12
-
13
- border: var(--border-10);
14
- background: transparent;
15
- border-radius: var(--dialog-s);
16
- box-shadow: var(--box-shadow-40);
17
- color: var(--base-8);
18
- font: var(--paragraph-30);
19
- padding: 0;
20
- margin: auto;
21
- z-index: 0;
22
- display: flex;
23
- flex-direction: column;
24
-
25
- &:focus-visible {
26
- outline: none;
27
- }
28
-
29
- &.type-b {
30
- --dialog-s: #{p2r(26)};
31
- --dialog-inner-s: #{p2r(20)};
32
-
33
- background: var(--base-3);
34
- padding: p2r(8);
35
- outline: var(--border-10);
36
- outline-offset: -1px;
37
- overflow: hidden;
38
-
39
- &::backdrop {
40
- background: rgb(from var(--base-1) r g b / 30%);
41
- backdrop-filter: blur(10px);
42
- -webkit-backdrop-filter: blur(10px);
43
- }
44
-
45
- > .content {
46
- border: 1px solid rgb(from var(--base-4) r g b / 70%);
47
- }
48
- }
49
-
50
- > .content {
51
- position: relative;
52
- border-radius: var(--dialog-inner-s);
53
- background-color: var(--dialog-bg);
54
- z-index: 2;
55
- max-width: initial;
56
- overflow: auto;
57
- }
58
-
59
- .closeable-overlay {
60
- position: fixed;
61
- inset: 0;
62
- opacity: 0;
63
- z-index: 1;
64
- }
65
-
66
- &:focus {
67
- outline: none;
68
- }
69
-
70
- .dialog-content {
71
- position: relative;
72
- z-index: 2;
73
- }
74
-
75
- .dialog-backdrop {
76
- position: fixed;
77
- inset: 0;
78
- opacity: 0;
79
- z-index: 1;
80
- }
81
-
82
- [header],
83
- [content],
84
- [footer] {
85
- width: 100%;
86
- }
87
-
88
- [header] {
89
- display: grid;
90
- grid-template-areas:
91
- 'title actions'
92
- 'description actions';
93
- grid-template-columns: 1fr min-content;
94
- padding: var(--dialog-p);
95
- gap: var(--dialog-g);
96
-
97
- h1,
98
- h2,
99
- h3,
100
- h4,
101
- [title] {
102
- grid-area: title;
103
- font: var(--title-20);
104
- }
105
-
106
- p,
107
- [description] {
108
- grid-area: description;
109
- font: var(--paragraph-30);
110
- }
111
-
112
- button,
113
- [actions] {
114
- grid-area: actions;
115
- }
116
-
117
- &.sticky {
118
- background-color: var(--dialog-bg);
119
- border-bottom: var(--border-10);
120
- box-shadow: var(--box-shadow-35);
121
- position: sticky;
122
- top: 0;
123
- z-index: 100;
124
- }
125
- }
126
-
127
- [content] {
128
- padding: 0 var(--dialog-p);
129
-
130
- &:not(:has(~ [footer])) {
131
- padding-bottom: var(--dialog-p);
132
- }
133
- }
134
-
135
- [footer] {
136
- display: flex;
137
- align-items: center;
138
- justify-content: flex-end;
139
- padding: var(--dialog-p);
140
- gap: var(--dialog-g);
141
-
142
- &.sticky {
143
- background-color: var(--dialog-bg);
144
- border-top: var(--border-10);
145
- box-shadow: var(--box-shadow-35);
146
- position: sticky;
147
- bottom: 0;
148
- z-index: 100;
149
- }
150
- }
151
- }
152
- }
@@ -1,27 +0,0 @@
1
- @use '../helpers.scss' as *;
2
-
3
- $shipDivider: true !default;
4
-
5
- @if $shipDivider == true {
6
- sh-divider {
7
- --divider-c: var(--base-4);
8
- --divider-h: #{p2r(1)};
9
-
10
- display: flex;
11
- gap: p2r(8);
12
- align-items: center;
13
- text-align: center;
14
-
15
- &:empty {
16
- gap: 0;
17
- }
18
-
19
- &::before,
20
- &::after {
21
- content: '';
22
- background: var(--divider-c);
23
- height: var(--divider-h);
24
- flex: 1 0;
25
- }
26
- }
27
- }
@@ -1,51 +0,0 @@
1
- @use '../helpers.scss' as *;
2
-
3
- $shipEventCard: true !default;
4
-
5
- @if $shipEventCard == true {
6
- sh-event-card {
7
- display: flex;
8
- gap: p2r(8);
9
- width: 100%;
10
- padding: p2r(16);
11
-
12
- .content {
13
- display: flex;
14
- flex-direction: column;
15
- gap: p2r(4);
16
- flex: 1;
17
-
18
- > * {
19
- color: var(--sheet-c);
20
- }
21
-
22
- h1,
23
- h2,
24
- h3,
25
- h4,
26
- h5,
27
- h6 {
28
- font: var(--paragraph-20B);
29
- }
30
- }
31
-
32
- .actions [actions],
33
- .actions {
34
- display: flex;
35
- gap: p2r(8);
36
- align-items: center;
37
-
38
- [shButton] {
39
- --btn-bs: none;
40
- }
41
- }
42
-
43
- &:before {
44
- content: '';
45
- display: block;
46
- border-radius: p2r(3);
47
- width: p2r(6);
48
- background: var(--sheet-ic);
49
- }
50
- }
51
- }
@@ -1,47 +0,0 @@
1
- @use '../helpers.scss' as *;
2
-
3
- $shipFileUpload: true !default;
4
-
5
- @if $shipFileUpload == true {
6
- sh-file-upload {
7
- --fu-bg-active: rgba(0, 0, 0, 0.1);
8
- display: flex;
9
- flex-direction: column;
10
- gap: p2r(12);
11
- position: relative;
12
- width: 100%;
13
-
14
- sh-list {
15
- border-radius: var(--shape-3);
16
- background-color: var(--base-2);
17
- }
18
-
19
- .files-text,
20
- .placeholder {
21
- color: var(--base-8);
22
- font: var(--paragraph-30B);
23
- }
24
-
25
- input {
26
- position: absolute;
27
- opacity: 0;
28
- inset: 0;
29
- cursor: pointer;
30
- z-index: 100;
31
- }
32
-
33
- .bg-overlay {
34
- opacity: 0;
35
- position: absolute;
36
- inset: p2r(1);
37
- background-color: var(--fu-bg-active);
38
- transition: opacity 125ms linear;
39
- z-index: 0;
40
- border-radius: var(--ff-s);
41
-
42
- &.files-over {
43
- opacity: 1;
44
- }
45
- }
46
- }
47
- }