@kksdev/ds-angular 1.5.0 → 1.7.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.
- package/fesm2022/kksdev-ds-angular.mjs +4295 -212
- package/fesm2022/kksdev-ds-angular.mjs.map +1 -1
- package/index.d.ts +1854 -115
- package/package.json +2 -2
- package/src/styles/storybook.scss +13 -0
- package/src/styles/themes/_custom.scss +101 -0
- package/src/styles/themes/_dark.scss +82 -11
- package/src/styles/themes/_light.scss +77 -6
- package/src/styles/tokens/_primitives.scss +20 -20
- package/src/styles/tokens/_semantic.scss +92 -0
- package/src/styles/tokens/_tokens.scss +93 -18
|
@@ -19,18 +19,18 @@
|
|
|
19
19
|
|
|
20
20
|
/* === CUSTOM THEME PLACEHOLDERS === */
|
|
21
21
|
--custom-bg: #ffffff;
|
|
22
|
-
--custom-bg-secondary: #
|
|
23
|
-
--custom-bg-header: #
|
|
24
|
-
--custom-text-default: #
|
|
25
|
-
--custom-text-muted: #
|
|
26
|
-
--custom-text-disabled: #
|
|
27
|
-
--custom-text-disabled-alt: #
|
|
28
|
-
--custom-text-subtle: #
|
|
29
|
-
--custom-border: #
|
|
30
|
-
--custom-border-subtle: #
|
|
31
|
-
--custom-border-strong: #
|
|
32
|
-
--custom-accent-primary: #
|
|
33
|
-
--custom-accent-secondary: #
|
|
22
|
+
--custom-bg-secondary: #f8fafc;
|
|
23
|
+
--custom-bg-header: #f1f5f9;
|
|
24
|
+
--custom-text-default: #0f172a;
|
|
25
|
+
--custom-text-muted: #475569;
|
|
26
|
+
--custom-text-disabled: #94a3b8;
|
|
27
|
+
--custom-text-disabled-alt: #cbd5e1;
|
|
28
|
+
--custom-text-subtle: #64748b;
|
|
29
|
+
--custom-border: #e2e8f0;
|
|
30
|
+
--custom-border-subtle: #f1f5f9;
|
|
31
|
+
--custom-border-strong: #cbd5e1;
|
|
32
|
+
--custom-accent-primary: #6366f1;
|
|
33
|
+
--custom-accent-secondary: #f59e0b;
|
|
34
34
|
|
|
35
35
|
/* === TYPOGRAPHY === */
|
|
36
36
|
--font-family-base: #{$font-family-base};
|
|
@@ -124,12 +124,12 @@
|
|
|
124
124
|
--focus-color: var(--color-secondary);
|
|
125
125
|
|
|
126
126
|
/* === RGB VALUES (for rgba() with custom opacity) === */
|
|
127
|
-
--color-primary-rgb:
|
|
128
|
-
--color-secondary-rgb:
|
|
129
|
-
--success-rgb:
|
|
130
|
-
--warning-rgb:
|
|
131
|
-
--error-rgb:
|
|
132
|
-
--info-rgb:
|
|
127
|
+
--color-primary-rgb: 99, 102, 241;
|
|
128
|
+
--color-secondary-rgb: 245, 158, 11;
|
|
129
|
+
--success-rgb: 34, 197, 94;
|
|
130
|
+
--warning-rgb: 249, 115, 22;
|
|
131
|
+
--error-rgb: 239, 68, 68;
|
|
132
|
+
--info-rgb: 59, 130, 246;
|
|
133
133
|
--black-rgb: 0, 0, 0;
|
|
134
134
|
--white-rgb: 255, 255, 255;
|
|
135
135
|
|
|
@@ -524,6 +524,33 @@
|
|
|
524
524
|
--datepicker-radius: #{$datepicker-radius};
|
|
525
525
|
--datepicker-shadow: #{$datepicker-shadow};
|
|
526
526
|
|
|
527
|
+
/* === COLOR PICKER === */
|
|
528
|
+
--colorpicker-height-sm: #{$colorpicker-height-sm};
|
|
529
|
+
--colorpicker-height-md: #{$colorpicker-height-md};
|
|
530
|
+
--colorpicker-height-lg: #{$colorpicker-height-lg};
|
|
531
|
+
--colorpicker-padding-sm: #{$colorpicker-padding-sm};
|
|
532
|
+
--colorpicker-padding-md: #{$colorpicker-padding-md};
|
|
533
|
+
--colorpicker-padding-lg: #{$colorpicker-padding-lg};
|
|
534
|
+
--colorpicker-font-size-sm: #{$colorpicker-font-size-sm};
|
|
535
|
+
--colorpicker-font-size-md: #{$colorpicker-font-size-md};
|
|
536
|
+
--colorpicker-font-size-lg: #{$colorpicker-font-size-lg};
|
|
537
|
+
--colorpicker-preview-size-sm: #{$colorpicker-preview-size-sm};
|
|
538
|
+
--colorpicker-preview-size-md: #{$colorpicker-preview-size-md};
|
|
539
|
+
--colorpicker-preview-size-lg: #{$colorpicker-preview-size-lg};
|
|
540
|
+
--colorpicker-action-size-sm: #{$colorpicker-action-size-sm};
|
|
541
|
+
--colorpicker-action-size-md: #{$colorpicker-action-size-md};
|
|
542
|
+
--colorpicker-action-size-lg: #{$colorpicker-action-size-lg};
|
|
543
|
+
--colorpicker-gap: #{$colorpicker-gap};
|
|
544
|
+
--colorpicker-radius: #{$colorpicker-radius};
|
|
545
|
+
--colorpicker-panel-width: #{$colorpicker-panel-width};
|
|
546
|
+
--colorpicker-panel-padding: #{$colorpicker-panel-padding};
|
|
547
|
+
--colorpicker-panel-gap: #{$colorpicker-panel-gap};
|
|
548
|
+
--colorpicker-panel-radius: #{$colorpicker-panel-radius};
|
|
549
|
+
--colorpicker-panel-shadow: #{$colorpicker-panel-shadow};
|
|
550
|
+
--colorpicker-spectrum-height: #{$colorpicker-spectrum-height};
|
|
551
|
+
--colorpicker-slider-height: #{$colorpicker-slider-height};
|
|
552
|
+
--colorpicker-preset-size: #{$colorpicker-preset-size};
|
|
553
|
+
|
|
527
554
|
/* === SLIDER === */
|
|
528
555
|
--slider-track-height-sm: #{$slider-track-height-sm};
|
|
529
556
|
--slider-track-height-md: #{$slider-track-height-md};
|
|
@@ -593,6 +620,18 @@
|
|
|
593
620
|
--chip-remove-icon-size-lg: #{$chip-remove-icon-size-lg};
|
|
594
621
|
--chip-border-radius: #{$chip-border-radius};
|
|
595
622
|
|
|
623
|
+
/* === INPUT NUMBER === */
|
|
624
|
+
--input-number-height-sm: #{$input-number-height-sm};
|
|
625
|
+
--input-number-height-md: #{$input-number-height-md};
|
|
626
|
+
--input-number-height-lg: #{$input-number-height-lg};
|
|
627
|
+
--input-number-btn-size-sm: #{$input-number-btn-size-sm};
|
|
628
|
+
--input-number-btn-size-md: #{$input-number-btn-size-md};
|
|
629
|
+
--input-number-btn-size-lg: #{$input-number-btn-size-lg};
|
|
630
|
+
--input-number-btn-bg: #{$input-number-btn-bg};
|
|
631
|
+
--input-number-btn-hover: #{$input-number-btn-hover};
|
|
632
|
+
--input-number-btn-active: #{$input-number-btn-active};
|
|
633
|
+
--input-number-btn-disabled: #{$input-number-btn-disabled};
|
|
634
|
+
|
|
596
635
|
/* === EMPTY === */
|
|
597
636
|
--empty-padding-sm: #{$empty-padding-sm};
|
|
598
637
|
--empty-padding-md: #{$empty-padding-md};
|
|
@@ -829,6 +868,42 @@
|
|
|
829
868
|
--calendar-month-font-size: #{$calendar-month-font-size};
|
|
830
869
|
--calendar-month-font-size-sm: #{$calendar-month-font-size-sm};
|
|
831
870
|
--calendar-month-font-size-lg: #{$calendar-month-font-size-lg};
|
|
871
|
+
|
|
872
|
+
/* === SEGMENTED CONTROL === */
|
|
873
|
+
--segmented-height-sm: #{$segmented-height-sm};
|
|
874
|
+
--segmented-height-md: #{$segmented-height-md};
|
|
875
|
+
--segmented-height-lg: #{$segmented-height-lg};
|
|
876
|
+
|
|
877
|
+
--segmented-padding-sm: #{$segmented-padding-sm};
|
|
878
|
+
--segmented-padding-md: #{$segmented-padding-md};
|
|
879
|
+
--segmented-padding-lg: #{$segmented-padding-lg};
|
|
880
|
+
|
|
881
|
+
--segmented-font-size-sm: #{$segmented-font-size-sm};
|
|
882
|
+
--segmented-font-size-md: #{$segmented-font-size-md};
|
|
883
|
+
--segmented-font-size-lg: #{$segmented-font-size-lg};
|
|
884
|
+
|
|
885
|
+
--segmented-icon-size-sm: #{$segmented-icon-size-sm};
|
|
886
|
+
--segmented-icon-size-md: #{$segmented-icon-size-md};
|
|
887
|
+
--segmented-icon-size-lg: #{$segmented-icon-size-lg};
|
|
888
|
+
|
|
889
|
+
--segmented-gap: #{$segmented-gap};
|
|
890
|
+
--segmented-segment-gap: #{$segmented-segment-gap};
|
|
891
|
+
--segmented-border-radius: #{$segmented-border-radius};
|
|
892
|
+
--segmented-active-shadow: #{$segmented-active-shadow};
|
|
893
|
+
|
|
894
|
+
/* === SIDEBAR === */
|
|
895
|
+
--sidebar-width-sm: #{$sidebar-width-sm};
|
|
896
|
+
--sidebar-width-md: #{$sidebar-width-md};
|
|
897
|
+
--sidebar-width-lg: #{$sidebar-width-lg};
|
|
898
|
+
--sidebar-width-collapsed: #{$sidebar-width-collapsed};
|
|
899
|
+
--sidebar-item-height: #{$sidebar-item-height};
|
|
900
|
+
--sidebar-item-padding: #{$sidebar-item-padding};
|
|
901
|
+
--sidebar-item-radius: #{$sidebar-item-radius};
|
|
902
|
+
--sidebar-nested-indent: #{$sidebar-nested-indent};
|
|
903
|
+
--sidebar-badge-size: #{$sidebar-badge-size};
|
|
904
|
+
--sidebar-transition-duration: #{$sidebar-transition-duration};
|
|
905
|
+
--sidebar-header-padding: #{$sidebar-header-padding};
|
|
906
|
+
--sidebar-footer-padding: #{$sidebar-footer-padding};
|
|
832
907
|
}
|
|
833
908
|
|
|
834
909
|
/* === ACCESSIBILITY: REDUCED MOTION === */
|