@design.estate/dees-catalog 3.49.1 → 3.49.2

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@design.estate/dees-catalog",
3
- "version": "3.49.1",
3
+ "version": "3.49.2",
4
4
  "private": false,
5
5
  "description": "A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript.",
6
6
  "main": "dist_ts_web/index.js",
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@design.estate/dees-catalog',
6
- version: '3.49.1',
6
+ version: '3.49.2',
7
7
  description: 'A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript.'
8
8
  }
@@ -9,7 +9,6 @@ import {
9
9
  } from '@design.estate/dees-element';
10
10
  import { DeesInputBase } from '../dees-input-base/dees-input-base.js';
11
11
  import '../../00group-utility/dees-icon/dees-icon.js';
12
- import '../../00group-button/dees-button/dees-button.js';
13
12
  import { demoFunc } from './dees-input-list.demo.js';
14
13
  import { themeDefaultStyles } from '../../00theme.js';
15
14
 
@@ -130,13 +129,13 @@ export class DeesInputList extends DeesInputBase<DeesInputList> {
130
129
  .list-item {
131
130
  display: flex;
132
131
  align-items: center;
133
- gap: 8px;
134
- padding: 12px 16px;
132
+ gap: 6px;
133
+ padding: 6px 10px;
135
134
  border-bottom: 1px solid ${cssManager.bdTheme('hsl(0 0% 89.8%)', 'hsl(0 0% 14.9%)')};
136
135
  background: ${cssManager.bdTheme('hsl(0 0% 100%)', 'hsl(0 0% 3.9%)')};
137
136
  transition: transform 0.2s ease, background 0.15s ease, box-shadow 0.15s ease;
138
137
  position: relative;
139
- overflow: hidden; /* Prevent animation from affecting scroll bounds */
138
+ overflow: hidden;
140
139
  }
141
140
 
142
141
  .list-item:last-of-type {
@@ -181,8 +180,8 @@ export class DeesInputList extends DeesInputBase<DeesInputList> {
181
180
  }
182
181
 
183
182
  .drag-handle dees-icon {
184
- width: 16px;
185
- height: 16px;
183
+ width: 14px;
184
+ height: 14px;
186
185
  }
187
186
 
188
187
  .item-content {
@@ -195,15 +194,15 @@ export class DeesInputList extends DeesInputBase<DeesInputList> {
195
194
  .item-text {
196
195
  flex: 1;
197
196
  color: ${cssManager.bdTheme('hsl(0 0% 9%)', 'hsl(0 0% 95%)')};
198
- font-size: 14px;
199
- line-height: 20px;
197
+ font-size: 13px;
198
+ line-height: 18px;
200
199
  word-break: break-word;
201
200
  }
202
201
 
203
202
  .item-edit-input {
204
203
  flex: 1;
205
- padding: 4px 8px;
206
- font-size: 14px;
204
+ padding: 3px 6px;
205
+ font-size: 13px;
207
206
  font-family: inherit;
208
207
  background: ${cssManager.bdTheme('hsl(0 0% 100%)', 'hsl(0 0% 9%)')};
209
208
  border: 1px solid ${cssManager.bdTheme('hsl(222.2 47.4% 51.2%)', 'hsl(217.2 91.2% 59.8%)')};
@@ -222,8 +221,8 @@ export class DeesInputList extends DeesInputBase<DeesInputList> {
222
221
  display: flex;
223
222
  align-items: center;
224
223
  justify-content: center;
225
- width: 28px;
226
- height: 28px;
224
+ width: 24px;
225
+ height: 24px;
227
226
  border-radius: 4px;
228
227
  background: transparent;
229
228
  border: none;
@@ -262,34 +261,29 @@ export class DeesInputList extends DeesInputBase<DeesInputList> {
262
261
  }
263
262
 
264
263
  .action-button dees-icon {
265
- width: 14px;
266
- height: 14px;
264
+ width: 13px;
265
+ height: 13px;
267
266
  }
268
267
 
269
268
  .add-item-container {
270
269
  display: flex;
271
- gap: 8px;
272
- padding: 12px 16px;
270
+ gap: 6px;
271
+ padding: 6px 10px;
273
272
  background: ${cssManager.bdTheme('hsl(0 0% 97.5%)', 'hsl(0 0% 6.9%)')};
274
273
  border-top: 1px solid ${cssManager.bdTheme('hsl(0 0% 89.8%)', 'hsl(0 0% 14.9%)')};
275
274
  }
276
275
 
277
276
  .add-input {
278
277
  flex: 1;
279
- padding: 8px 12px;
280
- font-size: 14px;
278
+ padding: 4px 8px;
279
+ font-size: 13px;
280
+ line-height: 18px;
281
281
  font-family: inherit;
282
- background: ${cssManager.bdTheme('hsl(0 0% 100%)', 'hsl(0 0% 9%)')};
283
- border: 1px solid ${cssManager.bdTheme('hsl(0 0% 89.8%)', 'hsl(0 0% 14.9%)')};
284
- border-radius: 4px;
282
+ background: transparent;
283
+ border: none;
285
284
  outline: none;
286
285
  color: ${cssManager.bdTheme('hsl(0 0% 9%)', 'hsl(0 0% 95%)')};
287
- transition: all 0.15s ease;
288
- }
289
-
290
- .add-input:focus {
291
- border-color: ${cssManager.bdTheme('hsl(222.2 47.4% 51.2%)', 'hsl(217.2 91.2% 59.8%)')};
292
- box-shadow: 0 0 0 3px ${cssManager.bdTheme('hsl(222.2 47.4% 51.2% / 0.1)', 'hsl(217.2 91.2% 59.8% / 0.1)')};
286
+ min-width: 0;
293
287
  }
294
288
 
295
289
  .add-input::placeholder {
@@ -302,29 +296,54 @@ export class DeesInputList extends DeesInputBase<DeesInputList> {
302
296
  }
303
297
 
304
298
  .add-button {
305
- padding: 8px 16px;
299
+ display: flex;
300
+ align-items: center;
301
+ justify-content: center;
302
+ width: 24px;
303
+ height: 24px;
304
+ border-radius: 4px;
305
+ background: transparent;
306
+ border: none;
307
+ cursor: pointer;
308
+ color: ${cssManager.bdTheme('hsl(0 0% 45.1%)', 'hsl(0 0% 63.9%)')};
309
+ transition: all 0.15s ease;
310
+ flex-shrink: 0;
311
+ }
312
+
313
+ .add-button:hover:not(:disabled) {
314
+ background: ${cssManager.bdTheme('hsl(0 0% 95.1%)', 'hsl(0 0% 14.9%)')};
315
+ color: ${cssManager.bdTheme('hsl(0 0% 9%)', 'hsl(0 0% 95%)')};
316
+ }
317
+
318
+ .add-button:disabled {
319
+ opacity: 0.3;
320
+ cursor: default;
321
+ }
322
+
323
+ .add-button dees-icon {
324
+ width: 14px;
325
+ height: 14px;
306
326
  }
307
327
 
308
328
  .empty-state {
309
- padding: 32px 16px;
329
+ padding: 16px 10px;
310
330
  text-align: center;
311
331
  color: ${cssManager.bdTheme('hsl(0 0% 63.9%)', 'hsl(0 0% 45.1%)')};
312
- font-size: 14px;
313
- font-style: italic;
332
+ font-size: 13px;
314
333
  }
315
334
 
316
335
  .validation-message {
317
336
  color: ${cssManager.bdTheme('hsl(0 72.2% 50.6%)', 'hsl(0 62.8% 30.6%)')};
318
- font-size: 13px;
319
- margin-top: 6px;
320
- line-height: 1.5;
337
+ font-size: 12px;
338
+ margin-top: 4px;
339
+ line-height: 1.4;
321
340
  }
322
341
 
323
342
  .description {
324
343
  color: ${cssManager.bdTheme('hsl(215.4 16.3% 56.9%)', 'hsl(215 20.2% 55.1%)')};
325
- font-size: 13px;
326
- margin-top: 6px;
327
- line-height: 1.5;
344
+ font-size: 12px;
345
+ margin-top: 4px;
346
+ line-height: 1.4;
328
347
  }
329
348
 
330
349
  /* Scrollbar styling */
@@ -429,13 +448,13 @@ export class DeesInputList extends DeesInputBase<DeesInputList> {
429
448
  @keydown=${this.handleAddKeyDown}
430
449
  ?disabled=${this.disabled}
431
450
  />
432
- <dees-button
451
+ <button
433
452
  class="add-button"
434
453
  @click=${this.addItem}
435
454
  ?disabled=${!this.inputValue.trim()}
436
455
  >
437
- <dees-icon .icon=${'lucide:plus'}></dees-icon> Add
438
- </dees-button>
456
+ <dees-icon .icon=${'lucide:plus'}></dees-icon>
457
+ </button>
439
458
  </div>
440
459
  ` : ''}
441
460
  </div>