@vev/silke 1.1.7 → 1.1.9

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 (100) hide show
  1. package/.turbo/turbo-build.log +800 -0
  2. package/CHANGELOG.md +14 -0
  3. package/CLAUDE.md +102 -0
  4. package/dist/index.js +36 -36
  5. package/dist/index.js.LEGAL.txt +1 -1
  6. package/dist/styles.css +498 -282
  7. package/dist/types/components/index.d.ts +2 -0
  8. package/dist/types/components/silke-command-text-field/attachment-chip.d.ts +8 -0
  9. package/dist/types/components/silke-command-text-field/attachment-list.d.ts +15 -0
  10. package/dist/types/components/silke-command-text-field/file-utils.d.ts +33 -0
  11. package/dist/types/components/silke-command-text-field/file-utils.spec.d.ts +1 -0
  12. package/dist/types/components/silke-command-text-field/index.d.ts +6 -1
  13. package/dist/types/components/silke-command-text-field/silke-command-text-field.d.ts +23 -6
  14. package/dist/types/components/silke-command-text-field/utils.d.ts +14 -1
  15. package/dist/types/components/silke-conditions-input/utils.d.ts +1 -1
  16. package/dist/types/components/silke-css-number-field/silke-css-context.d.ts +2 -0
  17. package/dist/types/components/silke-css-number-field/silke-css-number-field.d.ts +2 -0
  18. package/dist/types/components/silke-css-number-field/utils.d.ts +1 -1
  19. package/dist/types/components/silke-form-schema/fields/color-field.d.ts +3 -0
  20. package/dist/types/components/silke-form-schema/fields/group-field.d.ts +3 -0
  21. package/dist/types/components/silke-form-schema/fields/object-field.d.ts +1 -1
  22. package/dist/types/components/silke-form-schema/fields/popover-field.d.ts +3 -0
  23. package/dist/types/components/silke-form-schema/fields/utils/generate-image.d.ts +5 -0
  24. package/dist/types/components/silke-form-schema/fields/utils/index.d.ts +1 -1
  25. package/dist/types/components/silke-form-schema/schema-utils.d.ts +6 -1
  26. package/dist/types/components/silke-form-schema/silke-schema-field.d.ts +2 -1
  27. package/dist/types/components/silke-gradient-picker/index.d.ts +3 -0
  28. package/dist/types/components/silke-icon/silke-icon.d.ts +1 -1
  29. package/dist/types/components/silke-list/silke-list.d.ts +6 -1
  30. package/dist/types/components/silke-list/types.d.ts +2 -0
  31. package/dist/types/components/silke-shortcut-button/silke-shortcut-button.d.ts +4 -1
  32. package/dist/types/components/silke-theme-card/index.d.ts +1 -0
  33. package/dist/types/components/silke-theme-card/silke-theme-card.d.ts +18 -0
  34. package/dist/types/components/silke-theme-swatch/index.d.ts +1 -0
  35. package/dist/types/components/silke-theme-swatch/silke-theme-swatch.d.ts +11 -0
  36. package/dist/types/icons.d.ts +7 -2
  37. package/package.json +32 -20
  38. package/src/components/index.ts +2 -0
  39. package/src/components/silke-autocomplete-field/silke-autocomplete-popup-native.tsx +25 -18
  40. package/src/components/silke-button/silke-dropdown-button.mdx +1 -1
  41. package/src/components/silke-color-picker/color.ts +5 -3
  42. package/src/components/silke-color-swatches/silke-swatches.tsx +3 -3
  43. package/src/components/silke-command-text-field/attachment-chip.tsx +71 -0
  44. package/src/components/silke-command-text-field/attachment-list.tsx +72 -0
  45. package/src/components/silke-command-text-field/file-utils.spec.ts +148 -0
  46. package/src/components/silke-command-text-field/file-utils.ts +159 -0
  47. package/src/components/silke-command-text-field/index.ts +14 -0
  48. package/src/components/silke-command-text-field/silke-command-text-field.mdx +109 -13
  49. package/src/components/silke-command-text-field/silke-command-text-field.module.scss +65 -40
  50. package/src/components/silke-command-text-field/silke-command-text-field.tsx +120 -135
  51. package/src/components/silke-command-text-field/utils.spec.ts +109 -1
  52. package/src/components/silke-command-text-field/utils.ts +44 -7
  53. package/src/components/silke-css-number-field/silke-css-context.tsx +2 -0
  54. package/src/components/silke-css-number-field/silke-css-number-field.tsx +7 -4
  55. package/src/components/silke-css-number-field/utils.ts +8 -2
  56. package/src/components/silke-form-schema/fields/array-field-modal.tsx +71 -46
  57. package/src/components/silke-form-schema/fields/array-field.tsx +160 -122
  58. package/src/components/silke-form-schema/fields/color-field.tsx +136 -0
  59. package/src/components/silke-form-schema/fields/group-field.tsx +49 -0
  60. package/src/components/silke-form-schema/fields/icon-field.tsx +59 -39
  61. package/src/components/silke-form-schema/fields/image-field.tsx +50 -39
  62. package/src/components/silke-form-schema/fields/number-field.tsx +148 -184
  63. package/src/components/silke-form-schema/fields/object-field.tsx +2 -0
  64. package/src/components/silke-form-schema/fields/popover-field.tsx +65 -0
  65. package/src/components/silke-form-schema/fields/select-field.tsx +43 -30
  66. package/src/components/silke-form-schema/fields/string-field.tsx +1 -1
  67. package/src/components/silke-form-schema/fields/styles.scss +2 -39
  68. package/src/components/silke-form-schema/fields/toggle-field.tsx +48 -15
  69. package/src/components/silke-form-schema/fields/utils/generate-image.ts +20 -0
  70. package/src/components/silke-form-schema/fields/utils/generate-title.ts +1 -1
  71. package/src/components/silke-form-schema/fields/utils/index.ts +1 -1
  72. package/src/components/silke-form-schema/schema-utils.ts +27 -1
  73. package/src/components/silke-form-schema/silke-form-schema.mdx +498 -311
  74. package/src/components/silke-form-schema/silke-schema-field.tsx +12 -3
  75. package/src/components/silke-form-schema/silke-schema-fields.tsx +9 -5
  76. package/src/components/silke-gradient-picker/index.ts +3 -0
  77. package/src/components/silke-icon/silke-icon.mdx +13 -1
  78. package/src/components/silke-icon/silke-icon.tsx +6 -2
  79. package/src/components/silke-list/silke-list.tsx +59 -26
  80. package/src/components/silke-list/types.ts +2 -0
  81. package/src/components/silke-navigation-link/silke-navigation-link.scss +1 -0
  82. package/src/components/silke-shortcut-button/silke-shortcut-button.scss +16 -0
  83. package/src/components/silke-shortcut-button/silke-shortcut-button.tsx +9 -0
  84. package/src/components/silke-slider/silke-slider.module.scss +1 -1
  85. package/src/components/silke-tag/silke-tag.scss +1 -1
  86. package/src/components/silke-text-field/silke-text-field-outline.tsx +9 -6
  87. package/src/components/silke-text-field/silke-text-field.scss +3 -0
  88. package/src/components/silke-text-field/silke-text-field.tsx +1 -1
  89. package/src/components/silke-theme-card/index.ts +1 -0
  90. package/src/components/silke-theme-card/silke-theme-card.mdx +50 -0
  91. package/src/components/silke-theme-card/silke-theme-card.module.scss +82 -0
  92. package/src/components/silke-theme-card/silke-theme-card.tsx +82 -0
  93. package/src/components/silke-theme-swatch/index.ts +1 -0
  94. package/src/components/silke-theme-swatch/silke-theme-swatch.mdx +59 -0
  95. package/src/components/silke-theme-swatch/silke-theme-swatch.module.scss +108 -0
  96. package/src/components/silke-theme-swatch/silke-theme-swatch.tsx +49 -0
  97. package/src/components/silke-variables-wrapper/silke-variables-wrapper.tsx +9 -8
  98. package/src/icons.tsx +41 -7
  99. package/tsconfig.build.tsbuildinfo +1 -1
  100. package/project.json +0 -12
