@vev/silke 1.1.3 → 1.1.7

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 (174) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/dist/index.js +40 -38
  3. package/dist/index.js.LEGAL.txt +12 -0
  4. package/dist/styles.css +1596 -1036
  5. package/dist/types/components/index.d.ts +4 -1
  6. package/dist/types/components/silke-autocomplete-field/autocomplete-types.d.ts +4 -0
  7. package/dist/types/components/silke-autocomplete-field/index.d.ts +1 -0
  8. package/dist/types/components/silke-autocomplete-field/silke-autocomplete-field-native.d.ts +60 -0
  9. package/dist/types/components/silke-autocomplete-field/silke-autocomplete-field.d.ts +3 -0
  10. package/dist/types/components/silke-autocomplete-field/silke-autocomplete-popup-native.d.ts +15 -0
  11. package/dist/types/components/silke-button/silke-dropdown-button.d.ts +8 -13
  12. package/dist/types/components/silke-card/silke-card-grid.d.ts +33 -1
  13. package/dist/types/components/silke-command-text-field/image-utils.d.ts +20 -0
  14. package/dist/types/components/silke-command-text-field/index.d.ts +4 -0
  15. package/dist/types/components/silke-command-text-field/silke-command-parser.d.ts +3 -0
  16. package/dist/types/components/silke-command-text-field/silke-command-parser.spec.d.ts +1 -0
  17. package/dist/types/components/silke-command-text-field/silke-command-text-field.d.ts +46 -0
  18. package/dist/types/components/silke-command-text-field/utils.d.ts +61 -0
  19. package/dist/types/components/silke-command-text-field/utils.spec.d.ts +1 -0
  20. package/dist/types/components/silke-conditions-input/utils.d.ts +1 -1
  21. package/dist/types/components/silke-form-schema/silke-schema-fields.d.ts +1 -0
  22. package/dist/types/components/silke-image/silke-image.d.ts +2 -1
  23. package/dist/types/components/silke-list/index.d.ts +1 -0
  24. package/dist/types/components/silke-list/silke-list-item.d.ts +24 -6
  25. package/dist/types/components/silke-list/silke-list.d.ts +9 -9
  26. package/dist/types/components/silke-list/types.d.ts +19 -0
  27. package/dist/types/components/silke-list/utils.d.ts +3 -0
  28. package/dist/types/components/silke-navigation-link/silke-navigation-link.d.ts +1 -0
  29. package/dist/types/components/silke-overflow-menu/silke-overflow-menu.d.ts +6 -1
  30. package/dist/types/components/silke-popover-native/index.d.ts +1 -0
  31. package/dist/types/components/silke-popover-native/silke-popover-native.d.ts +37 -0
  32. package/dist/types/components/silke-popover-native/types.d.ts +6 -0
  33. package/dist/types/components/silke-popover-native/use-popover-positioning.d.ts +9 -0
  34. package/dist/types/components/silke-select-field/index.d.ts +1 -0
  35. package/dist/types/components/silke-select-field/silke-select-field-native.d.ts +4 -0
  36. package/dist/types/components/silke-shortcut-button/index.d.ts +1 -0
  37. package/dist/types/components/silke-shortcut-button/silke-shortcut-button.d.ts +15 -0
  38. package/dist/types/components/silke-tag/silke-tag.d.ts +1 -1
  39. package/dist/types/icons.d.ts +32 -0
  40. package/jest.config.js +2 -3
  41. package/package.json +9 -3
  42. package/src/_variables.scss +125 -129
  43. package/src/components/index.ts +4 -1
  44. package/src/components/silke-action-box/silke-action-box.scss +2 -3
  45. package/src/components/silke-alert-banner/silke-alert-banner.scss +9 -10
  46. package/src/components/silke-autocomplete-field/autocomplete-item.tsx +2 -2
  47. package/src/components/silke-autocomplete-field/autocomplete-types.ts +4 -0
  48. package/src/components/silke-autocomplete-field/index.ts +1 -0
  49. package/src/components/silke-autocomplete-field/silke-autocomplete-field-native.tsx +346 -0
  50. package/src/components/silke-autocomplete-field/silke-autocomplete-field.mdx +39 -0
  51. package/src/components/silke-autocomplete-field/silke-autocomplete-field.scss +18 -12
  52. package/src/components/silke-autocomplete-field/silke-autocomplete-field.tsx +3 -0
  53. package/src/components/silke-autocomplete-field/silke-autocomplete-popup-native.tsx +542 -0
  54. package/src/components/silke-autocomplete-field/silke-autocomplete-popup.tsx +92 -41
  55. package/src/components/silke-box/silke-box.mdx +321 -21
  56. package/src/components/silke-box/silke-box.scss +5 -5
  57. package/src/components/silke-breadcrumbs/silke-breadcrumb.mdx +147 -9
  58. package/src/components/silke-breadcrumbs/silke-breadcrumb.scss +3 -3
  59. package/src/components/silke-button/silke-big-button.scss +1 -1
  60. package/src/components/silke-button/silke-button.scss +27 -18
  61. package/src/components/silke-button/silke-dropdown-button.mdx +67 -0
  62. package/src/components/silke-button/silke-dropdown-button.tsx +40 -122
  63. package/src/components/silke-card/silke-card-grid.tsx +5 -3
  64. package/src/components/silke-card/silke-card.scss +8 -7
  65. package/src/components/silke-card/silke-card.tsx +7 -1
  66. package/src/components/silke-checkbox/silke-checkbox.mdx +139 -14
  67. package/src/components/silke-checkbox/silke-checkbox.scss +11 -11
  68. package/src/components/silke-color-picker/color-picker.scss +8 -8
  69. package/src/components/silke-color-swatches/silke-color-swatches.mdx +130 -0
  70. package/src/components/silke-command-text-field/image-utils.ts +71 -0
  71. package/src/components/silke-command-text-field/index.ts +12 -0
  72. package/src/components/silke-command-text-field/silke-command-parser.spec.ts +89 -0
  73. package/src/components/silke-command-text-field/silke-command-parser.ts +47 -0
  74. package/src/components/silke-command-text-field/silke-command-text-field.mdx +301 -0
  75. package/src/components/silke-command-text-field/silke-command-text-field.module.scss +119 -0
  76. package/src/components/silke-command-text-field/silke-command-text-field.tsx +665 -0
  77. package/src/components/silke-command-text-field/utils.spec.ts +366 -0
  78. package/src/components/silke-command-text-field/utils.ts +287 -0
  79. package/src/components/silke-conditions-input/silke-conditions-input.scss +4 -4
  80. package/src/components/silke-content-column/silke-content-column.scss +1 -1
  81. package/src/components/silke-context-menu/silke-context-menu.scss +3 -4
  82. package/src/components/silke-context-menu/silke-context-menu.tsx +1 -1
  83. package/src/components/silke-css-number-field/silke-css-number-field.scss +14 -12
  84. package/src/components/silke-divider/silke-divider.mdx +154 -32
  85. package/src/components/silke-divider/silke-divider.scss +3 -2
  86. package/src/components/silke-drawer/silke-drawer.scss +6 -2
  87. package/src/components/silke-form/silke-form.mdx +254 -27
  88. package/src/components/silke-form-schema/fields/array-field-inline.tsx +1 -0
  89. package/src/components/silke-form-schema/fields/array-field-modal.tsx +1 -0
  90. package/src/components/silke-form-schema/fields/styles.scss +34 -35
  91. package/src/components/silke-form-schema/silke-schema-field.tsx +1 -1
  92. package/src/components/silke-form-schema/silke-schema-fields.tsx +4 -3
  93. package/src/components/silke-gradient-picker/silke-gradient-picker.module.scss +2 -2
  94. package/src/components/silke-icon/silke-icon.mdx +212 -8
  95. package/src/components/silke-icon/silke-icon.scss +10 -2
  96. package/src/components/silke-icon/silke-icon.tsx +1 -0
  97. package/src/components/silke-icon/silke-stacked-icon.scss +42 -45
  98. package/src/components/silke-icon-browser/silke-icon-browser.mdx +143 -0
  99. package/src/components/silke-image/silke-image-color-backdrop.scss +6 -6
  100. package/src/components/silke-image/silke-image.mdx +189 -41
  101. package/src/components/silke-image/silke-image.scss +3 -3
  102. package/src/components/silke-image/silke-image.tsx +14 -1
  103. package/src/components/silke-link/silke-link.scss +3 -5
  104. package/src/components/silke-list/index.ts +1 -0
  105. package/src/components/silke-list/silke-list-item.mdx +83 -0
  106. package/src/components/silke-list/silke-list-item.scss +119 -0
  107. package/src/components/silke-list/silke-list-item.tsx +137 -12
  108. package/src/components/silke-list/silke-list.mdx +108 -13
  109. package/src/components/silke-list/silke-list.scss +8 -15
  110. package/src/components/silke-list/silke-list.tsx +63 -9
  111. package/src/components/silke-list/types.ts +22 -0
  112. package/src/components/silke-list/utils.ts +24 -0
  113. package/src/components/silke-loader/silke-loader.mdx +139 -5
  114. package/src/components/silke-loader/silke-loader.scss +1 -1
  115. package/src/components/silke-modal/silke-modal.scss +9 -9
  116. package/src/components/silke-navigation-link/silke-navigation-link.mdx +27 -2
  117. package/src/components/silke-navigation-link/silke-navigation-link.scss +34 -40
  118. package/src/components/silke-navigation-link/silke-navigation-link.tsx +7 -6
  119. package/src/components/silke-overflow-menu/silke-overflow-menu.mdx +228 -31
  120. package/src/components/silke-overflow-menu/silke-overflow-menu.scss +8 -8
  121. package/src/components/silke-overflow-menu/silke-overflow-menu.tsx +14 -8
  122. package/src/components/silke-popover/silke-popover.scss +5 -5
  123. package/src/components/silke-popover-native/index.ts +1 -0
  124. package/src/components/silke-popover-native/silke-popover-native.mdx +207 -0
  125. package/src/components/silke-popover-native/silke-popover-native.scss +127 -0
  126. package/src/components/silke-popover-native/silke-popover-native.tsx +176 -0
  127. package/src/components/silke-popover-native/types.ts +21 -0
  128. package/src/components/silke-popover-native/use-popover-positioning.ts +157 -0
  129. package/src/components/silke-progress-indicator/silke-progress-indicator.scss +1 -1
  130. package/src/components/silke-radio-button/silke-radio-button.scss +18 -11
  131. package/src/components/silke-search-field/silke-search-field.mdx +161 -7
  132. package/src/components/silke-select-field/index.ts +1 -0
  133. package/src/components/silke-select-field/silke-select-field-native.tsx +17 -0
  134. package/src/components/silke-select-field/silke-select-field.mdx +65 -0
  135. package/src/components/silke-shortcut-button/index.ts +1 -0
  136. package/src/components/silke-shortcut-button/silke-shortcut-button.mdx +89 -0
  137. package/src/components/silke-shortcut-button/silke-shortcut-button.scss +145 -0
  138. package/src/components/silke-shortcut-button/silke-shortcut-button.tsx +55 -0
  139. package/src/components/silke-skeleton/silke-skeleton.mdx +109 -0
  140. package/src/components/silke-skeleton/silke-skeleton.scss +1 -1
  141. package/src/components/silke-slider/silke-slider.module.scss +19 -19
  142. package/src/components/silke-sortable-list/silke-nested-sortable-list.scss +3 -3
  143. package/src/components/silke-sortable-list/silke-sortable-list.scss +4 -5
  144. package/src/components/silke-table/silke-table.scss +1 -1
  145. package/src/components/silke-tabs/silke-tabs.scss +3 -3
  146. package/src/components/silke-tag/silke-tag.mdx +179 -43
  147. package/src/components/silke-tag/silke-tag.scss +49 -12
  148. package/src/components/silke-tag/silke-tag.tsx +17 -7
  149. package/src/components/silke-text/silke-text.scss +6 -4
  150. package/src/components/silke-text/silke-title.scss +7 -14
  151. package/src/components/silke-text-field/silke-text-field.scss +9 -9
  152. package/src/components/silke-text-field/silke-text-field.tsx +3 -2
  153. package/src/components/silke-tile/silke-tile.scss +7 -3
  154. package/src/components/silke-toast-notification/silke-toast-notification.scss +4 -5
  155. package/src/components/silke-toggle/silke-toggle.mdx +163 -33
  156. package/src/components/silke-toggle/silke-toggle.scss +4 -4
  157. package/src/components/silke-toolbar/silke-toolbar.scss +1 -1
  158. package/src/components/silke-tooltip/silke-shortcuts.tsx +3 -3
  159. package/src/components/silke-tooltip/silke-tooltip.scss +11 -16
  160. package/src/components/silke-variables-wrapper/silke-variables-wrapper.scss +9 -7
  161. package/src/components/silke-virtual/silke-virtual.mdx +161 -0
  162. package/src/components/silke-virtual/silke-virtual.scss +8 -8
  163. package/src/icons.tsx +45 -1
  164. package/src/styles/core.scss +42 -45
  165. package/src/styles/math.scss +66 -66
  166. package/tsconfig.build.json +2 -6
  167. package/tsconfig.build.tsbuildinfo +1 -1
  168. package/tsconfig.json +3 -14
  169. package/dist/types/components/silke-list-card/index.d.ts +0 -1
  170. package/dist/types/components/silke-list-card/silke-list-card.d.ts +0 -14
  171. package/src/components/silke-list-card/index.ts +0 -1
  172. package/src/components/silke-list-card/silke-list-card.mdx +0 -46
  173. package/src/components/silke-list-card/silke-list-card.scss +0 -57
  174. package/src/components/silke-list-card/silke-list-card.tsx +0 -63
