@ship-ui/core 0.18.5 → 0.18.10

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.
@@ -32,7 +32,7 @@ $shipSortable: true !default;
32
32
  &.active {
33
33
  z-index: 1;
34
34
  background-color: var(--base-6);
35
- border: 1px solid var(--base-8);
35
+ border: var(--border-20);
36
36
  opacity: 0.5;
37
37
  }
38
38
  }
@@ -162,7 +162,7 @@ $shipTable: true !default;
162
162
  grid-auto-flow: column;
163
163
  grid-auto-columns: max-content;
164
164
  padding: p2r(8);
165
- border: 1px solid var(--base-4);
165
+ border: var(--border-10);
166
166
  border-width: p2r(1 0);
167
167
  opacity: 1;
168
168
 
@@ -14,7 +14,7 @@ $shipTabs: true !default;
14
14
 
15
15
  display: flex;
16
16
  gap: p2r(16);
17
- border-bottom: 1px solid var(--base-4);
17
+ border-bottom: var(--border-10);
18
18
  position: relative;
19
19
 
20
20
  button,
@@ -11,7 +11,7 @@ $shipToggleCard: true !default;
11
11
 
12
12
  &.type-a {
13
13
  background-color: transparent;
14
- border: 1px solid var(--base-4);
14
+ border: var(--border-10);
15
15
  }
16
16
 