@@ -0,0 +1 @@
1
+ export * from './silke-theme-swatch';
@@ -0,0 +1,59 @@
1
+ # Theme Swatch
2
+
3
+ A horizontal strip displaying all shades of a color token, with smooth hover expansion for easy shade selection. Shows the label and hex value of the hovered/selected shade.
4
+
5
+ ## Basic usage
6
+
7
+ ```js
8
+ const shades = {
9
+ 50: '#FFF7ED',
10
+ 100: '#FFEDD5',
11
+ 200: '#FED7AA',
12
+ 300: '#FDBA74',
13
+ 400: '#FB923C',
14
+ 500: '#F97316',
15
+ 600: '#EA580C',
16
+ 700: '#C2410C',
17
+ 800: '#9A3412',
18
+ 900: '#7C2D12',
19
+ 950: '#431407',
20
+ };
21
+
22
+ <SilkeThemeSwatch
23
+ label="Accent"
24
+ shades={shades}
25
+ token="Orange"
26
+ selectedShade={500}
27
+ onSelect={(shade) => console.log('Selected shade:', shade)}
28
+ />;
29
+ ```
30
+
31
+ ## With selection state
32
+
33
+ ```js
34
+ const shades = {
35
+ 50: '#EFF6FF',
36
+ 100: '#DBEAFE',
37
+ 200: '#BFDBFE',
38
+ 300: '#93C5FD',
39
+ 400: '#60A5FA',
40
+ 500: '#3B82F6',
41
+ 600: '#2563EB',
42
+ 700: '#1D4ED8',
43
+ 800: '#1E40AF',
44
+ 900: '#1E3A8A',
45
+ 950: '#172554',
46
+ };
47
+
48
+ const [selected, setSelected] = React.useState(500);
49
+
50
+ <SilkeBox column gap="m">
51
+ <SilkeThemeSwatch
52
+ label="Primary"
53
+ shades={shades}
54
+ selectedShade={selected}
55
+ onSelect={setSelected}
56
+ />
57
+ <SilkeText>Selected: {selected}</SilkeText>
58
+ </SilkeBox>;
59
+ ```
@@ -0,0 +1,108 @@
1
+ @import '../../variables';
2
+
3
+ .wrapper {
4
+ display: flex;
5
+ flex-direction: column;
6
+ gap: $space-xs;
7
+ }
8
+
9
+ .strip {
10
+ display: flex;
11
+ height: $space-xl;
12
+ overflow: visible;
13
+ border-radius: var(--border-radius-small);
14
+ border: 1px solid var(--color-neutral-20);
15
+ }
16
+
17
+ .shade {
18
+ position: relative;
19
+ flex: 1 1 0;
20
+ min-width: 0;
21
+ transition: flex 0.3s ease;
22
+ cursor: pointer;
23
+
24
+ &[data-hovered] {
25
+ flex: 2.5 1 0;
26
+ }
27
+
28
+ &[data-selected]::before {
29
+ content: '';
30
+ position: absolute;
31
+ top: calc(100% + 4px);
32
+ left: calc(50% - 2px);
33
+ width: 4px;
34
+ height: 4px;
35
+ background: white;
36
+ border-radius: 50%;
37
+ pointer-events: none;
38
+ animation: fade-in 0.3s ease;
39
+ }
40
+
41
+ &[data-selected]::after {
42
+ content: '';
43
+ position: absolute;
44
+ inset: 0;
45
+ border: 2px solid white;
46
+ pointer-events: none;
47
+ }
48
+
49
+ &:first-child,
50
+ &:first-child[data-selected]::after {
51
+ border-top-left-radius: var(--border-radius-small);
52
+ border-bottom-left-radius: var(--border-radius-small);
53
+ }
54
+
55
+ &:last-child,
56
+ &:last-child[data-selected]::after {
57
+ border-top-right-radius: var(--border-radius-small);
58
+ border-bottom-right-radius: var(--border-radius-small);
59
+ }
60
+ }
61
+
62
+ .tooltip {
63
+ position: absolute;
64
+ bottom: calc(100% + 10px);
65
+ left: 50%;
66
+ transform: translateX(-50%);
67
+ padding: $space-xs $space-s;
68
+ border-radius: var(--border-radius-tiny);
69
+ background: var(--color-neutral-10);
70
+ border: 1px solid rgba(var(--color-neutral-60-rgb), var(--opacity-level-light));
71
+ filter: var(--shadow-level-4);
72
+ color: var(--color-neutral-100);
73
+ font-size: $font-small;
74
+ line-height: 1.4;
75
+ white-space: nowrap;
76
+ pointer-events: none;
77
+ z-index: 1;
78
+ animation: fade-in 0.3s ease;
79
+
80
+ &::after {
81
+ content: '';
82
+ position: absolute;
83
+ top: 100%;
84
+ left: 50%;
85
+ transform: translateX(-50%);
86
+ border: 5px solid transparent;
87
+ border-top-color: var(--color-neutral-10);
88
+ }
89
+
90
+ &::before {
91
+ content: '';
92
+ position: absolute;
93
+ top: 100%;
94
+ left: 50%;
95
+ transform: translateX(-50%);
96
+ border: 6px solid transparent;
97
+ border-top-color: rgba(var(--color-neutral-60-rgb), var(--opacity-level-light));
98
+ }
99
+ }
100
+
101
+ @keyframes fade-in {
102
+ from {
103
+ opacity: 0;
104
+ }
105
+ to {
106
+ opacity: 1;
107
+ }
108
+ }
@@ -0,0 +1,49 @@
1
+ import React, { useState } from 'react';
2
+ import { SilkeText } from '../silke-text';
3
+ import styles from './silke-theme-swatch.module.scss';
4
+
5
+ const SHADE_KEYS = [50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 950] as const;
6
+ type ShadeKey = (typeof SHADE_KEYS)[number];
7
+
8
+ interface SilkeThemeSwatchProps {
9
+ label: string;
10
+ token?: string;
11
+ shades: Record<ShadeKey, string>;
12
+ selectedShade?: ShadeKey;
13
+ onSelect?: (shade: ShadeKey) => void;
14
+ }
15
+
16
+ export function SilkeThemeSwatch({
17
+ label,
18
+ token,
19
+ shades,
20
+ selectedShade,
21
+ onSelect,
22
+ }: SilkeThemeSwatchProps) {
23
+ const [hoveredShade, setHoveredShade] = useState<ShadeKey | null>(null);
24
+
25
+ return (
26
+ <div className={styles.wrapper}>
27
+ <div className={styles.label}>
28
+ <SilkeText size="small">{label}</SilkeText>
29
+ </div>
30
+ <div className={styles.strip} onMouseLeave={() => setHoveredShade(null)}>
31
+ {SHADE_KEYS.map((shade) => (
32
+ <div
33
+ key={shade}
34
+ className={styles.shade}
35
+ data-hovered={hoveredShade === shade || undefined}
36
+ data-selected={selectedShade === shade || undefined}
37
+ style={{ background: shades[shade] }}
38
+ onMouseEnter={() => setHoveredShade(shade)}
39
+ onClick={() => onSelect?.(shade)}
40
+ >
41
+ {hoveredShade === shade && (
42
+ <div className={styles.tooltip}>{token ? `${token} ` : ''}{shade}</div>
43
+ )}
44
+ </div>
45
+ ))}
46
+ </div>
47
+ </div>
48
+ );
49
+ }
@@ -57,12 +57,12 @@ export function SilkeVariablesWrapper<T extends React.ElementType>({
57
57
  const textFieldContext = useTextFieldContext();
58
58
  const [hoveredItem, setHoveredItem] = useState<string | null>(null);
59
59
 
60
- const variables = React.useMemo(() => {
60
+ const filteredVariables = React.useMemo(() => {
61
61
  return getRelevantVariables(context.variablesv2, formats, variableType);
62
62
  }, [context.variablesv2, formats, variableType]);
63
63
 
64
64
  const variableItems = React.useMemo(() => {
65
- return variables.map((v) => ({
65
+ return filteredVariables.map((v) => ({
66
66
  label: v.name,
67
67
  value: v.key,
68
68
  subLabel:
@@ -71,14 +71,15 @@ export function SilkeVariablesWrapper<T extends React.ElementType>({
71
71
  : `${v.value}${v.unit ? `${v.unit}` : ''}`,
72
72
  icon: getVariableIcon(v.type),
73
73
  }));
74
- }, [variables]);
74
+ }, [filteredVariables]);
75
75
 
76
76
  const isVariable =
77
77
  typeof rest.value === 'string' &&
78
78
  (rest.value?.startsWith('var(--vev-') || rest.value?.startsWith('{{'));
79
+
79
80
  const currentVariable = React.useMemo(
80
- () => variables.find((v) => typeof rest.value === 'string' && rest.value?.includes(v.key)),
81
- [variables, rest.value],
81
+ () => context.variablesv2.find((v) => typeof rest.value === 'string' && rest.value?.includes(v.key)),
82
+ [context.variablesv2, rest.value],
82
83
  );
83
84
 
84
85
  const supportedType = !variableType || SUPPORTED_TYPES.includes(variableType || '');
@@ -117,7 +118,7 @@ export function SilkeVariablesWrapper<T extends React.ElementType>({
117
118
 
118
119
  // If active variable, remove link and set to native value
119
120
  if (isVariable && currentVariable) {
120
- const variable = variables.find((v) => rest.value?.includes(v.key));
121
+ const variable = context.variablesv2.find((v) => rest.value?.includes(v.key));
121
122
  const wasGradient = variable?.type === 'color' && variable.value?.includes('gradient');
122
123
 
123
124
  if (wasGradient) {
@@ -127,7 +128,7 @@ export function SilkeVariablesWrapper<T extends React.ElementType>({
127
128
  }
128
129
  return;
129
130
  }
130
- if (variables.length) {
131
+ if (filteredVariables.length) {
131
132
  setOpenVariables(true);
132
133
  } else {
133
134
  setShowAddNewForm(true);
@@ -146,7 +147,7 @@ export function SilkeVariablesWrapper<T extends React.ElementType>({
146
147
 
147
148
  const handleVariableChange = (key: string) => {
148
149
  // Tracking (if implemented)
149
- const variable = variables.find((v) => v.key === key);
150
+ const variable = filteredVariables.find((v) => v.key === key);
150
151
  context?.onVariableAttached?.(variable?.type || '');
151
152
 
152
153
  // Change the value
package/src/icons.tsx CHANGED
@@ -28,10 +28,12 @@ export const SilkeIconDefinitions = {
28
28
  'cloud.slash': 'fal fa-cloud-slash',
29
29
  ai: 'fa-light fa-sparkles',
30
30
  'ai.sparkle': 'fa-solid fa-sparkle',
31
- 'ai.page': 'fa-light fa-file-lines',
31
+ 'ai.page': AiGradientPage,
32
32
  'ai.sparkels': 'fal fa-sparkles',
33
33
  'ai.gradient': AiGradientIcon,
34
34
  'ai.image': 'fa-kit fa-light-image-sparkle-tr',
35
+ 'ai.component': AiGradientComponent,
36
+ 'ai.component.flat': 'fa-kit fa-light-cube-sparkle-tr',
35
37
  'ai.text': 'fa-kit fa-light-text-sparkle-tr',
36
38
  'ai.file': 'fa-kit fa-light-file-lines-sparkle',
37
39
  sparkles: 'fa-solid fa-sparkles',
@@ -236,7 +238,7 @@ export const SilkeIconDefinitions = {
236
238
  project: 'fal fa-browser',
237
239
  projects: 'fal fa-browsers',
238
240
  draft: 'fal fa-file',
239
- drafts: 'fal fa-file',
241
+ drafts: 'fal fa-note-sticky',
240
242
  account: 'fal fa-building',
241
243
  user: 'fal fa-user',
242
244
  'user.add': 'fal fa-user-plus',
@@ -503,7 +505,10 @@ export const SilkeIconDefinitions = {
503
505
  'animate.fill-forwards': AnimationFillForwards,
504
506
  'animate.fill-both': AnimationFillBoth,
505
507
 
506
- qwiker: 'fal fa-rabbit-running',
508
+ // Themes
509
+ 'theme.color': 'fal fa-droplet',
510
+ 'theme.font': 'fal fa-font-case',
511
+
507
512
  };
508
513
 
509
514
  export const StateIcons = {
@@ -646,6 +651,7 @@ export function Section() {
646
651
  return (
647
652
  <svg width="24" height="24" viewBox="0 0 24 24">
648
653
  <path
654
+ fill="currentColor"
649
655
  fillRule="evenodd"
650
656
  clipRule="evenodd"
651
657
  d="M1 1.7c0-.4.3-.7.7-.7h20.6c.4 0 .7.3.7.7 0 .4-.3.7-.7.7H1.7a.7.7 0 0 1-.7-.7Zm19.9 4.9H3.1c-.3 0-.6.3-.6.6v9.6c0 .3.3.6.6.6h17.8c.3 0 .6-.3.6-.6V7.2c0-.3-.3-.6-.6-.6ZM3.1 5.2a2 2 0 0 0-2.1 2v9.6c0 1.1 1 2 2.1 2h17.8a2 2 0 0 0 2.1-2V7.2c0-1.1-1-2-2.1-2H3.1ZM1.7 21.6c-.4 0-.7.3-.7.7 0 .4.3.7.7.7h20.6c.4 0 .7-.3.7-.7 0-.4-.3-.7-.7-.7H1.7Z"
@@ -782,7 +788,7 @@ function FlipIconVertical() {
782
788
  return (
783
789
  <svg width="16" height="15" fill="none">
784
790
  <path
785
- fill="#currentColor"
791
+ fill="currentColor"
786
792
  fillRule="evenodd"
787
793
  d="M8.6208 4.4973a.9088.9088 0 0 1-1.2417 0l-2.617-2.4478c-.6022-.5632-.2037-1.5726.6208-1.5726h5.2342c.8244 0 1.2229 1.0094.6208 1.5726L8.6208 4.4973ZM5.2136 13.0581l2.6171-2.4478a.248.248 0 0 1 .3386 0l2.6171 2.4478c.1642.1535.0556.4289-.1693.4289H5.3829c-.2248 0-.3335-.2754-.1693-.4289Zm2.1656-2.9306a.909.909 0 0 1 1.2417 0l2.617 2.4478c.6022.5632.2036 1.5726-.6208 1.5726H5.3829c-.8244 0-1.2229-1.0094-.6208-1.5726l2.6171-2.4478ZM15.1288 7.4648a.4544.4544 0 0 1-.4544.4544h-.445a.4544.4544 0 0 1 0-.9089h.445c.251 0 .4544.2035.4544.4545Zm-2.2248 0a.4544.4544 0 0 1-.4544.4544h-.8899a.4545.4545 0 1 1 0-.9089h.8899c.251 0 .4544.2035.4544.4545Zm-2.6697 0a.4545.4545 0 0 1-.4545.4544H8.89a.4544.4544 0 1 1 0-.9089h.89c.2509 0 .4544.2035.4544.4545Zm-2.6698 0a.4544.4544 0 0 1-.4544.4544h-.89a.4544.4544 0 1 1 0-.9089h.89c.251 0 .4544.2035.4544.4545Zm-2.6698 0a.4544.4544 0 0 1-.4544.4544h-.89a.4544.4544 0 1 1 0-.9089h.89c.251 0 .4544.2035.4544.4545Zm-2.6697 0a.4544.4544 0 0 1-.4545.4544h-.445a.4544.4544 0 0 1 0-.9089h.445c.251 0 .4545.2035.4545.4545Z"
788
794
  clipRule="evenodd"
@@ -794,7 +800,7 @@ function FlipIconVertical() {
794
800
  function FlipIconHorizontal() {
795
801
  return (
796
802
  <svg width="16" height="17" fill="none">
797
- <g fill="#currentColor" fillRule="evenodd" clipRule="evenodd">
803
+ <g fill="currentColor" fillRule="evenodd" clipRule="evenodd">
798
804
  <path d="M4.9972 7.8792a.9088.9088 0 0 1 0 1.2417l-2.4478 2.617c-.5631.6022-1.5726.2037-1.5726-.6208V5.8829c0-.8244 1.0095-1.223 1.5726-.6208l2.4478 2.6171ZM13.5581 11.2864l-2.4478-2.6171a.248.248 0 0 1 0-.3386l2.4478-2.6171c.1535-.1642.4289-.0556.4289.1693v5.2342c0 .2248-.2754.3335-.4289.1693Zm-2.9306-2.1656a.909.909 0 0 1 0-1.2417l2.4478-2.617c.5632-.6022 1.5726-.2036 1.5726.6208v5.2342c0 .8244-1.0094 1.2229-1.5726.6208l-2.4478-2.6171ZM7.9648 1.3712c.251 0 .4544.2034.4544.4544v.445a.4544.4544 0 0 1-.9088 0v-.445c0-.251.2034-.4544.4544-.4544Zm0 2.2248c.251 0 .4544.2034.4544.4544v.89a.4545.4545 0 1 1-.9088 0v-.89c0-.251.2034-.4544.4544-.4544Zm0 2.6697c.251 0 .4544.2035.4544.4545V7.61a.4544.4544 0 1 1-.9088 0v-.89c0-.2509.2034-.4544.4544-.4544Zm0 2.6698c.251 0 .4544.2035.4544.4544v.89a.4544.4544 0 0 1-.9088 0v-.89c0-.251.2034-.4544.4544-.4544Zm0 2.6698c.251 0 .4544.2034.4544.4544v.8899a.4544.4544 0 1 1-.9088 0v-.8899c0-.251.2034-.4544.4544-.4544Zm0 2.6697c.251 0 .4544.2035.4544.4545v.4449a.4544.4544 0 1 1-.9088 0v-.4449c0-.251.2034-.4545.4544-.4545Z" />
799
805
  </g>
800
806
  </svg>
@@ -806,13 +812,13 @@ function ContentChildParent() {
806
812
  <svg width="17" height="16" viewBox="0 0 17 16" fill="none">
807
813
  <path
808
814
  d="M7.02297 6.52667L9.40281 8.90652C9.72509 9.204 9.72509 9.72459 9.40281 10.0221L7.02297 12.4019C6.52717 12.8977 5.68431 12.5507 5.68431 11.8317V7.07205C5.68431 6.37793 6.52717 6.03087 7.02297 6.52667ZM6.47759 11.8317L8.85743 9.4519L6.47759 7.07205V11.8317ZM11.2373 3.89893C12.1049 3.89893 12.8238 4.61784 12.8238 5.48549V13.4183C12.8238 14.3108 12.1049 15.0049 11.2373 15.0049H3.30446C2.41202 15.0049 1.7179 14.3108 1.7179 13.4183V5.48549C1.7179 4.61784 2.41202 3.89893 3.30446 3.89893H11.2373ZM12.0306 13.4183V5.48549C12.0306 5.06406 11.6587 4.69221 11.2373 4.69221H3.30446C2.85824 4.69221 2.51118 5.06406 2.51118 5.48549V13.4183C2.51118 13.8645 2.85824 14.2116 3.30446 14.2116H11.2373C11.6587 14.2116 12.0306 13.8645 12.0306 13.4183Z"
809
- fill="#currentColor"
815
+ fill="currentColor"
810
816
  />
811
817
  <path
812
818
  fillRule="evenodd"
813
819
  clipRule="evenodd"
814
820
  d="M15.6817 2.59047C15.6817 1.72282 14.9628 1.00391 14.0952 1.00391H6.16235C5.30149 1.00391 4.62517 1.67283 4.57837 2.49892H5.37454C5.42036 2.11663 5.74876 1.79719 6.16235 1.79719H14.0952C14.5166 1.79719 14.8884 2.16904 14.8884 2.59047V10.5233C14.8884 10.9252 14.5868 11.2466 14.219 11.3065V12.1051C15.0302 12.0428 15.6817 11.3729 15.6817 10.5233V2.59047Z"
815
- fill="#currentColor"
821
+ fill="currentColor"
816
822
  />
817
823
  </svg>
818
824
  );
@@ -870,3 +876,31 @@ function AiGradientIcon() {
870
876
  />
871
877
  );
872
878
  }
879
+
880
+ function AiGradientPage() {
881
+ return (
882
+ <i
883
+ className="fa-kit fa-light-file-lines-sparkle"
884
+ style={{
885
+ background: 'linear-gradient(208deg, #B38FFF 31.76%, #2AEEE1 123.33%)',
886
+ backgroundClip: 'text',
887
+ WebkitTextFillColor: 'transparent',
888
+ lineHeight: 'inherit',
889
+ }}
890
+ />
891
+ );
892
+ }
893
+
894
+ function AiGradientComponent() {
895
+ return (
896
+ <i
897
+ className="fa-kit fa-light-cube-sparkle-tr"
898
+ style={{
899
+ background: 'linear-gradient(208deg, #B38FFF 31.76%, #2AEEE1 123.33%)',
900
+ backgroundClip: 'text',
901
+ WebkitTextFillColor: 'transparent',
902
+ lineHeight: 'inherit',
903
+ }}
904
+ />
905
+ );
906
+ }