igniteui-astro-components 0.0.18 → 0.0.20
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 +1 -1
- package/src/assets/icons/{chatGPT,.svg → chatgpt.svg} +0 -1
- package/src/assets/ig-logo.svg +1 -1
- package/src/components/DocsBreadcrumb/DocsBreadcrumb.astro +1 -3
- package/src/components/DocsBreadcrumb/DocsBreadcrumb.scss +12 -3
- package/src/components/DocsSidebar/DocsSidebar.astro +26 -7
- package/src/components/DocsSidebar/DocsSidebar.scss +35 -28
- package/src/components/DocsSidebar/SidebarFilterInput.astro +2 -2
- package/src/components/DocsSidebar/SidebarFilterInput.scss +76 -51
- package/src/components/DocsSidebar/sidebar-filter.ts +3 -18
- package/src/components/DocsSubHeader/DocsSubHeader.astro +93 -114
- package/src/components/DocsSubHeader/DocsSubHeader.scss +69 -121
- package/src/components/DocsToc/DocsToc.astro +14 -10
- package/src/components/DocsToc/DocsToc.scss +7 -5
- package/src/components/DocsTree/docs-tree.scss +125 -54
- package/src/components/GlobalFooter/GlobalFooter.module.scss +1 -1
- package/src/components/GlobalNavBar/GlobalNavBar.module.scss +1 -3
- package/src/components/Search/Search.astro +57 -23
- package/src/components/Search/Search.scss +15 -21
- package/src/components/SearchAdvanced/SearchAdvanced.astro +64 -49
- package/src/components/SearchAdvanced/SearchAdvanced.scss +22 -30
- package/src/components/mdx/ApiLink/ApiLink.astro +90 -149
- package/src/components/mdx/ApiLink/README.md +75 -73
- package/src/components/mdx/ApiLink/api-link-index.ts +223 -0
- package/src/components/mdx/DocsAside/DocsAside.scss +10 -14
- package/src/layouts/DocsLayout/DocsLayout.astro +5 -5
- package/src/layouts/DocsLayout/DocsLayout.scss +58 -97
- package/src/lib/types.ts +21 -7
- package/src/scripts/icon-manifest.ts +73 -0
- package/src/scripts/icon-registry.ts +4 -35
- package/src/styles/global/_breakpoints.scss +0 -1
- package/src/styles/global/_code-blocks.scss +1 -0
- package/src/styles/global/_component-themes.scss +133 -125
- package/src/styles/global/_icon-gallery.scss +108 -0
- package/src/styles/global/_index.scss +1 -0
- package/src/styles/global/_markdown.scss +127 -16
- package/src/styles/global/_palette.scss +101 -101
- package/src/styles/global/_search-shared.scss +302 -315
- package/src/styles/global/_type-scale.scss +17 -17
- package/src/styles/global/_variables.scss +15 -6
- package/src/styles/theme.scss +7 -61
- package/src/assets/icons/classes.svg +0 -3
- package/src/assets/icons/enumerations.svg +0 -3
- package/src/assets/icons/functions.svg +0 -5
- package/src/assets/icons/interfaces.svg +0 -3
- package/src/assets/icons/type-alias.svg +0 -3
- package/src/assets/icons/variables.svg +0 -3
- /package/src/assets/icons/{palette,.svg → palette.svg} +0 -0
|
@@ -13,56 +13,56 @@
|
|
|
13
13
|
// ── Light ─────────────────────────────────────────────────────────────────────
|
|
14
14
|
|
|
15
15
|
$light-palette: (
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
'50':
|
|
50
|
-
'100':
|
|
51
|
-
'200':
|
|
52
|
-
'300':
|
|
53
|
-
'400':
|
|
54
|
-
'500':
|
|
55
|
-
'600':
|
|
56
|
-
'700':
|
|
57
|
-
'800':
|
|
58
|
-
'900':
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
16
|
+
'primary': (
|
|
17
|
+
'50': oklch(97% 0.014 254.604), '50-contrast': adaptive-contrast(oklch(97% 0.014 254.604)), '50-raw': oklch(97% 0.014 254.604),
|
|
18
|
+
'100': oklch(93.2% 0.032 255.585), '100-contrast': adaptive-contrast(oklch(93.2% 0.032 255.585)), '100-raw': oklch(93.2% 0.032 255.585),
|
|
19
|
+
'200': oklch(88.2% 0.059 254.128), '200-contrast': adaptive-contrast(oklch(88.2% 0.059 254.128)), '200-raw': oklch(88.2% 0.059 254.128),
|
|
20
|
+
'300': oklch(80.9% 0.105 251.813), '300-contrast': adaptive-contrast(oklch(80.9% 0.105 251.813)), '300-raw': oklch(80.9% 0.105 251.813),
|
|
21
|
+
'400': oklch(71.6% 0.160 255.814), '400-contrast': adaptive-contrast(oklch(71.6% 0.160 255.814)), '400-raw': oklch(71.6% 0.160 255.814),
|
|
22
|
+
'500': oklch(62.3% 0.214 259.815), '500-contrast': adaptive-contrast(oklch(62.3% 0.214 259.815)), '500-raw': oklch(62.3% 0.214 259.815),
|
|
23
|
+
'600': oklch(54.6% 0.245 262.881), '600-contrast': adaptive-contrast(oklch(54.6% 0.245 262.881)), '600-raw': oklch(54.6% 0.245 262.881),
|
|
24
|
+
'700': oklch(48.8% 0.243 264.376), '700-contrast': adaptive-contrast(oklch(48.8% 0.243 264.376)), '700-raw': oklch(48.8% 0.243 264.376),
|
|
25
|
+
'800': oklch(42.4% 0.199 265.638), '800-contrast': adaptive-contrast(oklch(42.4% 0.199 265.638)), '800-raw': oklch(42.4% 0.199 265.638),
|
|
26
|
+
'900': oklch(37.9% 0.146 265.522), '900-contrast': adaptive-contrast(oklch(37.9% 0.146 265.522)), '900-raw': oklch(37.9% 0.146 265.522),
|
|
27
|
+
'A100': oklch(93.2% 0.032 255.585), 'A100-contrast': adaptive-contrast(oklch(93.2% 0.032 255.585)), 'A100-raw': oklch(93.2% 0.032 255.585),
|
|
28
|
+
'A200': oklch(88.2% 0.059 254.128), 'A200-contrast': adaptive-contrast(oklch(88.2% 0.059 254.128)), 'A200-raw': oklch(88.2% 0.059 254.128),
|
|
29
|
+
'A400': oklch(62.3% 0.214 259.815), 'A400-contrast': adaptive-contrast(oklch(62.3% 0.214 259.815)), 'A400-raw': oklch(62.3% 0.214 259.815),
|
|
30
|
+
'A700': oklch(48.8% 0.243 264.376), 'A700-contrast': adaptive-contrast(oklch(48.8% 0.243 264.376)), 'A700-raw': oklch(48.8% 0.243 264.376),
|
|
31
|
+
),
|
|
32
|
+
'secondary': (
|
|
33
|
+
'50': #fff0eb, '50-contrast': adaptive-contrast(#fff0eb), '50-raw': #fff0eb,
|
|
34
|
+
'100': #ffe1d6, '100-contrast': adaptive-contrast(#ffe1d6), '100-raw': #ffe1d6,
|
|
35
|
+
'200': #ffc3ad, '200-contrast': adaptive-contrast(#ffc3ad), '200-raw': #ffc3ad,
|
|
36
|
+
'300': #ffa685, '300-contrast': adaptive-contrast(#ffa685), '300-raw': #ffa685,
|
|
37
|
+
'400': #ff885c, '400-contrast': adaptive-contrast(#ff885c), '400-raw': #ff885c,
|
|
38
|
+
'500': #f95924, '500-contrast': adaptive-contrast(#f95924), '500-raw': #f95924,
|
|
39
|
+
'600': #e04f1f, '600-contrast': adaptive-contrast(#e04f1f), '600-raw': #e04f1f,
|
|
40
|
+
'700': #c6451b, '700-contrast': adaptive-contrast(#c6451b), '700-raw': #c6451b,
|
|
41
|
+
'800': #933313, '800-contrast': adaptive-contrast(#933313), '800-raw': #933313,
|
|
42
|
+
'900': #5a1f0c, '900-contrast': adaptive-contrast(#5a1f0c), '900-raw': #5a1f0c,
|
|
43
|
+
'A100': #ffd0c0, 'A100-contrast': adaptive-contrast(#ffd0c0), 'A100-raw': #ffd0c0,
|
|
44
|
+
'A200': #fa8, 'A200-contrast': adaptive-contrast(#fa8), 'A200-raw': #fa8,
|
|
45
|
+
'A400': #ff6b45, 'A400-contrast': adaptive-contrast(#ff6b45), 'A400-raw': #ff6b45,
|
|
46
|
+
'A700': #ff4d25, 'A700-contrast': adaptive-contrast(#ff4d25), 'A700-raw': #ff4d25,
|
|
47
|
+
),
|
|
48
|
+
'gray': (
|
|
49
|
+
'50': oklch(98.5% 0.002 247.839), '50-contrast': adaptive-contrast(oklch(98.5% 0.002 247.839)), '50-raw': oklch(98.5% 0.002 247.839),
|
|
50
|
+
'100': oklch(96.7% 0.003 264.542), '100-contrast': adaptive-contrast(oklch(96.7% 0.003 264.542)), '100-raw': oklch(96.7% 0.003 264.542),
|
|
51
|
+
'200': oklch(92.8% 0.006 264.531), '200-contrast': adaptive-contrast(oklch(92.8% 0.006 264.531)), '200-raw': oklch(92.8% 0.006 264.531),
|
|
52
|
+
'300': oklch(87.2% 0.010 258.338), '300-contrast': adaptive-contrast(oklch(87.2% 0.010 258.338)), '300-raw': oklch(87.2% 0.010 258.338),
|
|
53
|
+
'400': oklch(70.7% 0.022 261.325), '400-contrast': adaptive-contrast(oklch(70.7% 0.022 261.325)), '400-raw': oklch(70.7% 0.022 261.325),
|
|
54
|
+
'500': oklch(55.1% 0.027 264.364), '500-contrast': adaptive-contrast(oklch(55.1% 0.027 264.364)), '500-raw': oklch(55.1% 0.027 264.364),
|
|
55
|
+
'600': oklch(44.6% 0.030 256.802), '600-contrast': adaptive-contrast(oklch(44.6% 0.030 256.802)), '600-raw': oklch(44.6% 0.030 256.802),
|
|
56
|
+
'700': oklch(37.3% 0.034 259.733), '700-contrast': adaptive-contrast(oklch(37.3% 0.034 259.733)), '700-raw': oklch(37.3% 0.034 259.733),
|
|
57
|
+
'800': oklch(27.8% 0.033 256.848), '800-contrast': adaptive-contrast(oklch(27.8% 0.033 256.848)), '800-raw': oklch(27.8% 0.033 256.848),
|
|
58
|
+
'900': oklch(21% 0.034 264.665), '900-contrast': adaptive-contrast(oklch(21% 0.034 264.665)), '900-raw': oklch(21% 0.034 264.665),
|
|
59
|
+
),
|
|
60
|
+
'surface': shades('surface', #fafafa, ('50', '100', '200', '300', '400', '500', '600', '700', '800', '900', 'A100', 'A200', 'A400', 'A700')),
|
|
61
|
+
'info': shades('info', #1151c1, ('50', '100', '200', '300', '400', '500', '600', '700', '800', '900', 'A100', 'A200', 'A400', 'A700')),
|
|
62
|
+
'success': shades('success', #028a54, ('50', '100', '200', '300', '400', '500', '600', '700', '800', '900', 'A100', 'A200', 'A400', 'A700')),
|
|
63
|
+
'warn': shades('warn', #faa419, ('50', '100', '200', '300', '400', '500', '600', '700', '800', '900', 'A100', 'A200', 'A400', 'A700')),
|
|
64
|
+
'error': shades('error', #ff134a, ('50', '100', '200', '300', '400', '500', '600', '700', '800', '900', 'A100', 'A200', 'A400', 'A700')),
|
|
65
|
+
'_meta': ('variant': light),
|
|
66
66
|
);
|
|
67
67
|
|
|
68
68
|
// ── Dark ──────────────────────────────────────────────────────────────────────
|
|
@@ -70,62 +70,62 @@ $light-palette: (
|
|
|
70
70
|
// Gray is inverted: 50 = darkest, 900 = lightest.
|
|
71
71
|
|
|
72
72
|
$dark-palette: (
|
|
73
|
-
|
|
74
|
-
'50':
|
|
75
|
-
'100':
|
|
76
|
-
'200':
|
|
77
|
-
'300':
|
|
78
|
-
'400':
|
|
79
|
-
'500':
|
|
80
|
-
'600':
|
|
81
|
-
'700':
|
|
82
|
-
'800':
|
|
83
|
-
'900':
|
|
84
|
-
'A100':
|
|
85
|
-
'A200':
|
|
86
|
-
'A400':
|
|
87
|
-
'A700':
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
'50':
|
|
91
|
-
'100': #
|
|
92
|
-
'200': #
|
|
93
|
-
'300': #
|
|
94
|
-
'400': #
|
|
95
|
-
'500': #
|
|
96
|
-
'600': #
|
|
97
|
-
'700': #
|
|
98
|
-
'800': #933313,
|
|
99
|
-
'900': #
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
'50':
|
|
107
|
-
'100':
|
|
108
|
-
'200':
|
|
109
|
-
'300':
|
|
110
|
-
'400':
|
|
111
|
-
'500':
|
|
112
|
-
'600':
|
|
113
|
-
'700':
|
|
114
|
-
'800':
|
|
115
|
-
'900':
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
73
|
+
'primary': (
|
|
74
|
+
'50': oklch(97% 0.014 254.604), '50-contrast': adaptive-contrast(oklch(97% 0.014 254.604)), '50-raw': oklch(97% 0.014 254.604),
|
|
75
|
+
'100': oklch(93.2% 0.032 255.585), '100-contrast': adaptive-contrast(oklch(93.2% 0.032 255.585)), '100-raw': oklch(93.2% 0.032 255.585),
|
|
76
|
+
'200': oklch(88.2% 0.059 254.128), '200-contrast': adaptive-contrast(oklch(88.2% 0.059 254.128)), '200-raw': oklch(88.2% 0.059 254.128),
|
|
77
|
+
'300': oklch(80.9% 0.105 251.813), '300-contrast': adaptive-contrast(oklch(80.9% 0.105 251.813)), '300-raw': oklch(80.9% 0.105 251.813),
|
|
78
|
+
'400': oklch(71.6% 0.160 255.814), '400-contrast': adaptive-contrast(oklch(71.6% 0.160 255.814)), '400-raw': oklch(71.6% 0.160 255.814),
|
|
79
|
+
'500': oklch(62.3% 0.214 259.815), '500-contrast': adaptive-contrast(oklch(62.3% 0.214 259.815)), '500-raw': oklch(62.3% 0.214 259.815),
|
|
80
|
+
'600': oklch(54.6% 0.245 262.881), '600-contrast': adaptive-contrast(oklch(54.6% 0.245 262.881)), '600-raw': oklch(54.6% 0.245 262.881),
|
|
81
|
+
'700': oklch(48.8% 0.243 264.376), '700-contrast': adaptive-contrast(oklch(48.8% 0.243 264.376)), '700-raw': oklch(48.8% 0.243 264.376),
|
|
82
|
+
'800': oklch(42.4% 0.199 265.638), '800-contrast': adaptive-contrast(oklch(42.4% 0.199 265.638)), '800-raw': oklch(42.4% 0.199 265.638),
|
|
83
|
+
'900': oklch(37.9% 0.146 265.522), '900-contrast': adaptive-contrast(oklch(37.9% 0.146 265.522)), '900-raw': oklch(37.9% 0.146 265.522),
|
|
84
|
+
'A100': oklch(93.2% 0.032 255.585), 'A100-contrast': adaptive-contrast(oklch(93.2% 0.032 255.585)), 'A100-raw': oklch(93.2% 0.032 255.585),
|
|
85
|
+
'A200': oklch(88.2% 0.059 254.128), 'A200-contrast': adaptive-contrast(oklch(88.2% 0.059 254.128)), 'A200-raw': oklch(88.2% 0.059 254.128),
|
|
86
|
+
'A400': oklch(62.3% 0.214 259.815), 'A400-contrast': adaptive-contrast(oklch(62.3% 0.214 259.815)), 'A400-raw': oklch(62.3% 0.214 259.815),
|
|
87
|
+
'A700': oklch(48.8% 0.243 264.376), 'A700-contrast': adaptive-contrast(oklch(48.8% 0.243 264.376)), 'A700-raw': oklch(48.8% 0.243 264.376),
|
|
88
|
+
),
|
|
89
|
+
'secondary': (
|
|
90
|
+
'50': #fff0eb, '50-contrast': adaptive-contrast(#fff0eb), '50-raw': #fff0eb,
|
|
91
|
+
'100': #ffe1d6, '100-contrast': adaptive-contrast(#ffe1d6), '100-raw': #ffe1d6,
|
|
92
|
+
'200': #ffc3ad, '200-contrast': adaptive-contrast(#ffc3ad), '200-raw': #ffc3ad,
|
|
93
|
+
'300': #ffa685, '300-contrast': adaptive-contrast(#ffa685), '300-raw': #ffa685,
|
|
94
|
+
'400': #ff885c, '400-contrast': adaptive-contrast(#ff885c), '400-raw': #ff885c,
|
|
95
|
+
'500': #f95924, '500-contrast': adaptive-contrast(#f95924), '500-raw': #f95924,
|
|
96
|
+
'600': #e04f1f, '600-contrast': adaptive-contrast(#e04f1f), '600-raw': #e04f1f,
|
|
97
|
+
'700': #c6451b, '700-contrast': adaptive-contrast(#c6451b), '700-raw': #c6451b,
|
|
98
|
+
'800': #933313, '800-contrast': adaptive-contrast(#933313), '800-raw': #933313,
|
|
99
|
+
'900': #5a1f0c, '900-contrast': adaptive-contrast(#5a1f0c), '900-raw': #5a1f0c,
|
|
100
|
+
'A100': #ffd0c0, 'A100-contrast': adaptive-contrast(#ffd0c0), 'A100-raw': #ffd0c0,
|
|
101
|
+
'A200': #fa8, 'A200-contrast': adaptive-contrast(#fa8), 'A200-raw': #fa8,
|
|
102
|
+
'A400': #ff6b45, 'A400-contrast': adaptive-contrast(#ff6b45), 'A400-raw': #ff6b45,
|
|
103
|
+
'A700': #ff4d25, 'A700-contrast': adaptive-contrast(#ff4d25), 'A700-raw': #ff4d25,
|
|
104
|
+
),
|
|
105
|
+
'gray': (
|
|
106
|
+
'50': oklch(21% 0.034 264.665), '50-contrast': adaptive-contrast(oklch(21% 0.034 264.665)), '50-raw': oklch(21% 0.034 264.665),
|
|
107
|
+
'100': oklch(27.8% 0.033 256.848), '100-contrast': adaptive-contrast(oklch(27.8% 0.033 256.848)), '100-raw': oklch(27.8% 0.033 256.848),
|
|
108
|
+
'200': oklch(37.3% 0.034 259.733), '200-contrast': adaptive-contrast(oklch(37.3% 0.034 259.733)), '200-raw': oklch(37.3% 0.034 259.733),
|
|
109
|
+
'300': oklch(44.6% 0.030 256.802), '300-contrast': adaptive-contrast(oklch(44.6% 0.030 256.802)), '300-raw': oklch(44.6% 0.030 256.802),
|
|
110
|
+
'400': oklch(55.1% 0.027 264.364), '400-contrast': adaptive-contrast(oklch(55.1% 0.027 264.364)), '400-raw': oklch(55.1% 0.027 264.364),
|
|
111
|
+
'500': oklch(70.7% 0.022 261.325), '500-contrast': adaptive-contrast(oklch(70.7% 0.022 261.325)), '500-raw': oklch(70.7% 0.022 261.325),
|
|
112
|
+
'600': oklch(87.2% 0.010 258.338), '600-contrast': adaptive-contrast(oklch(87.2% 0.010 258.338)), '600-raw': oklch(87.2% 0.010 258.338),
|
|
113
|
+
'700': oklch(92.8% 0.006 264.531), '700-contrast': adaptive-contrast(oklch(92.8% 0.006 264.531)), '700-raw': oklch(92.8% 0.006 264.531),
|
|
114
|
+
'800': oklch(96.7% 0.003 264.542), '800-contrast': adaptive-contrast(oklch(96.7% 0.003 264.542)), '800-raw': oklch(96.7% 0.003 264.542),
|
|
115
|
+
'900': oklch(98.5% 0.002 247.839), '900-contrast': adaptive-contrast(oklch(98.5% 0.002 247.839)), '900-raw': oklch(98.5% 0.002 247.839),
|
|
116
|
+
),
|
|
117
|
+
'surface': shades('surface', #111, ('50', '100', '200', '300', '400', '500', '600', '700', '800', '900', 'A100', 'A200', 'A400', 'A700')),
|
|
118
|
+
'info': shades('info', #1151c1, ('50', '100', '200', '300', '400', '500', '600', '700', '800', '900', 'A100', 'A200', 'A400', 'A700')),
|
|
119
|
+
'success': shades('success', #028a54, ('50', '100', '200', '300', '400', '500', '600', '700', '800', '900', 'A100', 'A200', 'A400', 'A700')),
|
|
120
|
+
'warn': shades('warn', #faa419, ('50', '100', '200', '300', '400', '500', '600', '700', '800', '900', 'A100', 'A200', 'A400', 'A700')),
|
|
121
|
+
'error': shades('error', #ff134a, ('50', '100', '200', '300', '400', '500', '600', '700', '800', '900', 'A100', 'A200', 'A400', 'A700')),
|
|
122
|
+
'_meta': ('variant': dark),
|
|
123
123
|
);
|
|
124
124
|
|
|
125
125
|
[data-theme='light'] {
|
|
126
126
|
@include palette($light-palette);
|
|
127
127
|
--igd-scrollbar-thumb: var(--ig-gray-300);
|
|
128
|
-
--igd-scrollbar-track:transparent;
|
|
128
|
+
--igd-scrollbar-track: transparent;
|
|
129
129
|
|
|
130
130
|
color-scheme: light;
|
|
131
131
|
}
|