@vev/silke 1.1.6 → 1.1.8

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 (164) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/index.js +34 -34
  3. package/dist/index.js.LEGAL.txt +12 -12
  4. package/dist/styles.css +4416 -4020
  5. package/dist/types/components/index.d.ts +3 -2
  6. package/dist/types/components/silke-button/silke-dropdown-button.d.ts +8 -13
  7. package/dist/types/components/silke-card/silke-card-grid.d.ts +33 -1
  8. package/dist/types/components/silke-command-text-field/image-utils.d.ts +20 -0
  9. package/dist/types/components/silke-command-text-field/index.d.ts +4 -0
  10. package/dist/types/components/silke-command-text-field/silke-command-parser.d.ts +3 -0
  11. package/dist/types/components/silke-command-text-field/silke-command-parser.spec.d.ts +1 -0
  12. package/dist/types/components/silke-command-text-field/silke-command-text-field.d.ts +46 -0
  13. package/dist/types/components/silke-command-text-field/utils.d.ts +61 -0
  14. package/dist/types/components/silke-command-text-field/utils.spec.d.ts +1 -0
  15. package/dist/types/components/silke-conditions-input/utils.d.ts +1 -1
  16. package/dist/types/components/silke-form-schema/fields/color-field.d.ts +3 -0
  17. package/dist/types/components/silke-form-schema/schema-utils.d.ts +6 -1
  18. package/dist/types/components/silke-form-schema/silke-schema-fields.d.ts +1 -0
  19. package/dist/types/components/silke-image/silke-image.d.ts +2 -1
  20. package/dist/types/components/silke-list/index.d.ts +1 -0
  21. package/dist/types/components/silke-list/silke-list-item.d.ts +24 -6
  22. package/dist/types/components/silke-list/silke-list.d.ts +9 -9
  23. package/dist/types/components/silke-list/types.d.ts +19 -0
  24. package/dist/types/components/silke-list/utils.d.ts +3 -0
  25. package/dist/types/components/silke-navigation-link/silke-navigation-link.d.ts +1 -0
  26. package/dist/types/components/silke-overflow-menu/silke-overflow-menu.d.ts +6 -1
  27. package/dist/types/components/silke-popover-native/silke-popover-native.d.ts +3 -1
  28. package/dist/types/components/silke-shortcut-button/index.d.ts +1 -0
  29. package/dist/types/components/silke-shortcut-button/silke-shortcut-button.d.ts +15 -0
  30. package/dist/types/components/silke-tag/silke-tag.d.ts +1 -1
  31. package/dist/types/icons.d.ts +32 -0
  32. package/jest.config.js +2 -3
  33. package/package.json +7 -2
  34. package/src/_variables.scss +125 -129
  35. package/src/components/index.ts +3 -2
  36. package/src/components/silke-action-box/silke-action-box.scss +2 -3
  37. package/src/components/silke-alert-banner/silke-alert-banner.scss +9 -10
  38. package/src/components/silke-autocomplete-field/autocomplete-item.tsx +2 -2
  39. package/src/components/silke-autocomplete-field/silke-autocomplete-field.scss +18 -12
  40. package/src/components/silke-autocomplete-field/silke-autocomplete-popup-native.tsx +3 -2
  41. package/src/components/silke-autocomplete-field/silke-autocomplete-popup.tsx +63 -44
  42. package/src/components/silke-box/silke-box.mdx +321 -21
  43. package/src/components/silke-box/silke-box.scss +5 -5
  44. package/src/components/silke-breadcrumbs/silke-breadcrumb.mdx +147 -9
  45. package/src/components/silke-breadcrumbs/silke-breadcrumb.scss +3 -3
  46. package/src/components/silke-button/silke-big-button.scss +1 -1
  47. package/src/components/silke-button/silke-button.scss +24 -15
  48. package/src/components/silke-button/silke-dropdown-button.mdx +67 -0
  49. package/src/components/silke-button/silke-dropdown-button.tsx +40 -122
  50. package/src/components/silke-card/silke-card-grid.tsx +5 -3
  51. package/src/components/silke-card/silke-card.scss +8 -7
  52. package/src/components/silke-card/silke-card.tsx +7 -1
  53. package/src/components/silke-checkbox/silke-checkbox.mdx +139 -14
  54. package/src/components/silke-checkbox/silke-checkbox.scss +11 -11
  55. package/src/components/silke-color-picker/color-picker.scss +8 -8
  56. package/src/components/silke-color-swatches/silke-color-swatches.mdx +130 -0
  57. package/src/components/silke-command-text-field/image-utils.ts +71 -0
  58. package/src/components/silke-command-text-field/index.ts +12 -0
  59. package/src/components/silke-command-text-field/silke-command-parser.spec.ts +89 -0
  60. package/src/components/silke-command-text-field/silke-command-parser.ts +47 -0
  61. package/src/components/silke-command-text-field/silke-command-text-field.mdx +301 -0
  62. package/src/components/silke-command-text-field/silke-command-text-field.module.scss +119 -0
  63. package/src/components/silke-command-text-field/silke-command-text-field.tsx +672 -0
  64. package/src/components/silke-command-text-field/utils.spec.ts +366 -0
  65. package/src/components/silke-command-text-field/utils.ts +287 -0
  66. package/src/components/silke-conditions-input/silke-conditions-input.scss +4 -4
  67. package/src/components/silke-content-column/silke-content-column.scss +1 -1
  68. package/src/components/silke-context-menu/silke-context-menu.scss +3 -4
  69. package/src/components/silke-context-menu/silke-context-menu.tsx +1 -1
  70. package/src/components/silke-css-number-field/silke-css-number-field.scss +14 -12
  71. package/src/components/silke-divider/silke-divider.mdx +154 -32
  72. package/src/components/silke-divider/silke-divider.scss +3 -2
  73. package/src/components/silke-drawer/silke-drawer.scss +6 -2
  74. package/src/components/silke-form/silke-form.mdx +254 -27
  75. package/src/components/silke-form-schema/fields/array-field-inline.tsx +1 -0
  76. package/src/components/silke-form-schema/fields/array-field-modal.tsx +9 -4
  77. package/src/components/silke-form-schema/fields/array-field.tsx +27 -3
  78. package/src/components/silke-form-schema/fields/color-field.tsx +36 -0
  79. package/src/components/silke-form-schema/fields/styles.scss +34 -35
  80. package/src/components/silke-form-schema/schema-utils.ts +27 -1
  81. package/src/components/silke-form-schema/silke-schema-field.tsx +2 -0
  82. package/src/components/silke-form-schema/silke-schema-fields.tsx +4 -3
  83. package/src/components/silke-gradient-picker/silke-gradient-picker.module.scss +2 -2
  84. package/src/components/silke-icon/silke-icon.mdx +212 -8
  85. package/src/components/silke-icon/silke-icon.scss +10 -2
  86. package/src/components/silke-icon/silke-icon.tsx +1 -0
  87. package/src/components/silke-icon/silke-stacked-icon.scss +42 -45
  88. package/src/components/silke-icon-browser/silke-icon-browser.mdx +143 -0
  89. package/src/components/silke-image/silke-image-color-backdrop.scss +6 -6
  90. package/src/components/silke-image/silke-image.mdx +189 -41
  91. package/src/components/silke-image/silke-image.scss +3 -3
  92. package/src/components/silke-image/silke-image.tsx +14 -1
  93. package/src/components/silke-link/silke-link.scss +3 -5
  94. package/src/components/silke-list/index.ts +1 -0
  95. package/src/components/silke-list/silke-list-item.mdx +83 -0
  96. package/src/components/silke-list/silke-list-item.scss +119 -0
  97. package/src/components/silke-list/silke-list-item.tsx +137 -12
  98. package/src/components/silke-list/silke-list.mdx +108 -13
  99. package/src/components/silke-list/silke-list.scss +8 -15
  100. package/src/components/silke-list/silke-list.tsx +63 -9
  101. package/src/components/silke-list/types.ts +22 -0
  102. package/src/components/silke-list/utils.ts +24 -0
  103. package/src/components/silke-loader/silke-loader.mdx +139 -5
  104. package/src/components/silke-loader/silke-loader.scss +1 -1
  105. package/src/components/silke-modal/silke-modal.scss +9 -9
  106. package/src/components/silke-navigation-link/silke-navigation-link.mdx +27 -2
  107. package/src/components/silke-navigation-link/silke-navigation-link.scss +34 -40
  108. package/src/components/silke-navigation-link/silke-navigation-link.tsx +7 -6
  109. package/src/components/silke-overflow-menu/silke-overflow-menu.mdx +228 -31
  110. package/src/components/silke-overflow-menu/silke-overflow-menu.scss +8 -8
  111. package/src/components/silke-overflow-menu/silke-overflow-menu.tsx +14 -8
  112. package/src/components/silke-popover/silke-popover.scss +5 -5
  113. package/src/components/silke-popover-native/silke-popover-native.scss +93 -78
  114. package/src/components/silke-popover-native/silke-popover-native.tsx +4 -0
  115. package/src/components/silke-popover-native/use-popover-positioning.ts +1 -3
  116. package/src/components/silke-progress-indicator/silke-progress-indicator.scss +1 -1
  117. package/src/components/silke-radio-button/silke-radio-button.scss +18 -11
  118. package/src/components/silke-search-field/silke-search-field.mdx +161 -7
  119. package/src/components/silke-shortcut-button/index.ts +1 -0
  120. package/src/components/silke-shortcut-button/silke-shortcut-button.mdx +89 -0
  121. package/src/components/silke-shortcut-button/silke-shortcut-button.scss +145 -0
  122. package/src/components/silke-shortcut-button/silke-shortcut-button.tsx +55 -0
  123. package/src/components/silke-skeleton/silke-skeleton.mdx +109 -0
  124. package/src/components/silke-skeleton/silke-skeleton.scss +1 -1
  125. package/src/components/silke-slider/silke-slider.module.scss +19 -19
  126. package/src/components/silke-sortable-list/silke-nested-sortable-list.scss +3 -3
  127. package/src/components/silke-sortable-list/silke-sortable-list.scss +4 -5
  128. package/src/components/silke-table/silke-table.scss +1 -1
  129. package/src/components/silke-tabs/silke-tabs.scss +3 -3
  130. package/src/components/silke-tag/silke-tag.mdx +179 -43
  131. package/src/components/silke-tag/silke-tag.scss +50 -13
  132. package/src/components/silke-tag/silke-tag.tsx +17 -7
  133. package/src/components/silke-text/silke-text.scss +6 -4
  134. package/src/components/silke-text/silke-title.scss +7 -14
  135. package/src/components/silke-text-field/silke-text-field.scss +9 -9
  136. package/src/components/silke-text-field/silke-text-field.tsx +1 -1
  137. package/src/components/silke-tile/silke-tile.scss +7 -3
  138. package/src/components/silke-toast-notification/silke-toast-notification.scss +4 -5
  139. package/src/components/silke-toggle/silke-toggle.mdx +163 -33
  140. package/src/components/silke-toggle/silke-toggle.scss +4 -4
  141. package/src/components/silke-toolbar/silke-toolbar.scss +1 -1
  142. package/src/components/silke-tooltip/silke-shortcuts.tsx +3 -3
  143. package/src/components/silke-tooltip/silke-tooltip.scss +11 -16
  144. package/src/components/silke-variables-wrapper/silke-variables-wrapper.scss +9 -7
  145. package/src/components/silke-virtual/silke-virtual.mdx +161 -0
  146. package/src/components/silke-virtual/silke-virtual.scss +8 -8
  147. package/src/icons.tsx +58 -1
  148. package/src/styles/core.scss +42 -45
  149. package/src/styles/math.scss +66 -66
  150. package/tsconfig.build.json +2 -6
  151. package/tsconfig.build.tsbuildinfo +1 -1
  152. package/tsconfig.json +3 -14
  153. package/dist/types/components/silke-action-list/index.d.ts +0 -1
  154. package/dist/types/components/silke-action-list/silke-action-list.d.ts +0 -11
  155. package/dist/types/components/silke-list-card/index.d.ts +0 -1
  156. package/dist/types/components/silke-list-card/silke-list-card.d.ts +0 -14
  157. package/src/components/silke-action-list/index.ts +0 -1
  158. package/src/components/silke-action-list/silke-action-list.mdx +0 -48
  159. package/src/components/silke-action-list/silke-action-list.scss +0 -21
  160. package/src/components/silke-action-list/silke-action-list.tsx +0 -85
  161. package/src/components/silke-list-card/index.ts +0 -1
  162. package/src/components/silke-list-card/silke-list-card.mdx +0 -46
  163. package/src/components/silke-list-card/silke-list-card.scss +0 -57
  164. package/src/components/silke-list-card/silke-list-card.tsx +0 -63