17
17
  &.active {
@@ -32,25 +32,25 @@ $useApexcharts: true !default;
32
32
  .apexcharts-menu {
33
33
  background-color: var(--base-1);
34
34
  color: var(--base-12);
35
- border: 1px solid var(--base-4);
35
+ border: var(--border-10);
36
36
  }
37
37
 
38
38
  .apexcharts-tooltip.apexcharts-theme-light {
39
39
  background-color: var(--base-1);
40
- border: 1px solid var(--base-4);
40
+ border: var(--border-10);
41
41
  box-shadow: var(--base-2);
42
42
  color: var(--base-8);
43
43
 
44
44
  .apexcharts-tooltip-title {
45
45
  background-color: var(--base-2);
46
- border-bottom: 1px solid var(--base-4);
46
+ border-bottom: var(--border-10);
47
47
  }
48
48
  }
49
49
 
50
50
  .apexcharts-xaxistooltip,
51
51
  .apexcharts-yaxistooltip {
52
52
  background-color: var(--base-1);
53
- border: 1px solid var(--base-4);
53
+ border: var(--border-10);
54
54
  box-shadow: var(--base-2);
55
55
  color: var(--base-8);
56
56
  }
@@ -15,6 +15,8 @@
15
15
  :root {
16
16
  --font-size: 16px;
17
17
  font-size: var(--font-size);
18
+ --border-width: 1px;
19
+ --shape-scale: 1;
18
20
  }
19
21
 
20
22
  html {
@@ -30,35 +32,38 @@ html {
30
32
  }
31
33
 
32
34
  html body {
33
- --primary-1: light-dark(oklch(0.95 0.02 260), oklch(0.17 0.05 260));
34
- --primary-2: light-dark(oklch(0.9 0.04 260), oklch(0.25 0.09 260));
35
- --primary-3: light-dark(oklch(0.86 0.07 260), oklch(0.32 0.12 260));
36
- --primary-4: light-dark(oklch(0.81 0.09 260), oklch(0.38 0.15 260));
37
- --primary-5: light-dark(oklch(0.76 0.11 260), oklch(0.45 0.18 260));
38
- --primary-6: light-dark(oklch(0.71 0.14 260), oklch(0.51 0.21 260));
39
- --primary-7: light-dark(oklch(0.67 0.16 260), oklch(0.57 0.22 260));
40
- --primary-8: light-dark(oklch(0.63 0.19 260), oklch(0.63 0.19 260));
41
- --primary-9: light-dark(oklch(0.52 0.21 260), oklch(0.71 0.14 260));
42
- --primary-10: light-dark(oklch(0.41 0.16 260), oklch(0.81 0.09 260));
43
- --primary-11: light-dark(oklch(0.29 0.11 260), oklch(0.9 0.04 260));
44
- --primary-12: light-dark(oklch(0.15 0.04 260), oklch(0.95 0.02 260));
45
- --primary-g2: linear-gradient(180deg, oklch(0.71 0.14 260) 0%, oklch(0.63 0.19 260) 50%);
46
- --primary-g3: linear-gradient(180deg, oklch(0.81 0.09 260.01) 0%, oklch(0.63 0.19 260) 50%);
47
-
48
- // --primary-1: light-dark(hsl(217, 91%, 95%), hsl(217, 91%, 9.5%));
49
- // --primary-2: light-dark(hsl(217, 91%, 90%), hsl(217, 91%, 15%));
50
- // --primary-3: light-dark(hsl(217, 91%, 85%), hsl(217, 91%, 22.5%));
51
- // --primary-4: light-dark(hsl(217, 91%, 80%), hsl(217, 91%, 30%));
52
- // --primary-5: light-dark(hsl(217, 91%, 75%), hsl(217, 91%, 37.5%));
53
- // --primary-6: light-dark(hsl(217, 91%, 70%), hsl(217, 91%, 45%));
54
- // --primary-7: light-dark(hsl(217, 91%, 65%), hsl(217, 91%, 52.5%));
55
- // --primary-8: light-dark(hsl(217, 91%, 60%), hsl(217, 91%, 60%));
56
- // --primary-9: light-dark(hsl(217, 91%, 46.5%), hsl(217, 91%, 70%));
57
- // --primary-10: light-dark(hsl(217, 91%, 33%), hsl(217, 91%, 80%));
58
- // --primary-11: light-dark(hsl(217, 91%, 19.5%), hsl(217, 91%, 90%));
59
- // --primary-12: light-dark(hsl(217, 91%, 6%), hsl(217, 91%, 100%));
60
- // --primary-g2: linear-gradient(180deg, hsl(217, 91%, 70%) 0%, hsl(217, 91%, 60%) 50%);
61
- // --primary-g3: linear-gradient(180deg, hsl(217, 91%, 80%) 0%, hsl(217, 91%, 60%) 50%);
35
+ --border-10: var(--border-width) solid var(--base-4);
36
+ --border-20: var(--border-width) solid var(--base-8);
37
+
38
+ // --primary-1: light-dark(oklch(0.95 0.02 260), oklch(0.17 0.05 260));
39
+ // --primary-2: light-dark(oklch(0.9 0.04 260), oklch(0.25 0.09 260));
40
+ // --primary-3: light-dark(oklch(0.86 0.07 260), oklch(0.32 0.12 260));
41
+ // --primary-4: light-dark(oklch(0.81 0.09 260), oklch(0.38 0.15 260));
42
+ // --primary-5: light-dark(oklch(0.76 0.11 260), oklch(0.45 0.18 260));
43
+ // --primary-6: light-dark(oklch(0.71 0.14 260), oklch(0.51 0.21 260));
44
+ // --primary-7: light-dark(oklch(0.67 0.16 260), oklch(0.57 0.22 260));
45
+ // --primary-8: light-dark(oklch(0.63 0.19 260), oklch(0.63 0.19 260));
46
+ // --primary-9: light-dark(oklch(0.52 0.21 260), oklch(0.71 0.14 260));
47
+ // --primary-10: light-dark(oklch(0.41 0.16 260), oklch(0.81 0.09 260));
48
+ // --primary-11: light-dark(oklch(0.29 0.11 260), oklch(0.9 0.04 260));
49
+ // --primary-12: light-dark(oklch(0.15 0.04 260), oklch(0.95 0.02 260));
50
+ // --primary-g2: linear-gradient(180deg, oklch(0.71 0.14 260) 0%, oklch(0.63 0.19 260) 50%);
51
+ // --primary-g3: linear-gradient(180deg, oklch(0.81 0.09 260.01) 0%, oklch(0.63 0.19 260) 50%);
52
+
53
+ --primary-1: light-dark(hsl(217, 91%, 95%), hsl(217, 91%, 9.5%));
54
+ --primary-2: light-dark(hsl(217, 91%, 90%), hsl(217, 91%, 15%));
55
+ --primary-3: light-dark(hsl(217, 91%, 85%), hsl(217, 91%, 22.5%));
56
+ --primary-4: light-dark(hsl(217, 91%, 80%), hsl(217, 91%, 30%));
57
+ --primary-5: light-dark(hsl(217, 91%, 75%), hsl(217, 91%, 37.5%));
58
+ --primary-6: light-dark(hsl(217, 91%, 70%), hsl(217, 91%, 45%));
59
+ --primary-7: light-dark(hsl(217, 91%, 65%), hsl(217, 91%, 52.5%));
60
+ --primary-8: light-dark(hsl(217, 91%, 60%), hsl(217, 91%, 60%));
61
+ --primary-9: light-dark(hsl(217, 91%, 46.5%), hsl(217, 91%, 70%));
62
+ --primary-10: light-dark(hsl(217, 91%, 33%), hsl(217, 91%, 80%));
63
+ --primary-11: light-dark(hsl(217, 91%, 19.5%), hsl(217, 91%, 90%));
64
+ --primary-12: light-dark(hsl(217, 91%, 6%), hsl(217, 91%, 100%));
65
+ --primary-g2: linear-gradient(180deg, hsl(217, 91%, 70%) 0%, hsl(217, 91%, 60%) 50%);
66
+ --primary-g3: linear-gradient(180deg, hsl(217, 91%, 80%) 0%, hsl(217, 91%, 60%) 50%);
62
67
 
63
68
  --accent-1: light-dark(hsl(258, 90%, 95.75%), hsl(258, 90%, 9.25%));
64
69
  --accent-2: light-dark(hsl(258, 90%, 91.5%), hsl(258, 90%, 16.5%));
@@ -173,11 +178,11 @@ html body {
173
178
  --code-20: 500 #{p2r(14)} / normal monospace;
174
179
  --code-30: 500 #{p2r(12)} / normal monospace;
175
180
 
176
- --shape-1: #{p2r(4)};
177
- --shape-2: #{p2r(8)};
178
- --shape-3: #{p2r(12)};
179
- --shape-4: #{p2r(16)};
180
- --shape-5: #{p2r(20)};
181
+ --shape-1: calc(#{p2r(4)} * var(--shape-scale));
182
+ --shape-2: calc(#{p2r(8)} * var(--shape-scale));
183
+ --shape-3: calc(#{p2r(12)} * var(--shape-scale));
184
+ --shape-4: calc(#{p2r(16)} * var(--shape-scale));
185
+ --shape-5: calc(#{p2r(20)} * var(--shape-scale));
181
186
 
182
187
  --box-shadow-10: 0 1px 2px 0 rgba(18, 18, 23, 0.07);
183
188
  --box-shadow-20: 0 1px 3px 0 rgba(18, 18, 23, 0.1);
@@ -3,7 +3,7 @@ import { ElementRef, QueryList, TemplateRef, OutputEmitterRef, InputSignal, Comp
3
3
  import { NgModel } from '@angular/forms';
4
4
 
5
5
  type ShipColor = 'primary' | 'accent' | 'warn' | 'error' | 'success' | (string & {});
6
- type ShipSize = 'small' | (string & {});
6
+ type ShipSize = 'small' | 'xsmall' | (string & {});
7
7
  type ShipButtonSize = 'small' | 'xsmall' | (string & {});
8
8
  type ShipIconSize = 'small' | 'large' | (string & {});
9
9
  type ShipSheetVariant = 'simple' | 'outlined' | 'flat' | 'raised' | (string & {});
@@ -11,6 +11,7 @@ type ShipTypeVariant = 'type-a' | 'type-b' | 'type-c' | 'type-d' | (string & {})
11
11
  type ShipTableVariant = 'type-a' | 'type-b' | (string & {});
12
12
  type ShipCardVariant = 'type-a' | 'type-b' | 'type-c' | (string & {});
13
13
  type ShipButtonGroupVariant = 'type-a' | 'type-b' | (string & {});
14
+ type ShipFormFieldVariant = 'base' | 'horizontal' | (string & {});
14
15
  type ShipVariant = ShipSheetVariant | ShipTypeVariant;
15
16
 
16
17
  type ShipAlertItem = {
@@ -147,6 +148,21 @@ declare class ShipDialogService {
147
148
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<ShipDialogService>;
148
149
  }
149
150
 
151
+ declare class ShipAccordion {
152
+ private selfElement;
153
+ readonly name: _angular_core.InputSignal<string>;
154
+ readonly value: _angular_core.ModelSignal<string | null>;
155
+ readonly allowMultiple: _angular_core.InputSignal<boolean>;
156
+ readonly variant: _angular_core.InputSignal<ShipVariant | null>;
157
+ readonly size: _angular_core.InputSignal<string | null>;
158
+ hostClasses: _angular_core.Signal<string>;
159
+ protected items: _angular_core.Signal<HTMLDetailsElement[]>;
160
+ constructor();
161
+ onToggle(event: Event): void;
162
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ShipAccordion, never>;
163
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ShipAccordion, "sh-accordion", never, { "name": { "alias": "name"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "allowMultiple": { "alias": "allowMultiple"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, ["*"], true, never>;
164
+ }
165
+
150
166
  type Port = {
151
167
  id: string;
152
168
  name: string;
@@ -320,22 +336,27 @@ declare class ShipChip {
320
336
  type R = number;
321
337
  type G = number;
322
338
  type B = number;
339
+ type A = number;
323
340
  declare class ShipColorPicker {
324
341
  #private;
325
342
  readonly canvasRef: _angular_core.Signal<ElementRef<HTMLCanvasElement>>;
326
- private canvasData;
327
343
  showDarkColors: _angular_core.InputSignal<boolean>;
328
- renderingType: _angular_core.InputSignal<"hsl" | "grid" | "hue" | "rgb" | "saturation">;
344
+ renderingType: _angular_core.InputSignal<"hsl" | "grid" | "hue" | "rgb" | "saturation" | "alpha">;
329
345
  gridSize: _angular_core.InputSignal<number>;
330
- hue: _angular_core.InputSignal<number>;
346
+ hue: _angular_core.ModelSignal<number>;
331
347
  direction: _angular_core.InputSignal<"horizontal" | "vertical">;
332
- selectedColor: _angular_core.ModelSignal<[number, number, number]>;
348
+ selectedColor: _angular_core.ModelSignal<[number, number, number, (number | undefined)?]>;
349
+ alpha: _angular_core.ModelSignal<number>;
333
350
  currentColor: _angular_core.OutputEmitterRef<{
334
351
  rgb: string;
352
+ rgba: string;
335
353
  hex: string;
354
+ hex8: string;
336
355
  hsl: string;
356
+ hsla: string;
337
357
  hue: number;
338
358
  saturation: number;
359
+ alpha: number;
339
360
  }>;
340
361
  centerLightness: _angular_core.Signal<200 | 100>;
341
362
  isDragging: _angular_core.WritableSignal<boolean>;
@@ -351,27 +372,66 @@ declare class ShipColorPicker {
351
372
  selectedColorRgb: _angular_core.Signal<string>;
352
373
  selectedColorHex: _angular_core.Signal<string>;
353
374
  selectedColorHsl: _angular_core.Signal<string>;
375
+ alphaEffect: _angular_core.EffectRef;
376
+ _prevColorStr: string;
354
377
  selectedColorEffect: _angular_core.EffectRef;
378
+ private alphaColorRedrawEffect;
355
379
  onResize(): void;
380
+ private previousLayoutHash;
381
+ private previousHue;
382
+ private getLayoutHash;
356
383
  private renderingTypeEffect;
357
- initColor: [R, G, B] | null;
384
+ initColor: [R, G, B, A?] | null;
358
385
  ngAfterViewInit(): void;
386
+ ngOnDestroy(): void;
359
387
  private updateMarkerFromColor;
360
388
  private findPositionByColor;
361
389
  private adjustMarkerPosition;
362
390
  private initCanvasEvents;
363
391
  private setCanvasSize;
392
+ private getColorAtPosition;
364
393
  private updateColorAndMarker;
365
394
  private drawColorPicker;
395
+ private drawAlpha;
366
396
  private drawRgb;
367
397
  private drawSaturation;
368
398
  private drawHue;
369
399
  private drawColorWheel;
370
400
  private drawGrid;
401
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ShipColorPicker, never>;
402
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ShipColorPicker, "sh-color-picker", never, { "showDarkColors": { "alias": "showDarkColors"; "required": false; "isSignal": true; }; "renderingType": { "alias": "renderingType"; "required": false; "isSignal": true; }; "gridSize": { "alias": "gridSize"; "required": false; "isSignal": true; }; "hue": { "alias": "hue"; "required": false; "isSignal": true; }; "direction": { "alias": "direction"; "required": false; "isSignal": true; }; "selectedColor": { "alias": "selectedColor"; "required": false; "isSignal": true; }; "alpha": { "alias": "alpha"; "required": false; "isSignal": true; }; }, { "hue": "hueChange"; "selectedColor": "selectedColorChange"; "alpha": "alphaChange"; "currentColor": "currentColor"; }, never, never, true, never>;
403
+ }
404
+
405
+ declare class ShipColorPickerInput {
406
+ #private;
407
+ renderingType: _angular_core.InputSignal<"hsl" | "grid" | "hue" | "rgb" | "saturation" | "alpha">;
408
+ format: _angular_core.InputSignal<"hsl" | "rgb" | "rgba" | "hex" | "hex8" | "hsla">;
409
+ color: _angular_core.InputSignal<ShipColor | null>;
410
+ variant: _angular_core.InputSignal<ShipFormFieldVariant | null>;
411
+ size: _angular_core.InputSignal<ShipSize | null>;
412
+ readonly: _angular_core.InputSignal<boolean>;
413
+ closed: _angular_core.OutputEmitterRef<string>;
414
+ isOpen: _angular_core.ModelSignal<boolean>;
415
+ currentClass: _angular_core.Signal<string>;
416
+ isEyeDropperSupported: boolean;
417
+ showEyeDropper: _angular_core.InputSignal<boolean>;
418
+ internalHue: _angular_core.WritableSignal<number>;
419
+ internalAlpha: _angular_core.WritableSignal<number>;
420
+ internalColorTuple: _angular_core.WritableSignal<[number, number, number, (number | undefined)?]>;
421
+ hasAlpha: _angular_core.Signal<boolean>;
422
+ formattedColorString: _angular_core.Signal<string>;
423
+ pureHueColor: _angular_core.Signal<[number, number, number]>;
424
+ onMainColorChange(colorObj: any): void;
425
+ onHuePickerChange(colorObj: any): void;
426
+ openEyeDropper(event: MouseEvent): Promise<void>;
427
+ close(): void;
428
+ private parseAndSetColor;
429
+ private hslToRgbExact;
371
430
  private rgbToHex;
431
+ private rgbaToHex8;
372
432
  private rgbToHsl;
373
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<ShipColorPicker, never>;
374
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ShipColorPicker, "sh-color-picker", never, { "showDarkColors": { "alias": "showDarkColors"; "required": false; "isSignal": true; }; "renderingType": { "alias": "renderingType"; "required": false; "isSignal": true; }; "gridSize": { "alias": "gridSize"; "required": false; "isSignal": true; }; "hue": { "alias": "hue"; "required": false; "isSignal": true; }; "direction": { "alias": "direction"; "required": false; "isSignal": true; }; "selectedColor": { "alias": "selectedColor"; "required": false; "isSignal": true; }; }, { "selectedColor": "selectedColorChange"; "currentColor": "currentColor"; }, never, never, true, never>;
433
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ShipColorPickerInput, never>;
434
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ShipColorPickerInput, "sh-color-picker-input", never, { "renderingType": { "alias": "renderingType"; "required": false; "isSignal": true; }; "format": { "alias": "format"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "isOpen": { "alias": "isOpen"; "required": false; "isSignal": true; }; "showEyeDropper": { "alias": "showEyeDropper"; "required": false; "isSignal": true; }; }, { "closed": "closed"; "isOpen": "isOpenChange"; }, never, ["label", "[prefix]", "[textPrefix]", "input", "[textSuffix]", "[suffix]"], true, never>;
375
435
  }
376
436
 
377
437
  declare class ShipDatepicker {
@@ -483,7 +543,7 @@ declare class ShipFileUpload {
483
543
  declare class ShipFormField {
484
544
  #private;
485
545
  color: _angular_core.InputSignal<ShipColor | null>;
486
- variant: _angular_core.InputSignal<ShipSheetVariant | null>;
546
+ variant: _angular_core.InputSignal<ShipFormFieldVariant | null>;
487
547
  size: _angular_core.InputSignal<ShipSize | null>;
488
548
  readonly: _angular_core.InputSignal<boolean>;
489
549
  hostClasses: _angular_core.Signal<string>;
@@ -493,21 +553,6 @@ declare class ShipFormField {
493
553
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<ShipFormField, "sh-form-field", never, { "color": { "alias": "color"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; }, {}, never, ["label", "[boxPrefix]", "[prefix]", "[textPrefix]", "input", "textarea", "[textSuffix]", "[suffix]", "[boxSuffix]", "[error]", "[hint]"], true, never>;
494
554
  }
495
555
 
496
- declare class ShipAccordion {
497
- private selfElement;
498
- readonly name: _angular_core.InputSignal<string>;
499
- readonly value: _angular_core.ModelSignal<string | null>;
500
- readonly allowMultiple: _angular_core.InputSignal<boolean>;
501
- readonly variant: _angular_core.InputSignal<"outlined" | "flat" | "base" | null>;
502
- readonly size: _angular_core.InputSignal<string | null>;
503
- hostClasses: _angular_core.Signal<string>;
504
- protected items: _angular_core.Signal<HTMLDetailsElement[]>;
505
- constructor();
506
- onToggle(event: Event): void;
507
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<ShipAccordion, never>;
508
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ShipAccordion, "sh-accordion", never, { "name": { "alias": "name"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "allowMultiple": { "alias": "allowMultiple"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, ["*"], true, never>;
509
- }
510
-
511
556
  declare class ShipIcon implements AfterContentInit {
512
557
  #private;
513
558
  color: _angular_core.InputSignal<ShipColor | null>;
@@ -637,6 +682,12 @@ declare class ShipRangeSlider {
637
682
  max: number;
638
683
  step: number;
639
684
  }>;
685
+ readonly color: _angular_core.InputSignal<ShipColor | null>;
686
+ readonly variant: _angular_core.InputSignal<ShipVariant | null>;
687
+ readonly size: _angular_core.InputSignal<ShipSize | null>;
688
+ readonly sharp: _angular_core.InputSignal<boolean | undefined>;
689
+ readonly alwaysShow: _angular_core.InputSignal<boolean | undefined>;
690
+ hostClasses: _angular_core.Signal<string>;
640
691
  valuePercentage: _angular_core.Signal<number>;
641
692
  trackFilledPercentage: _angular_core.Signal<number>;
642
693
  thumbPositionPercentage: _angular_core.Signal<number>;
@@ -647,7 +698,7 @@ declare class ShipRangeSlider {
647
698
  trackEvent(e: MouseEvent): void;
648
699
  ngOnDestroy(): void;
649
700
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ShipRangeSlider, never>;
650
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ShipRangeSlider, "sh-range-slider", never, { "unit": { "alias": "unit"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, ["label", "input[type=range]"], true, never>;
701
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ShipRangeSlider, "sh-range-slider", never, { "unit": { "alias": "unit"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "sharp": { "alias": "sharp"; "required": false; "isSignal": true; }; "alwaysShow": { "alias": "alwaysShow"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, ["label", "input[type=range]"], true, never>;
651
702
  }
652
703
 
653
704
  type ValidateFreeText = (value: string) => boolean;
@@ -657,7 +708,7 @@ declare class ShipSelect {
657
708
  label: _angular_core.InputSignal<string | undefined>;
658
709
  asFreeText: _angular_core.InputSignal<boolean>;
659
710
  color: _angular_core.InputSignal<ShipColor | null>;
660
- variant: _angular_core.InputSignal<ShipSheetVariant | null>;
711
+ variant: _angular_core.InputSignal<ShipFormFieldVariant | null>;
661
712
  size: _angular_core.InputSignal<ShipSize | null>;
662
713
  optionTitle: _angular_core.InputSignal<string | null>;
663
714
  freeTextTitle: _angular_core.InputSignal<string | null>;
@@ -1011,6 +1062,7 @@ declare class ShipTooltip implements OnDestroy {
1011
1062
  static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ShipTooltip, "[shTooltip]", never, { "shTooltip": { "alias": "shTooltip"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
1012
1063
  }
1013
1064
 
1065
+ declare const defaultThemeColors: Record<string, string>;
1014
1066
  declare const SHIP_CONFIG: InjectionToken<ShipConfig>;
1015
1067
  interface ShipComponentConfig {
1016
1068
  variant?: ShipVariant | string;
@@ -1021,7 +1073,32 @@ interface ShipChipConfig extends ShipComponentConfig {
1021
1073
  sharp?: boolean;
1022
1074
  dynamic?: boolean;
1023
1075
  }
1076
+ interface ShipRangeSliderConfig extends ShipComponentConfig {
1077
+ sharp?: boolean;
1078
+ alwaysShow?: boolean;
1079
+ }
1080
+ interface ShipConfigColors {
1081
+ primary?: string;
1082
+ accent?: string;
1083
+ warn?: string;
1084
+ error?: string;
1085
+ success?: string;
1086
+ base?: string;
1087
+ }
1088
+ interface ShipConfigDistributions {
1089
+ primary?: number;
1090
+ accent?: number;
1091
+ warn?: number;
1092
+ error?: number;
1093
+ success?: number;
1094
+ base?: number;
1095
+ }
1024
1096
  interface ShipConfig {
1097
+ fontSize?: number;
1098
+ colors?: ShipConfigColors;
1099
+ distribution?: ShipConfigDistributions;
1100
+ borderRadius?: number;
1101
+ borderWidth?: number;
1025
1102
  button?: ShipComponentConfig;
1026
1103
  chip?: ShipChipConfig;
1027
1104
  alert?: ShipComponentConfig;
@@ -1041,6 +1118,7 @@ interface ShipConfig {
1041
1118
  tabs?: ShipComponentConfig;
1042
1119
  'event-card'?: ShipComponentConfig;
1043
1120
  datepicker?: ShipComponentConfig;
1121
+ rangeSlider?: ShipRangeSliderConfig;
1044
1122
  alertVariant?: '' | 'simple' | 'outlined' | 'flat' | 'raised';
1045
1123
  cardType?: '' | 'type-b' | 'type-c';
1046
1124
  dialogType?: 'type-b';
@@ -1048,5 +1126,31 @@ interface ShipConfig {
1048
1126
  sidenavType?: 'overlay' | 'simple';
1049
1127
  }
1050
1128
 
1051
- export { GridSortable, SHIP_CONFIG, ShipAccordion, ShipAlert, ShipAlertContainer, ShipAlertModule, ShipAlertService, ShipBlueprint, ShipButton, ShipButtonGroup, ShipCard, ShipCheckbox, ShipChip, ShipColorPicker, ShipDatepicker, ShipDatepickerInput, ShipDaterangeInput, ShipDialog, ShipDialogService, ShipDivider, ShipEventCard, ShipFileDragDrop, ShipFileUpload, ShipFormField, ShipFormFieldExperimental, ShipIcon, ShipInputMask, ShipList, ShipMenu, ShipPopover, ShipPreventWheel, ShipProgressBar, ShipRadio, ShipRangeSlider, ShipResize, ShipSelect, ShipSidenav, ShipSort, ShipSortable, ShipSpinner, ShipStepper, ShipStickyColumns, ShipTable, ShipTabs, ShipThemeToggle, ShipToggle, ShipToggleCard, ShipTooltip, ShipTooltipWrapper, ShipVirtualScroll, TEST_NODES, moveIndex, watchHostClass };
1052
- export type { AfterDropResponse, BlueprintNode, ComponentClosedType, ComponentDataType, Coordinates, Exact, ShipAlertItem, ShipAlertItemInternal, ShipAlertType, ShipButtonGroupVariant, ShipButtonSize, ShipCardVariant, ShipChipConfig, ShipColor, ShipComponentConfig, ShipConfig, ShipDialogInstance, ShipDialogOptions, ShipDialogServiceOptions, ShipDialogTemplateInstance, ShipIconSize, ShipPopoverOptions, ShipProgressBarMode, ShipSheetVariant, ShipSidenavType, ShipSize, ShipTableVariant, ShipTypeVariant, ShipVariant };
1129
+ declare function hslToRgbExact(h: number, s: number, l: number): [number, number, number];
1130
+ declare function hsvToRgbExact(h: number, s: number, v: number): [number, number, number];
1131
+ declare function rgbToHsv(r: number, g: number, b: number): {
1132
+ h: number;
1133
+ s: number;
1134
+ v: number;
1135
+ };
1136
+ declare function rgbToHex(r: number, g: number, b: number): string;
1137
+ declare function rgbaToHex8(r: number, g: number, b: number, a: number): string;
1138
+ declare function rgbToHsl(r: number, g: number, b: number): {
1139
+ h: number;
1140
+ s: number;
1141
+ l: number;
1142
+ string: string;
1143
+ };
1144
+ declare function rgbToOklch(r: number, g: number, b: number): {
1145
+ l: number;
1146
+ c: number;
1147
+ h: number;
1148
+ };
1149
+ declare function hslToOklch(h: number, s: number, l: number): {
1150
+ l: number;
1151
+ c: number;
1152
+ h: number;
1153
+ };
1154
+
1155
+ export { GridSortable, SHIP_CONFIG, ShipAccordion, ShipAlert, ShipAlertContainer, ShipAlertModule, ShipAlertService, ShipBlueprint, ShipButton, ShipButtonGroup, ShipCard, ShipCheckbox, ShipChip, ShipColorPicker, ShipColorPickerInput, ShipDatepicker, ShipDatepickerInput, ShipDaterangeInput, ShipDialog, ShipDialogService, ShipDivider, ShipEventCard, ShipFileDragDrop, ShipFileUpload, ShipFormField, ShipFormFieldExperimental, ShipIcon, ShipInputMask, ShipList, ShipMenu, ShipPopover, ShipPreventWheel, ShipProgressBar, ShipRadio, ShipRangeSlider, ShipResize, ShipSelect, ShipSidenav, ShipSort, ShipSortable, ShipSpinner, ShipStepper, ShipStickyColumns, ShipTable, ShipTabs, ShipThemeToggle, ShipToggle, ShipToggleCard, ShipTooltip, ShipTooltipWrapper, ShipVirtualScroll, TEST_NODES, defaultThemeColors, hslToOklch, hslToRgbExact, hsvToRgbExact, moveIndex, rgbToHex, rgbToHsl, rgbToHsv, rgbToOklch, rgbaToHex8, watchHostClass };
1156
+ export type { AfterDropResponse, BlueprintNode, ComponentClosedType, ComponentDataType, Coordinates, Exact, ShipAlertItem, ShipAlertItemInternal, ShipAlertType, ShipButtonGroupVariant, ShipButtonSize, ShipCardVariant, ShipChipConfig, ShipColor, ShipComponentConfig, ShipConfig, ShipConfigColors, ShipConfigDistributions, ShipDialogInstance, ShipDialogOptions, ShipDialogServiceOptions, ShipDialogTemplateInstance, ShipFormFieldVariant, ShipIconSize, ShipPopoverOptions, ShipProgressBarMode, ShipRangeSliderConfig, ShipSheetVariant, ShipSidenavType, ShipSize, ShipTableVariant, ShipTypeVariant, ShipVariant };