@@ -8,7 +8,9 @@ export declare const SilkeIconDefinitions: {
8
8
  close: string;
9
9
  delete: string;
10
10
  edit: string;
11
+ 'edit.line': string;
11
12
  'edit.pen': string;
13
+ 'pen.swirl': string;
12
14
  error: string;
13
15
  help: string;
14
16
  community: string;
@@ -22,6 +24,13 @@ export declare const SilkeIconDefinitions: {
22
24
  'cloud.check': string;
23
25
  'cloud.slash': string;
24
26
  ai: string;
27
+ 'ai.sparkle': string;
28
+ 'ai.page': string;
29
+ 'ai.sparkels': string;
30
+ 'ai.gradient': typeof AiGradientIcon;
31
+ 'ai.image': string;
32
+ 'ai.text': string;
33
+ 'ai.file': string;
25
34
  sparkles: string;
26
35
  compare: string;
27
36
  menuMore: string;
@@ -69,6 +78,7 @@ export declare const SilkeIconDefinitions: {
69
78
  square: string;
70
79
  shapes: string;
71
80
  sharedStyle: string;
81
+ paintbrush: string;
72
82
  firefox: string;
73
83
  safari: string;
74
84
  'square.dashed': string;
@@ -83,14 +93,19 @@ export declare const SilkeIconDefinitions: {
83
93
  'dots.vertical': string;
84
94
  'dots.horizontal': string;
85
95
  star: string;
96
+ 'star.filled': string;
86
97
  eyeDropper: string;
87
98
  log: string;
88
99
  dashboard: string;
89
100
  test: string;
90
101
  guest: string;
102
+ cartoon: string;
91
103
  'network.on': string;
92
104
  'network.off': string;
93
105
  grid: string;
106
+ 'memo.circle.check': string;
107
+ 'bring.forward': string;
108
+ 'bring.backward': string;
94
109
  moon: string;
95
110
  sun: string;
96
111
  notification: string;
@@ -119,6 +134,7 @@ export declare const SilkeIconDefinitions: {
119
134
  'code.fork': string;
120
135
  'code.compare': string;
121
136
  'code.history': string;
137
+ 'code.rectangle': string;
122
138
  messages: string;
123
139
  'keyboard.command': string;
124
140
  'keyboard.option': string;
@@ -163,6 +179,8 @@ export declare const SilkeIconDefinitions: {
163
179
  'arrow.up.right.and.down.left': string;
164
180
  'arrows.left.right': string;
165
181
  'arrows.up.down': string;
182
+ 'arrows.from.dotted.line': string;
183
+ 'arrows.to.dotted.line': string;
166
184
  'padding.all': string;
167
185
  'padding.top.bottom': string;
168
186
  'padding.left.right': string;
@@ -191,6 +209,7 @@ export declare const SilkeIconDefinitions: {
191
209
  commentMarker: string;
192
210
  template: string;
193
211
  templates: string;
212
+ templatesLegacy: string;
194
213
  page: string;
195
214
  project: string;
196
215
  projects: string;
@@ -224,6 +243,7 @@ export declare const SilkeIconDefinitions: {
224
243
  'credit-card': string;
225
244
  money: string;
226
245
  dynamic: string;
246
+ slash: string;
227
247
  'geo.fence.disabled': string;
228
248
  'geo.fence.enabled': string;
229
249
  'editor.design': string;
@@ -233,6 +253,7 @@ export declare const SilkeIconDefinitions: {
233
253
  gradient: typeof GradientIcon;
234
254
  image: string;
235
255
  images: string;
256
+ camera: string;
236
257
  video: string;
237
258
  audio: string;
238
259
  fill: string;
@@ -267,6 +288,7 @@ export declare const SilkeIconDefinitions: {
267
288
  diamond: string;
268
289
  crosshair: string;
269
290
  clone: string;
291
+ 'clone-plus': string;
270
292
  'globe-pointer': string;
271
293
  globe: string;
272
294
  'align.text.right': string;
@@ -310,6 +332,9 @@ export declare const SilkeIconDefinitions: {
310
332
  'file.export': string;
311
333
  home: string;
312
334
  qr: string;
335
+ 'pin.on': string;
336
+ 'pin.off': string;
337
+ eraser: string;
313
338
  list: string;
314
339
  'list.ol': string;
315
340
  'list.check': string;
@@ -360,6 +385,9 @@ export declare const SilkeIconDefinitions: {
360
385
  sass: string;
361
386
  typescript: typeof TypescriptIcon;
362
387
  html5: string;
388
+ translate: string;
389
+ spell: string;
390
+ 'tone.of.voice': string;
363
391
  'American Express': string;
364
392
  Amex: string;
365
393
  'Diners Club': string;
@@ -375,6 +403,7 @@ export declare const SilkeIconDefinitions: {
375
403
  laptop: string;
376
404
  mobile: string;
377
405
  tablet: string;
406
+ devices: string;
378
407
  'device.custom': string;
379
408
  bar: string;
380
409
  line: string;
@@ -399,6 +428,8 @@ export declare const SilkeIconDefinitions: {
399
428
  'interaction.disabled': string;
400
429
  'interaction.scroll-parallax': string;
401
430
  'interaction.slider': string;
431
+ 'interaction.movement': string;
432
+ 'interaction.translate': string;
402
433
  'variable.icon': string;
403
434
  'variable.color': string;
404
435
  'variable.text': string;
@@ -462,4 +493,5 @@ declare function ContentChildParent(): import("react/jsx-runtime").JSX.Element;
462
493
  declare function AnimationFillBackwards(): import("react/jsx-runtime").JSX.Element;
463
494
  declare function AnimationFillForwards(): import("react/jsx-runtime").JSX.Element;
464
495
  declare function AnimationFillBoth(): import("react/jsx-runtime").JSX.Element;
496
+ declare function AiGradientIcon(): import("react/jsx-runtime").JSX.Element;
465
497
  export {};
package/jest.config.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable */
2
- const base = require('../../jest.config.base');
2
+ const base = require('../../jest.config.base');
3
3
  const package = require('./package.json');
4
4
 
5
5
  const packageName = package.name.split('@vev/').pop();
@@ -10,7 +10,7 @@ module.exports = {
10
10
  rootDir: '../..',
11
11
  roots: [`<rootDir>/packages/${packageName}`],
12
12
  testRegex: `(packages/${packageName}/.*/__tests__/.*|\\.(spec|test))\\.tsx?$`,
13
- testEnvironmentOptions: { url: 'http://localhost/', },
13
+ testEnvironmentOptions: { url: 'http://localhost/' },
14
14
  moduleDirectories: ['node_modules', 'src'],
15
15
  testEnvironment: 'jsdom',
16
16
  setupFiles: [
@@ -22,5 +22,4 @@ module.exports = {
22
22
  moduleNameMapper: {
23
23
  '^.+\\.(css|less|scss)$': '<rootDir>/jest/empty-file.js',
24
24
  },
25
- transformIgnorePatterns: ['node_modules/(?!(nanoid|nanoid\/non-secure)/)'],
26
25
  };
package/package.json CHANGED
@@ -1,7 +1,12 @@
1
1
  {
2
2
  "name": "@vev/silke",
3
- "version": "1.1.3",
3
+ "version": "1.1.7",
4
4
  "license": "MIT",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/vev-design/vev.git",
8
+ "directory": "packages/silke"
9
+ },
5
10
  "main": "dist/index.js",
6
11
  "types": "dist/types/index.d.ts",
7
12
  "scripts": {
@@ -19,13 +24,14 @@
19
24
  "peerDependencies": {
20
25
  "react": ">=16.0.0",
21
26
  "react-dom": ">=16.0.0",
22
- "react-router-dom": "^7.6.3"
27
+ "react-router-dom": "^7.12.0"
23
28
  },
24
29
  "dependencies": {
25
30
  "@vev/interactions": "*",
26
31
  "@vev/react": "*",
27
32
  "@vev/utils": "*",
28
- "classnames": ">=2.2.0"
33
+ "classnames": ">=2.2.0",
34
+ "invokers": "^1.8.0"
29
35
  },
30
36
  "devDependencies": {
31
37
  "del-cli": "*",
@@ -1,144 +1,133 @@
1
- @use "sass:math";
1
+ @use 'sass:math';
2
2
 
3
3
  /**********************
4
4
  * SOME MATH
5
5
  ************************/
6
- @import "./styles/math.scss";
6
+ @import './styles/math.scss';
7
7
 
8
8
  $colors:
9
9
  // Surface
10
- "surface-0" transparent,
11
- "surface-1" rgba(white,0.04),
12
- "surface-2" rgba(white,0.06),
13
- "surface-3" rgba(white,0.08),
14
- "surface-4" rgba(white,0.12),
10
+ 'surface-0' transparent,
11
+ 'surface-1' rgba(white, 0.04),
12
+ 'surface-2' rgba(white, 0.06),
13
+ 'surface-3' rgba(white, 0.08),
14
+ 'surface-4' rgba(white, 0.12),
15
15
  /**********
16
16
  * Accent colors *
17
- **********/
18
- // Accent
19
- "accent-10" #0D2759,
20
- "accent-20" #1C53BF,
21
- "accent-30" #256CFA,
22
- "accent-40" #4584FF,
23
- "accent-50" #80ABFF,
24
- "accent-60" #CCDDFF,
25
-
17
+ **********/ // Accent
18
+ 'accent-10' #0d2759,
19
+ 'accent-20' #1c53bf,
20
+ 'accent-30' #256cfa,
21
+ 'accent-40' #4584ff,
22
+ 'accent-50' #80abff,
23
+ 'accent-60' #ccddff,
26
24
  // Feedback/Error
27
- "error-10" #661018,
28
- "error-20" #A61B27,
29
- "error-30" #E52535,
30
- "error-40" #F26D78,
31
- "error-50" #F29199,
32
- "error-60" #F2DADC,
33
-
25
+ 'error-10' #661018,
26
+ 'error-20' #a61b27,
27
+ 'error-30' #e52535,
28
+ 'error-40' #f26d78,
29
+ 'error-50' #f29199,
30
+ 'error-60' #f2dadc,
34
31
  // Feedback/Warning
35
- "warning-10" #73500B,
36
- "warning-20" #996B0F,
37
- "warning-30" #F2C53D,
38
- "warning-40" #F2D785,
39
- "warning-50" #F2E0AA,
40
- "warning-60" #F2E9CE,
41
-
32
+ 'warning-10' #73500b,
33
+ 'warning-20' #996b0f,
34
+ 'warning-30' #f2c53d,
35
+ 'warning-40' #f2d785,
36
+ 'warning-50' #f2e0aa,
37
+ 'warning-60' #f2e9ce,
42
38
  // Feedback/Success
43
- "success-10" #045944,
44
- "success-20" #0E8C6D,
45
- "success-30" #14CC9E,
46
- "success-40" #4CD9B6,
47
- "success-50" #89E5CE,
48
- "success-60" #DAF2EC,
49
-
39
+ 'success-10' #045944,
40
+ 'success-20' #0e8c6d,
41
+ 'success-30' #14cc9e,
42
+ 'success-40' #4cd9b6,
43
+ 'success-50' #89e5ce,
44
+ 'success-60' #daf2ec,
50
45
  /**********
51
46
  * Neutral colors *
52
- **********/
53
- "neutral-0" #131313,
54
- "neutral-5" #1E1E1E,
55
- "neutral-10" #252525,
56
- "neutral-20" #2F2F2F,
57
- "neutral-30" #3E3E3E,
58
- "neutral-40" #535353,
59
- "neutral-50" #6C6C6C,
60
- "neutral-60" #848484,
61
- "neutral-70" #A9A9A9,
62
- "neutral-80" #C2C2C2,
63
- "neutral-90" #DADADA,
64
- "neutral-100" #FCFCFC,
65
-
47
+ **********/ 'neutral-0' #131313,
48
+ 'neutral-5' #1e1e1e,
49
+ 'neutral-10' #252525,
50
+ 'neutral-20' #2f2f2f,
51
+ 'neutral-30' #3e3e3e,
52
+ 'neutral-40' #535353,
53
+ 'neutral-50' #6c6c6c,
54
+ 'neutral-60' #848484,
55
+ 'neutral-70' #a9a9a9,
56
+ 'neutral-80' #c2c2c2,
57
+ 'neutral-90' #dadada,
58
+ 'neutral-100' #fcfcfc,
66
59
  /**********
67
60
  * Support colors *
68
- **********/
69
- // Support/Primary
70
- "support-primary-10" #3C302A,
71
- "support-primary-20" #6A5549,
72
- "support-primary-30" #A48A7B,
73
- "support-primary-40" #C1AFA4,
74
- "support-primary-50" #D5C9C3,
75
- "support-primary-60" #EAE4E1,
76
- // Support/Secondary
77
- "support-secondary-10" #003366,
78
- "support-secondary-20" #0059b2,
79
- "support-secondary-30" #0d86ff,
80
- "support-secondary-40" #4CA6FF,
81
- "support-secondary-50" #80bfff,
82
- "support-secondary-60" #e5f2ff,
61
+ **********/ // Support/Primary
62
+ 'support-primary-10' #3c302a,
63
+ 'support-primary-20' #6a5549,
64
+ 'support-primary-30' #a48a7b,
65
+ 'support-primary-40' #c1afa4,
66
+ 'support-primary-50' #d5c9c3,
67
+ 'support-primary-60' #eae4e1,
68
+ // Support/Secondary
69
+ 'support-secondary-10' #003366,
70
+ 'support-secondary-20' #0059b2,
71
+ 'support-secondary-30' #0d86ff,
72
+ 'support-secondary-40' #4ca6ff,
73
+ 'support-secondary-50' #80bfff,
74
+ 'support-secondary-60' #e5f2ff,
83
75
  // Support/tertiary
84
- "support-tertiary-10" #591B3F,
85
- "support-tertiary-20" #A63275,
86
- "support-tertiary-30" #CC47A0,
87
- "support-tertiary-40" #E065C2,
88
- "support-tertiary-50" #E087CA,
89
- "support-tertiary-60" #F2CEE9,
76
+ 'support-tertiary-10' #591b3f,
77
+ 'support-tertiary-20' #a63275,
78
+ 'support-tertiary-30' #cc47a0,
79
+ 'support-tertiary-40' #e065c2,
80
+ 'support-tertiary-50' #e087ca,
81
+ 'support-tertiary-60' #f2cee9,
90
82
  // Support/quaternary
91
- "support-quaternary-10" #492B8F,
92
- "support-quaternary-20" #5F38B9,
93
- "support-quaternary-30" #7850D2,
94
- "support-quaternary-40" #936CEC,
95
- "support-quaternary-50" #AE90F0,
96
- "support-quaternary-60" #C8B5F3,
97
-
83
+ 'support-quaternary-10' #492b8f,
84
+ 'support-quaternary-20' #5f38b9,
85
+ 'support-quaternary-30' #7850d2,
86
+ 'support-quaternary-40' #936cec,
87
+ 'support-quaternary-50' #ae90f0,
88
+ 'support-quaternary-60' #c8b5f3,
98
89
  /**********
99
90
  * Brand colors *
100
- **********/
101
- // Brand/Primary
102
- "brand-primary-bright" #ffff00,
103
- "brand-primary-10" #5a2820,
104
- "brand-primary-20" #AA6739,
105
- "brand-primary-30" #ECB54F,
106
- "brand-primary-40" #F0C665,
107
- "brand-primary-50" #F5D77C,
108
- "brand-primary-60" #fae794,
91
+ **********/ // Brand/Primary
92
+ 'brand-primary-bright' #ffff00,
93
+ 'brand-primary-10' #5a2820,
94
+ 'brand-primary-20' #aa6739,
95
+ 'brand-primary-30' #ecb54f,
96
+ 'brand-primary-40' #f0c665,
97
+ 'brand-primary-50' #f5d77c,
98
+ 'brand-primary-60' #fae794,
109
99
  // Brand/Secondary
110
- "brand-secondary-bright" #01dccd,
111
- "brand-secondary-10" #173343,
112
- "brand-secondary-20" #296D79,
113
- "brand-secondary-30" #57ada1,
114
- "brand-secondary-40" #7DBCAC,
115
- "brand-secondary-50" #9DCBBA,
116
- "brand-secondary-60" #BCDACB,
100
+ 'brand-secondary-bright' #01dccd,
101
+ 'brand-secondary-10' #173343,
102
+ 'brand-secondary-20' #296d79,
103
+ 'brand-secondary-30' #57ada1,
104
+ 'brand-secondary-40' #7dbcac,
105
+ 'brand-secondary-50' #9dcbba,
106
+ 'brand-secondary-60' #bcdacb,
117
107
  // Brand/Tertiary
118
- "brand-tertiary-bright" #FF0000,
119
- "brand-tertiary-10" #4C1726,
120
- "brand-tertiary-20" #9A1E2D,
121
- "brand-tertiary-30" #E6332A,
122
- "brand-tertiary-40" #F86A6A,
123
- "brand-tertiary-50" #F89FB4,
124
- "brand-tertiary-60" #EFD1DE,
108
+ 'brand-tertiary-bright' #ff0000,
109
+ 'brand-tertiary-10' #4c1726,
110
+ 'brand-tertiary-20' #9a1e2d,
111
+ 'brand-tertiary-30' #e6332a,
112
+ 'brand-tertiary-40' #f86a6a,
113
+ 'brand-tertiary-50' #f89fb4,
114
+ 'brand-tertiary-60' #efd1de,
125
115
  // Brand/Quaternary
126
- "brand-quaternary-10" #46372C,
127
- "brand-quaternary-20" #735F52,
128
- "brand-quaternary-30" #A48A7B,
129
- "brand-quaternary-40" #BBA08E,
130
- "brand-quaternary-50" #D3B7A1,
131
- "brand-quaternary-60" #EACEB4,
132
-
133
- "black" #000000;
116
+ 'brand-quaternary-10' #46372c,
117
+ 'brand-quaternary-20' #735f52,
118
+ 'brand-quaternary-30' #a48a7b,
119
+ 'brand-quaternary-40' #bba08e,
120
+ 'brand-quaternary-50' #d3b7a1,
121
+ 'brand-quaternary-60' #eaceb4,
122
+ 'black' #000000;
134
123
 
135
124
  /**********************
136
125
  * FONT
137
126
  ************************/
138
- $font-family: "Roboto Flex", serif;
139
- $font-family-brand: "Roboto Flex", serif;
140
- $font-family-login: "Iskry", "Roboto Flex", sans-serif;
141
- $font-mono: "Source Code Pro", monospace;
127
+ $font-family: 'Roboto Flex', serif;
128
+ $font-family-brand: 'Roboto Flex', serif;
129
+ $font-family-login: 'Iskry', 'Roboto Flex', sans-serif;
130
+ $font-mono: 'Source Code Pro', monospace;
142
131
  $font-weight: normal;
143
132
  $font-style: normal;
144
133
  $font-weight: 400;
@@ -156,14 +145,23 @@ $space-none: 0px;
156
145
  $space-xxs: 2px;
157
146
  $space-xs: 4px;
158
147
  $space-s: 8px;
159
- $space-sm:12px;
148
+ $space-sm: 12px;
160
149
  $space-m: 16px;
161
150
  $space-l: 24px;
162
151
  $space-xl: 32px;
163
152
  $space-xxl: 48px;
164
153
  $space-xxxl: 64px;
165
- $space: "xxs" $space-xxs, "xs" $space-xs, "s" $space-s, "sm" $space-sm, "m" $space-m,
166
- "l" $space-l, "xl" $space-xl, "xxl" $space-xxl, "xxxl" $space-xxxl, "none" $space-none;
154
+ $space:
155
+ 'xxs' $space-xxs,
156
+ 'xs' $space-xs,
157
+ 's' $space-s,
158
+ 'sm' $space-sm,
159
+ 'm' $space-m,
160
+ 'l' $space-l,
161
+ 'xl' $space-xl,
162
+ 'xxl' $space-xxl,
163
+ 'xxxl' $space-xxxl,
164
+ 'none' $space-none;
167
165
 
168
166
  /**********************
169
167
  * SIZES
@@ -178,16 +176,15 @@ $size-xxl: 80px;
178
176
  $size-256: 256px;
179
177
  $size-512: 512px;
180
178
  $sizes:
181
- "xs" $size-xs,
182
- "s" $size-s,
183
- "base" $size-base,
184
- "m" $size-m,
185
- "l" $size-l,
186
- "xl" $size-xl,
187
- "xxl" $size-xxl,
188
- "256" $size-256,
189
- "512" $size-512;
190
-
179
+ 'xs' $size-xs,
180
+ 's' $size-s,
181
+ 'base' $size-base,
182
+ 'm' $size-m,
183
+ 'l' $size-l,
184
+ 'xl' $size-xl,
185
+ 'xxl' $size-xxl,
186
+ '256' $size-256,
187
+ '512' $size-512;
191
188
 
192
189
  /**
193
190
  * Get font size base on base font size
@@ -205,7 +202,7 @@ $sizes:
205
202
  $e: 2.71828182846;
206
203
  font-size: $size;
207
204
  font-style: $font-style;
208
- line-height: ceil(math.div(($size * 1.3) , 8)) * 8;
205
+ line-height: ceil(math.div(($size * 1.3), 8)) * 8;
209
206
  letter-spacing: #{(-0.0223 + 0.185 * pow($e, -0.1745 * $size)) * 1em};
210
207
  @if $size > $font-base {
211
208
  font-weight: $font-weight-header;
@@ -219,4 +216,3 @@ $sizes:
219
216
  color: var(--color-neutral-100);
220
217
  @include fontSize($size);
221
218
  }
222
-
@@ -11,6 +11,7 @@ export * from './silke-color-palettes';
11
11
  export * from './silke-color-swatches';
12
12
  export * from './silke-content-column';
13
13
  export * from './silke-context-menu';
14
+ export * from './silke-command-text-field';
14
15
  export * from './silke-divider';
15
16
  export * from './silke-drawer';
16
17
  export * from './silke-form-schema';
@@ -19,7 +20,6 @@ export * from './silke-iframe-portal';
19
20
  export * from './silke-image';
20
21
  export * from './silke-link';
21
22
  export * from './silke-list';
22
- export * from './silke-list-card';
23
23
  export * from './silke-loader';
24
24
  export * from './silke-modal';
25
25
  export * from './silke-navigation-link';
@@ -41,6 +41,9 @@ export * from './silke-tile';
41
41
  export * from './silke-toolbar';
42
42
  export * from './silke-tooltip';
43
43
  export * from './silke-action-box';
44
+ export * from './silke-shortcut-button';
45
+ export * from './silke-popover-native';
46
+ export * from './silke-list';
44
47
 
45
48
  // Form fields
46
49
  export * from './silke-autocomplete-field';
@@ -1,5 +1,4 @@
1
- @use "../../variables" as *;
2
-
1
+ @use '../../variables' as *;
3
2
 
4
3
  .wrapper {
5
4
  border: 1px solid var(--color-surface-3);
@@ -113,4 +112,4 @@
113
112
  .content {
114
113
  padding-top: var(--space-m);
115
114
  }
116
- }
115
+ }
@@ -1,12 +1,12 @@
1
- @use "../../variables" as *;
2
-
1
+ @use '../../variables' as *;
3
2
 
4
3
  .notificationBox {
5
4
  --notification-background: var(--color-support-secondary-10-rgb);
6
5
  --notification-color: var(--color-support-secondary-40);
7
6
  --notification-background-opacity: var(--opacity-level-medium);
8
7
  filter: var(--shadow-level-1);
9
- background: linear-gradient(
8
+ background:
9
+ linear-gradient(
10
10
  0deg,
11
11
  rgba(var(--notification-background), var(--notification-background-opacity)),
12
12
  rgba(var(--notification-background), var(--notification-background-opacity))
@@ -15,7 +15,6 @@
15
15
  color: white;
16
16
  max-width: 1096px;
17
17
  --notification-background-opacity: 1;
18
-
19
18
 
20
19
  // Double class to override silke button
21
20
  .close.close.close {
@@ -36,7 +35,7 @@
36
35
  justify-content: center;
37
36
 
38
37
  &:hover {
39
- color: rgba(var(--color-neutral-100-rgb), .5)
38
+ color: rgba(var(--color-neutral-100-rgb), 0.5);
40
39
  }
41
40
  }
42
41
 
@@ -45,10 +44,10 @@
45
44
  font-weight: bold;
46
45
  justify-content: start;
47
46
  align-items: flex-end;
48
- padding:0;
47
+ padding: 0;
49
48
  line-height: 18px;
50
- height:18px;
51
- min-height:18px;
49
+ height: 18px;
50
+ min-height: 18px;
52
51
  --silke-button-background: transparent;
53
52
  --silke-button-background-hover: transparent;
54
53
  --silke-button-background-pressed: transparent;
@@ -97,7 +96,7 @@
97
96
 
98
97
  .scale {
99
98
  opacity: 0;
100
- animation: scale 250ms 300ms cubic-bezier(.45,.65,.62,.99) forwards;
99
+ animation: scale 250ms 300ms cubic-bezier(0.45, 0.65, 0.62, 0.99) forwards;
101
100
  transform-origin: center center;
102
101
  }
103
102
 
@@ -113,5 +112,5 @@
113
112
  100% {
114
113
  opacity: 1;
115
114
  transform: scale(1);
116
- }
115
+ }
117
116
  }
@@ -61,8 +61,8 @@ export default function AutocompleteItem<T, U extends Entry<T>>({
61
61
  role="option"
62
62
  height={boxSize}
63
63
  hPad={ItemRender || item.icon || item.image ? undefined : 's'}
64
- bg={highlight ? 'neutral-30' : undefined}
65
- bgHover={isDisabled ? undefined : 'neutral-30'}
64
+ bg={highlight ? 'surface-2' : undefined}
65
+ bgHover={isDisabled ? undefined : 'surface-2'}
66
66
  vAlign="center"
67
67
  gap={item.icon || item.image ? 'xxs' : 'xs'}
68
68
  rounded={size === 's' ? 'tiny' : 'small'}
@@ -26,6 +26,10 @@ export interface Data<T> {
26
26
  */
27
27
  subLabel?: string;
28
28
  value: T;
29
+ /**
30
+ * Group label for the item (creates optionGroup)
31
+ */
32
+ groupLabel?: string;
29
33
  }
30
34
 
31
35
  export interface Divider {
@@ -1,6 +1,7 @@
1
1
  import AutocompleteTags from './autocomplete-tags';
2
2
 
3
3
  export * from './silke-autocomplete-field';
4
+ export * from './silke-autocomplete-field-native';
4
5
  export { Entry } from './autocomplete-types';
5
6
  export * from './autocomplete-tags';
6
7
  export { AutocompleteTags };