@@ -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,8 +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';
44
45
  export * from './silke-popover-native';
45
- export * from './silke-action-list';
46
+ export * from './silke-list';
46
47
 
47
48
  // Form fields
48
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'}
@@ -1,31 +1,32 @@
1
1
  .root {
2
2
  cursor: pointer;
3
3
  user-select: none;
4
-
4
+
5
5
  &:not(.disabled):hover,
6
6
  &.open {
7
- .downIcon{
7
+ .downIcon {
8
8
  color: var(--color-neutral-100);
9
9
  }
10
10
  }
11
- &:not(.disabled):hover:not(.open){
12
- .arrow{
11
+ &:not(.disabled):hover:not(.open) {
12
+ .arrow {
13
13
  padding-top: 4px;
14
14
  }
15
15
  }
16
16
 
17
- &.open:not(.ghost){
17
+ &.open:not(.ghost) {
18
18
  --text-field-bg: var(--color-neutral-20);
19
19
  --text-field-hover-bg: var(--color-neutral-20);
20
20
  --text-field-focus-border-color: transparent;
21
21
  }
22
22
 
23
- .placeholder, &.disabled [data-input] {
23
+ .placeholder,
24
+ &.disabled [data-input] {
24
25
  color: var(--text-field-disabled-placeholder-color);
25
26
  font-size: var(--text-field-font-size);
26
27
  }
27
28
 
28
- &.disabled *{
29
+ &.disabled * {
29
30
  cursor: not-allowed;
30
31
  }
31
32
 
@@ -53,20 +54,25 @@
53
54
  // opacity: 0;
54
55
  transform: translateY(0);
55
56
  // color: var(--text-field-placeholder-color);
56
- transition: opacity 0.5s ease-in-out, transform 0.3s ease-out;
57
+ transition:
58
+ opacity 0.5s ease-in-out,
59
+ transform 0.3s ease-out;
57
60
  }
58
61
 
59
- .hiddenSearch{
60
- width:0;height:0;
62
+ .hiddenSearch {
63
+ width: 0;
64
+ height: 0;
61
65
  overflow: hidden;
62
66
  opacity: 0;
63
67
  }
64
68
 
65
69
  .arrow {
66
- transition: padding-top 0.2s ease-out, color 0.2s ease-out;
70
+ transition:
71
+ padding-top 0.2s ease-out,
72
+ color 0.2s ease-out;
67
73
  height: 100%;
68
74
  width: 16px;
69
75
  i {
70
76
  font-size: 10px !important;
71
77
  }
72
- }
78
+ }
@@ -394,12 +394,13 @@ export function SilkeAutocompletePopupNative<T>(props: SilkeAutocompletePopupNat
394
394
  rounded={size === 's' ? 'tiny' : 'small'}
395
395
  shadow="level3"
396
396
  data-cy={dataCy ? dataCy + '-dropdown' : undefined}
397
- bg="neutral-20"
397
+ bg="neutral-10"
398
398
  column
399
399
  style={{
400
400
  maxHeight: 300,
401
401
  minWidth: dropDownMinWidth,
402
402
  maxWidth: dropDownMaxWidth,
403
+ border: '1px solid var(--color-surface-2)',
403
404
  }}
404
405
  gap={disableSearch ? undefined : 'xs'}
405
406
  vPad="xs"
@@ -450,7 +451,7 @@ export function SilkeAutocompletePopupNative<T>(props: SilkeAutocompletePopupNat
450
451
  {buttonRight && <div onClick={() => onRequestClose?.()}>{buttonRight}</div>}
451
452
  </SilkeTextField>
452
453
  </SilkeBox>
453
- {!disableSearch && <SilkeDivider />}
454
+ {!disableSearch && <SilkeDivider dark />}
454
455
  <SilkeBox column scroll flex hPad="xs">
455
456
  {displayedItems.length === 0 && (
456
457
  <SilkeBox hPad="s" height={size} vAlign="center">