snice 4.21.0 → 4.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (338) hide show
  1. package/adapters/react/drawer.d.ts +4 -0
  2. package/adapters/react/drawer.d.ts.map +1 -1
  3. package/adapters/react/drawer.js +1 -1
  4. package/adapters/react/drawer.js.map +1 -1
  5. package/adapters/react/drawer.tsx +5 -1
  6. package/dist/cdn/accordion/snice-accordion.js +1 -1
  7. package/dist/cdn/accordion/snice-accordion.min.js +1 -1
  8. package/dist/cdn/activity-feed/snice-activity-feed.js +1 -1
  9. package/dist/cdn/activity-feed/snice-activity-feed.min.js +1 -1
  10. package/dist/cdn/alert/snice-alert.js +1 -1
  11. package/dist/cdn/alert/snice-alert.min.js +1 -1
  12. package/dist/cdn/app-tiles/snice-app-tiles.js +1 -1
  13. package/dist/cdn/app-tiles/snice-app-tiles.min.js +1 -1
  14. package/dist/cdn/approval-flow/snice-approval-flow.js +1 -1
  15. package/dist/cdn/approval-flow/snice-approval-flow.min.js +1 -1
  16. package/dist/cdn/audio-recorder/snice-audio-recorder.js +1 -1
  17. package/dist/cdn/audio-recorder/snice-audio-recorder.min.js +1 -1
  18. package/dist/cdn/availability/snice-availability.js +1 -1
  19. package/dist/cdn/availability/snice-availability.min.js +1 -1
  20. package/dist/cdn/avatar/snice-avatar.js +1 -1
  21. package/dist/cdn/avatar/snice-avatar.min.js +1 -1
  22. package/dist/cdn/avatar-group/snice-avatar-group.js +1 -1
  23. package/dist/cdn/avatar-group/snice-avatar-group.min.js +1 -1
  24. package/dist/cdn/badge/snice-badge.js +1 -1
  25. package/dist/cdn/badge/snice-badge.min.js +1 -1
  26. package/dist/cdn/banner/snice-banner.js +1 -1
  27. package/dist/cdn/banner/snice-banner.min.js +1 -1
  28. package/dist/cdn/book/snice-book.js +1 -1
  29. package/dist/cdn/book/snice-book.min.js +1 -1
  30. package/dist/cdn/booking/snice-booking.js +1 -1
  31. package/dist/cdn/booking/snice-booking.min.js +1 -1
  32. package/dist/cdn/breadcrumbs/snice-breadcrumbs.js +1 -1
  33. package/dist/cdn/breadcrumbs/snice-breadcrumbs.min.js +1 -1
  34. package/dist/cdn/button/snice-button.js +1 -1
  35. package/dist/cdn/button/snice-button.min.js +1 -1
  36. package/dist/cdn/calendar/snice-calendar.js +1 -1
  37. package/dist/cdn/calendar/snice-calendar.min.js +1 -1
  38. package/dist/cdn/camera/snice-camera.js +1 -1
  39. package/dist/cdn/camera/snice-camera.min.js +1 -1
  40. package/dist/cdn/camera-annotate/snice-camera-annotate.js +1 -1
  41. package/dist/cdn/camera-annotate/snice-camera-annotate.min.js +1 -1
  42. package/dist/cdn/candlestick/snice-candlestick.js +1 -1
  43. package/dist/cdn/candlestick/snice-candlestick.min.js +1 -1
  44. package/dist/cdn/card/snice-card.js +1 -1
  45. package/dist/cdn/card/snice-card.min.js +1 -1
  46. package/dist/cdn/carousel/snice-carousel.js +1 -1
  47. package/dist/cdn/carousel/snice-carousel.min.js +1 -1
  48. package/dist/cdn/cart/README.md +1 -1
  49. package/dist/cdn/cart/snice-cart.js +24 -20
  50. package/dist/cdn/cart/snice-cart.js.map +1 -1
  51. package/dist/cdn/cart/snice-cart.min.js +24 -20
  52. package/dist/cdn/cart/snice-cart.min.js.map +1 -1
  53. package/dist/cdn/chart/snice-chart.js +1 -1
  54. package/dist/cdn/chart/snice-chart.min.js +1 -1
  55. package/dist/cdn/chat/README.md +2 -2
  56. package/dist/cdn/chat/snice-chat.js +177 -10
  57. package/dist/cdn/chat/snice-chat.js.map +1 -1
  58. package/dist/cdn/chat/snice-chat.min.js +49 -17
  59. package/dist/cdn/chat/snice-chat.min.js.map +1 -1
  60. package/dist/cdn/checkbox/snice-checkbox.js +1 -1
  61. package/dist/cdn/checkbox/snice-checkbox.min.js +1 -1
  62. package/dist/cdn/chip/snice-chip.js +1 -1
  63. package/dist/cdn/chip/snice-chip.min.js +1 -1
  64. package/dist/cdn/code-block/README.md +1 -1
  65. package/dist/cdn/code-block/snice-code-block.js +2 -2
  66. package/dist/cdn/code-block/snice-code-block.js.map +1 -1
  67. package/dist/cdn/code-block/snice-code-block.min.js +3 -3
  68. package/dist/cdn/code-block/snice-code-block.min.js.map +1 -1
  69. package/dist/cdn/color-display/snice-color-display.js +1 -1
  70. package/dist/cdn/color-display/snice-color-display.min.js +1 -1
  71. package/dist/cdn/color-picker/snice-color-picker.js +1 -1
  72. package/dist/cdn/color-picker/snice-color-picker.min.js +1 -1
  73. package/dist/cdn/command-palette/snice-command-palette.js +2 -2
  74. package/dist/cdn/command-palette/snice-command-palette.js.map +1 -1
  75. package/dist/cdn/command-palette/snice-command-palette.min.js +2 -2
  76. package/dist/cdn/command-palette/snice-command-palette.min.js.map +1 -1
  77. package/dist/cdn/comments/snice-comments.js +1 -1
  78. package/dist/cdn/comments/snice-comments.min.js +1 -1
  79. package/dist/cdn/countdown/snice-countdown.js +1 -1
  80. package/dist/cdn/countdown/snice-countdown.min.js +1 -1
  81. package/dist/cdn/cropper/snice-cropper.js +1 -1
  82. package/dist/cdn/cropper/snice-cropper.min.js +1 -1
  83. package/dist/cdn/data-card/snice-data-card.js +1 -1
  84. package/dist/cdn/data-card/snice-data-card.min.js +1 -1
  85. package/dist/cdn/date-picker/snice-date-picker.js +1 -1
  86. package/dist/cdn/date-picker/snice-date-picker.min.js +1 -1
  87. package/dist/cdn/date-time-picker/snice-date-time-picker.js +1 -1
  88. package/dist/cdn/date-time-picker/snice-date-time-picker.min.js +1 -1
  89. package/dist/cdn/diff/snice-diff.js +1 -1
  90. package/dist/cdn/diff/snice-diff.min.js +1 -1
  91. package/dist/cdn/divider/snice-divider.js +1 -1
  92. package/dist/cdn/divider/snice-divider.min.js +1 -1
  93. package/dist/cdn/doc/snice-doc.js +1 -1
  94. package/dist/cdn/doc/snice-doc.min.js +1 -1
  95. package/dist/cdn/draw/snice-draw.js +1 -1
  96. package/dist/cdn/draw/snice-draw.min.js +1 -1
  97. package/dist/cdn/drawer/README.md +2 -2
  98. package/dist/cdn/drawer/snice-drawer.js +129 -22
  99. package/dist/cdn/drawer/snice-drawer.js.map +1 -1
  100. package/dist/cdn/drawer/snice-drawer.min.js +22 -18
  101. package/dist/cdn/drawer/snice-drawer.min.js.map +1 -1
  102. package/dist/cdn/empty-state/snice-empty-state.js +1 -1
  103. package/dist/cdn/empty-state/snice-empty-state.min.js +1 -1
  104. package/dist/cdn/estimate/snice-estimate.js +1 -1
  105. package/dist/cdn/estimate/snice-estimate.min.js +1 -1
  106. package/dist/cdn/file-gallery/snice-file-gallery.js +1 -1
  107. package/dist/cdn/file-gallery/snice-file-gallery.min.js +1 -1
  108. package/dist/cdn/file-upload/snice-file-upload.js +1 -1
  109. package/dist/cdn/file-upload/snice-file-upload.min.js +1 -1
  110. package/dist/cdn/flip-card/snice-flip-card.js +1 -1
  111. package/dist/cdn/flip-card/snice-flip-card.min.js +1 -1
  112. package/dist/cdn/flow/snice-flow.js +1 -1
  113. package/dist/cdn/flow/snice-flow.min.js +1 -1
  114. package/dist/cdn/form-layout/snice-form-layout.js +1 -1
  115. package/dist/cdn/form-layout/snice-form-layout.min.js +1 -1
  116. package/dist/cdn/funnel/snice-funnel.js +1 -1
  117. package/dist/cdn/funnel/snice-funnel.min.js +1 -1
  118. package/dist/cdn/gantt/snice-gantt.js +1 -1
  119. package/dist/cdn/gantt/snice-gantt.min.js +1 -1
  120. package/dist/cdn/gauge/snice-gauge.js +1 -1
  121. package/dist/cdn/gauge/snice-gauge.min.js +1 -1
  122. package/dist/cdn/heatmap/README.md +2 -2
  123. package/dist/cdn/heatmap/snice-heatmap.js +2 -2
  124. package/dist/cdn/heatmap/snice-heatmap.js.map +1 -1
  125. package/dist/cdn/heatmap/snice-heatmap.min.js +5 -5
  126. package/dist/cdn/heatmap/snice-heatmap.min.js.map +1 -1
  127. package/dist/cdn/image/snice-image.js +1 -1
  128. package/dist/cdn/image/snice-image.min.js +1 -1
  129. package/dist/cdn/input/snice-input.js +1 -1
  130. package/dist/cdn/input/snice-input.min.js +1 -1
  131. package/dist/cdn/invoice/snice-invoice.js +1 -1
  132. package/dist/cdn/invoice/snice-invoice.min.js +1 -1
  133. package/dist/cdn/kanban/snice-kanban.js +1 -1
  134. package/dist/cdn/kanban/snice-kanban.min.js +1 -1
  135. package/dist/cdn/key-value/snice-key-value.js +1 -1
  136. package/dist/cdn/key-value/snice-key-value.min.js +1 -1
  137. package/dist/cdn/kpi/snice-kpi.js +1 -1
  138. package/dist/cdn/kpi/snice-kpi.min.js +1 -1
  139. package/dist/cdn/layout/snice-layout.js +1 -1
  140. package/dist/cdn/layout/snice-layout.min.js +1 -1
  141. package/dist/cdn/leaderboard/snice-leaderboard.js +1 -1
  142. package/dist/cdn/leaderboard/snice-leaderboard.min.js +1 -1
  143. package/dist/cdn/link/snice-link.js +1 -1
  144. package/dist/cdn/link/snice-link.min.js +1 -1
  145. package/dist/cdn/link-preview/snice-link-preview.js +1 -1
  146. package/dist/cdn/link-preview/snice-link-preview.min.js +1 -1
  147. package/dist/cdn/list/README.md +2 -2
  148. package/dist/cdn/list/snice-list.js +179 -8
  149. package/dist/cdn/list/snice-list.js.map +1 -1
  150. package/dist/cdn/list/snice-list.min.js +45 -9
  151. package/dist/cdn/list/snice-list.min.js.map +1 -1
  152. package/dist/cdn/location/snice-location.js +1 -1
  153. package/dist/cdn/location/snice-location.min.js +1 -1
  154. package/dist/cdn/login/snice-login.js +1 -1
  155. package/dist/cdn/login/snice-login.min.js +1 -1
  156. package/dist/cdn/map/snice-map.js +1 -1
  157. package/dist/cdn/map/snice-map.min.js +1 -1
  158. package/dist/cdn/markdown/snice-markdown.js +1 -1
  159. package/dist/cdn/markdown/snice-markdown.min.js +1 -1
  160. package/dist/cdn/masonry/snice-masonry.js +1 -1
  161. package/dist/cdn/masonry/snice-masonry.min.js +1 -1
  162. package/dist/cdn/menu/snice-menu.js +1 -1
  163. package/dist/cdn/menu/snice-menu.min.js +1 -1
  164. package/dist/cdn/message-strip/snice-message-strip.js +1 -1
  165. package/dist/cdn/message-strip/snice-message-strip.min.js +1 -1
  166. package/dist/cdn/metric-table/snice-metric-table.js +1 -1
  167. package/dist/cdn/metric-table/snice-metric-table.min.js +1 -1
  168. package/dist/cdn/modal/snice-modal.js +1 -1
  169. package/dist/cdn/modal/snice-modal.min.js +1 -1
  170. package/dist/cdn/music-player/snice-music-player.js +1 -1
  171. package/dist/cdn/music-player/snice-music-player.min.js +1 -1
  172. package/dist/cdn/nav/snice-nav.js +1 -1
  173. package/dist/cdn/nav/snice-nav.min.js +1 -1
  174. package/dist/cdn/network-graph/snice-network-graph.js +1 -1
  175. package/dist/cdn/network-graph/snice-network-graph.min.js +1 -1
  176. package/dist/cdn/notification-center/README.md +2 -2
  177. package/dist/cdn/notification-center/snice-notification-center.js +136 -15
  178. package/dist/cdn/notification-center/snice-notification-center.js.map +1 -1
  179. package/dist/cdn/notification-center/snice-notification-center.min.js +57 -23
  180. package/dist/cdn/notification-center/snice-notification-center.min.js.map +1 -1
  181. package/dist/cdn/order-tracker/snice-order-tracker.js +1 -1
  182. package/dist/cdn/order-tracker/snice-order-tracker.min.js +1 -1
  183. package/dist/cdn/org-chart/snice-org-chart.js +1 -1
  184. package/dist/cdn/org-chart/snice-org-chart.min.js +1 -1
  185. package/dist/cdn/pagination/snice-pagination.js +1 -1
  186. package/dist/cdn/pagination/snice-pagination.min.js +1 -1
  187. package/dist/cdn/paint/snice-paint.js +1 -1
  188. package/dist/cdn/paint/snice-paint.min.js +1 -1
  189. package/dist/cdn/pdf-viewer/snice-pdf-viewer.js +1 -1
  190. package/dist/cdn/pdf-viewer/snice-pdf-viewer.min.js +1 -1
  191. package/dist/cdn/permission-matrix/snice-permission-matrix.js +1 -1
  192. package/dist/cdn/permission-matrix/snice-permission-matrix.min.js +1 -1
  193. package/dist/cdn/podcast-player/snice-podcast-player.js +1 -1
  194. package/dist/cdn/podcast-player/snice-podcast-player.min.js +1 -1
  195. package/dist/cdn/pricing-table/snice-pricing-table.js +1 -1
  196. package/dist/cdn/pricing-table/snice-pricing-table.min.js +1 -1
  197. package/dist/cdn/product-card/README.md +1 -1
  198. package/dist/cdn/product-card/snice-product-card.js +2 -2
  199. package/dist/cdn/product-card/snice-product-card.js.map +1 -1
  200. package/dist/cdn/product-card/snice-product-card.min.js +18 -18
  201. package/dist/cdn/product-card/snice-product-card.min.js.map +1 -1
  202. package/dist/cdn/progress/snice-progress.js +1 -1
  203. package/dist/cdn/progress/snice-progress.min.js +1 -1
  204. package/dist/cdn/progress-ring/snice-progress-ring.js +1 -1
  205. package/dist/cdn/progress-ring/snice-progress-ring.min.js +1 -1
  206. package/dist/cdn/qr-code/snice-qr-code.js +1 -1
  207. package/dist/cdn/qr-code/snice-qr-code.min.js +1 -1
  208. package/dist/cdn/qr-reader/snice-qr-reader.js +1 -1
  209. package/dist/cdn/qr-reader/snice-qr-reader.min.js +1 -1
  210. package/dist/cdn/radio/snice-radio.js +1 -1
  211. package/dist/cdn/radio/snice-radio.min.js +1 -1
  212. package/dist/cdn/range-slider/snice-range-slider.js +1 -1
  213. package/dist/cdn/range-slider/snice-range-slider.min.js +1 -1
  214. package/dist/cdn/rating/snice-rating.js +1 -1
  215. package/dist/cdn/rating/snice-rating.min.js +1 -1
  216. package/dist/cdn/receipt/snice-receipt.js +1 -1
  217. package/dist/cdn/receipt/snice-receipt.min.js +1 -1
  218. package/dist/cdn/recipe/snice-recipe.js +1 -1
  219. package/dist/cdn/recipe/snice-recipe.min.js +1 -1
  220. package/dist/cdn/runtime/snice-runtime.esm.js +4 -4
  221. package/dist/cdn/runtime/snice-runtime.esm.js.map +1 -1
  222. package/dist/cdn/runtime/snice-runtime.esm.min.js +4 -4
  223. package/dist/cdn/runtime/snice-runtime.esm.min.js.map +1 -1
  224. package/dist/cdn/runtime/snice-runtime.js +4 -4
  225. package/dist/cdn/runtime/snice-runtime.js.map +1 -1
  226. package/dist/cdn/runtime/snice-runtime.min.js +4 -4
  227. package/dist/cdn/runtime/snice-runtime.min.js.map +1 -1
  228. package/dist/cdn/sankey/snice-sankey.js +1 -1
  229. package/dist/cdn/sankey/snice-sankey.min.js +1 -1
  230. package/dist/cdn/segmented-control/snice-segmented-control.js +1 -1
  231. package/dist/cdn/segmented-control/snice-segmented-control.min.js +1 -1
  232. package/dist/cdn/select/snice-select.js +1 -1
  233. package/dist/cdn/select/snice-select.min.js +1 -1
  234. package/dist/cdn/skeleton/snice-skeleton.js +1 -1
  235. package/dist/cdn/skeleton/snice-skeleton.min.js +1 -1
  236. package/dist/cdn/slider/snice-slider.js +1 -1
  237. package/dist/cdn/slider/snice-slider.min.js +1 -1
  238. package/dist/cdn/sortable/snice-sortable.js +1 -1
  239. package/dist/cdn/sortable/snice-sortable.min.js +1 -1
  240. package/dist/cdn/sparkline/snice-sparkline.js +1 -1
  241. package/dist/cdn/sparkline/snice-sparkline.min.js +1 -1
  242. package/dist/cdn/spinner/snice-spinner.js +1 -1
  243. package/dist/cdn/spinner/snice-spinner.min.js +1 -1
  244. package/dist/cdn/split-button/snice-split-button.js +1 -1
  245. package/dist/cdn/split-button/snice-split-button.min.js +1 -1
  246. package/dist/cdn/split-pane/snice-split-pane.js +1 -1
  247. package/dist/cdn/split-pane/snice-split-pane.min.js +1 -1
  248. package/dist/cdn/spotlight/snice-spotlight.js +1 -1
  249. package/dist/cdn/spotlight/snice-spotlight.min.js +1 -1
  250. package/dist/cdn/spreadsheet/snice-spreadsheet.js +1 -1
  251. package/dist/cdn/spreadsheet/snice-spreadsheet.min.js +1 -1
  252. package/dist/cdn/stat-group/snice-stat-group.js +1 -1
  253. package/dist/cdn/stat-group/snice-stat-group.min.js +1 -1
  254. package/dist/cdn/step-input/snice-step-input.js +1 -1
  255. package/dist/cdn/step-input/snice-step-input.min.js +1 -1
  256. package/dist/cdn/stepper/snice-stepper.js +1 -1
  257. package/dist/cdn/stepper/snice-stepper.min.js +1 -1
  258. package/dist/cdn/switch/snice-switch.js +1 -1
  259. package/dist/cdn/switch/snice-switch.min.js +1 -1
  260. package/dist/cdn/table/snice-table.js +1 -1
  261. package/dist/cdn/table/snice-table.min.js +1 -1
  262. package/dist/cdn/tabs/snice-tabs.js +1 -1
  263. package/dist/cdn/tabs/snice-tabs.min.js +1 -1
  264. package/dist/cdn/tag/snice-tag.js +1 -1
  265. package/dist/cdn/tag/snice-tag.min.js +1 -1
  266. package/dist/cdn/tag-input/snice-tag-input.js +1 -1
  267. package/dist/cdn/tag-input/snice-tag-input.min.js +1 -1
  268. package/dist/cdn/terminal/snice-terminal.js +1 -1
  269. package/dist/cdn/terminal/snice-terminal.min.js +1 -1
  270. package/dist/cdn/testimonial/snice-testimonial.js +1 -1
  271. package/dist/cdn/testimonial/snice-testimonial.min.js +1 -1
  272. package/dist/cdn/textarea/snice-textarea.js +1 -1
  273. package/dist/cdn/textarea/snice-textarea.min.js +1 -1
  274. package/dist/cdn/time-picker/snice-time-picker.js +1 -1
  275. package/dist/cdn/time-picker/snice-time-picker.min.js +1 -1
  276. package/dist/cdn/time-range-picker/snice-time-range-picker.js +1 -1
  277. package/dist/cdn/time-range-picker/snice-time-range-picker.min.js +1 -1
  278. package/dist/cdn/timeline/snice-timeline.js +1 -1
  279. package/dist/cdn/timeline/snice-timeline.min.js +1 -1
  280. package/dist/cdn/timer/snice-timer.js +1 -1
  281. package/dist/cdn/timer/snice-timer.min.js +1 -1
  282. package/dist/cdn/toast/README.md +2 -2
  283. package/dist/cdn/toast/snice-toast.js +9 -9
  284. package/dist/cdn/toast/snice-toast.js.map +1 -1
  285. package/dist/cdn/toast/snice-toast.min.js +12 -12
  286. package/dist/cdn/toast/snice-toast.min.js.map +1 -1
  287. package/dist/cdn/tooltip/snice-tooltip.js +1 -1
  288. package/dist/cdn/tooltip/snice-tooltip.min.js +1 -1
  289. package/dist/cdn/tree/snice-tree.js +1 -1
  290. package/dist/cdn/tree/snice-tree.min.js +1 -1
  291. package/dist/cdn/treemap/snice-treemap.js +1 -1
  292. package/dist/cdn/treemap/snice-treemap.min.js +1 -1
  293. package/dist/cdn/user-card/snice-user-card.js +1 -1
  294. package/dist/cdn/user-card/snice-user-card.min.js +1 -1
  295. package/dist/cdn/video-player/snice-video-player.js +1 -1
  296. package/dist/cdn/video-player/snice-video-player.min.js +1 -1
  297. package/dist/cdn/virtual-scroller/snice-virtual-scroller.js +1 -1
  298. package/dist/cdn/virtual-scroller/snice-virtual-scroller.min.js +1 -1
  299. package/dist/cdn/waterfall/snice-waterfall.js +1 -1
  300. package/dist/cdn/waterfall/snice-waterfall.min.js +1 -1
  301. package/dist/cdn/weather/snice-weather.js +1 -1
  302. package/dist/cdn/weather/snice-weather.min.js +1 -1
  303. package/dist/cdn/work-order/snice-work-order.js +1 -1
  304. package/dist/cdn/work-order/snice-work-order.min.js +1 -1
  305. package/dist/components/cart/snice-cart.js +23 -19
  306. package/dist/components/cart/snice-cart.js.map +1 -1
  307. package/dist/components/chat/snice-chat.d.ts +1 -0
  308. package/dist/components/chat/snice-chat.js +10 -9
  309. package/dist/components/chat/snice-chat.js.map +1 -1
  310. package/dist/components/code-block/snice-code-block.js +1 -1
  311. package/dist/components/code-block/snice-code-block.js.map +1 -1
  312. package/dist/components/command-palette/snice-command-palette.js +1 -1
  313. package/dist/components/command-palette/snice-command-palette.js.map +1 -1
  314. package/dist/components/drawer/snice-drawer.d.ts +13 -0
  315. package/dist/components/drawer/snice-drawer.js +128 -21
  316. package/dist/components/drawer/snice-drawer.js.map +1 -1
  317. package/dist/components/drawer/snice-drawer.types.d.ts +4 -0
  318. package/dist/components/heatmap/snice-heatmap.js +1 -1
  319. package/dist/components/heatmap/snice-heatmap.js.map +1 -1
  320. package/dist/components/list/snice-list.d.ts +1 -0
  321. package/dist/components/list/snice-list.js +10 -5
  322. package/dist/components/list/snice-list.js.map +1 -1
  323. package/dist/components/notification-center/snice-notification-center.d.ts +1 -0
  324. package/dist/components/notification-center/snice-notification-center.js +16 -14
  325. package/dist/components/notification-center/snice-notification-center.js.map +1 -1
  326. package/dist/components/product-card/snice-product-card.js +1 -1
  327. package/dist/components/product-card/snice-product-card.js.map +1 -1
  328. package/dist/components/toast/snice-toast.js +8 -8
  329. package/dist/index.cjs +1 -1
  330. package/dist/index.esm.js +1 -1
  331. package/dist/index.iife.js +1 -1
  332. package/dist/symbols.cjs +1 -1
  333. package/dist/symbols.esm.js +1 -1
  334. package/dist/transitions.cjs +1 -1
  335. package/dist/transitions.esm.js +1 -1
  336. package/docs/ai/components/drawer.md +45 -1
  337. package/docs/components/drawer.md +65 -0
  338. package/package.json +1 -1
@@ -6,6 +6,8 @@ export interface DrawerProps extends SniceBaseProps {
6
6
  open?: any;
7
7
  position?: any;
8
8
  size?: any;
9
+ inline?: any;
10
+ breakpoint?: any;
9
11
  noBackdrop?: any;
10
12
  noBackdropDismiss?: any;
11
13
  noEscapeDismiss?: any;
@@ -13,6 +15,8 @@ export interface DrawerProps extends SniceBaseProps {
13
15
  persistent?: any;
14
16
  pushContent?: any;
15
17
  contained?: any;
18
+ noHeader?: any;
19
+ noFooter?: any;
16
20
  }
17
21
  /**
18
22
  * Drawer - React adapter for snice-drawer
@@ -1 +1 @@
1
- {"version":3,"file":"drawer.d.ts","sourceRoot":"","sources":["drawer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE9C;;GAEG;AACH,MAAM,WAAW,WAAY,SAAQ,cAAc;IACjD,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,iBAAiB,CAAC,EAAE,GAAG,CAAC;IACxB,eAAe,CAAC,EAAE,GAAG,CAAC;IACtB,WAAW,CAAC,EAAE,GAAG,CAAC;IAClB,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,WAAW,CAAC,EAAE,GAAG,CAAC;IAClB,SAAS,CAAC,EAAE,GAAG,CAAC;CAEjB;AAED;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,MAAM,0GAKjB,CAAC"}
1
+ {"version":3,"file":"drawer.d.ts","sourceRoot":"","sources":["drawer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE9C;;GAEG;AACH,MAAM,WAAW,WAAY,SAAQ,cAAc;IACjD,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,MAAM,CAAC,EAAE,GAAG,CAAC;IACb,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,iBAAiB,CAAC,EAAE,GAAG,CAAC;IACxB,eAAe,CAAC,EAAE,GAAG,CAAC;IACtB,WAAW,CAAC,EAAE,GAAG,CAAC;IAClB,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,WAAW,CAAC,EAAE,GAAG,CAAC;IAClB,SAAS,CAAC,EAAE,GAAG,CAAC;IAChB,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,QAAQ,CAAC,EAAE,GAAG,CAAC;CAEhB;AAED;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,MAAM,0GAKjB,CAAC"}
@@ -17,7 +17,7 @@ import { createReactAdapter } from './wrapper';
17
17
  */
18
18
  export const Drawer = createReactAdapter({
19
19
  tagName: 'snice-drawer',
20
- properties: ["open", "position", "size", "noBackdrop", "noBackdropDismiss", "noEscapeDismiss", "noFocusTrap", "persistent", "pushContent", "contained"],
20
+ properties: ["open", "position", "size", "inline", "breakpoint", "noBackdrop", "noBackdropDismiss", "noEscapeDismiss", "noFocusTrap", "persistent", "pushContent", "contained", "noHeader", "noFooter"],
21
21
  events: {},
22
22
  formAssociated: false
23
23
  });
@@ -1 +1 @@
1
- {"version":3,"file":"drawer.js","sourceRoot":"","sources":["drawer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAoB/C;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,kBAAkB,CAAc;IACpD,OAAO,EAAE,cAAc;IACvB,UAAU,EAAE,CAAC,MAAM,EAAC,UAAU,EAAC,MAAM,EAAC,YAAY,EAAC,mBAAmB,EAAC,iBAAiB,EAAC,aAAa,EAAC,YAAY,EAAC,aAAa,EAAC,WAAW,CAAC;IAC9I,MAAM,EAAE,EAAE;IACV,cAAc,EAAE,KAAK;CACtB,CAAC,CAAC"}
1
+ {"version":3,"file":"drawer.js","sourceRoot":"","sources":["drawer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAwB/C;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,kBAAkB,CAAc;IACpD,OAAO,EAAE,cAAc;IACvB,UAAU,EAAE,CAAC,MAAM,EAAC,UAAU,EAAC,MAAM,EAAC,QAAQ,EAAC,YAAY,EAAC,YAAY,EAAC,mBAAmB,EAAC,iBAAiB,EAAC,aAAa,EAAC,YAAY,EAAC,aAAa,EAAC,WAAW,EAAC,UAAU,EAAC,UAAU,CAAC;IAC1L,MAAM,EAAE,EAAE;IACV,cAAc,EAAE,KAAK;CACtB,CAAC,CAAC"}
@@ -8,6 +8,8 @@ export interface DrawerProps extends SniceBaseProps {
8
8
  open?: any;
9
9
  position?: any;
10
10
  size?: any;
11
+ inline?: any;
12
+ breakpoint?: any;
11
13
  noBackdrop?: any;
12
14
  noBackdropDismiss?: any;
13
15
  noEscapeDismiss?: any;
@@ -15,6 +17,8 @@ export interface DrawerProps extends SniceBaseProps {
15
17
  persistent?: any;
16
18
  pushContent?: any;
17
19
  contained?: any;
20
+ noHeader?: any;
21
+ noFooter?: any;
18
22
 
19
23
  }
20
24
 
@@ -36,7 +40,7 @@ export interface DrawerProps extends SniceBaseProps {
36
40
  */
37
41
  export const Drawer = createReactAdapter<DrawerProps>({
38
42
  tagName: 'snice-drawer',
39
- properties: ["open","position","size","noBackdrop","noBackdropDismiss","noEscapeDismiss","noFocusTrap","persistent","pushContent","contained"],
43
+ properties: ["open","position","size","inline","breakpoint","noBackdrop","noBackdropDismiss","noEscapeDismiss","noFocusTrap","persistent","pushContent","contained","noHeader","noFooter"],
40
44
  events: {},
41
45
  formAssociated: false
42
46
  });
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * snice v4.20.1
2
+ * snice v4.21.0
3
3
  * Imperative TypeScript framework for building vanilla web components with decorators, differential rendering, routing, and controllers. No virtual DOM, no build complexity.
4
4
  * (c) 2024
5
5
  * Released under the MIT License.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * snice v4.20.1
2
+ * snice v4.21.0
3
3
  * Imperative TypeScript framework for building vanilla web components with decorators, differential rendering, routing, and controllers. No virtual DOM, no build complexity.
4
4
  * (c) 2024
5
5
  * Released under the MIT License.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * snice v4.20.1
2
+ * snice v4.21.0
3
3
  * Imperative TypeScript framework for building vanilla web components with decorators, differential rendering, routing, and controllers. No virtual DOM, no build complexity.
4
4
  * (c) 2024
5
5
  * Released under the MIT License.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * snice v4.20.1
2
+ * snice v4.21.0
3
3
  * Imperative TypeScript framework for building vanilla web components with decorators, differential rendering, routing, and controllers. No virtual DOM, no build complexity.
4
4
  * (c) 2024
5
5
  * Released under the MIT License.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * snice v4.20.1
2
+ * snice v4.21.0
3
3
  * Imperative TypeScript framework for building vanilla web components with decorators, differential rendering, routing, and controllers. No virtual DOM, no build complexity.
4
4
  * (c) 2024
5
5
  * Released under the MIT License.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * snice v4.20.1
2
+ * snice v4.21.0
3
3
  * Imperative TypeScript framework for building vanilla web components with decorators, differential rendering, routing, and controllers. No virtual DOM, no build complexity.
4
4
  * (c) 2024
5
5
  * Released under the MIT License.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * snice v4.20.1
2
+ * snice v4.21.0
3
3
  * Imperative TypeScript framework for building vanilla web components with decorators, differential rendering, routing, and controllers. No virtual DOM, no build complexity.
4
4
  * (c) 2024
5
5
  * Released under the MIT License.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * snice v4.20.1
2
+ * snice v4.21.0
3
3
  * Imperative TypeScript framework for building vanilla web components with decorators, differential rendering, routing, and controllers. No virtual DOM, no build complexity.
4
4
  * (c) 2024
5
5
  * Released under the MIT License.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * snice v4.20.1
2
+ * snice v4.21.0
3
3
  * Imperative TypeScript framework for building vanilla web components with decorators, differential rendering, routing, and controllers. No virtual DOM, no build complexity.
4
4
  * (c) 2024
5
5
  * Released under the MIT License.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * snice v4.20.1
2
+ * snice v4.21.0
3
3
  * Imperative TypeScript framework for building vanilla web components with decorators, differential rendering, routing, and controllers. No virtual DOM, no build complexity.
4
4
  * (c) 2024
5
5
  * Released under the MIT License.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * snice v4.20.1
2
+ * snice v4.21.0
3
3
  * Imperative TypeScript framework for building vanilla web components with decorators, differential rendering, routing, and controllers. No virtual DOM, no build complexity.
4
4
  * (c) 2024
5
5
  * Released under the MIT License.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * snice v4.20.1
2
+ * snice v4.21.0
3
3
  * Imperative TypeScript framework for building vanilla web components with decorators, differential rendering, routing, and controllers. No virtual DOM, no build complexity.
4
4
  * (c) 2024
5
5
  * Released under the MIT License.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * snice v4.20.1
2
+ * snice v4.21.0
3
3
  * Imperative TypeScript framework for building vanilla web components with decorators, differential rendering, routing, and controllers. No virtual DOM, no build complexity.
4
4
  * (c) 2024
5
5
  * Released under the MIT License.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * snice v4.20.1
2
+ * snice v4.21.0
3
3
  * Imperative TypeScript framework for building vanilla web components with decorators, differential rendering, routing, and controllers. No virtual DOM, no build complexity.
4
4
  * (c) 2024
5
5
  * Released under the MIT License.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * snice v4.20.1
2
+ * snice v4.21.0
3
3
  * Imperative TypeScript framework for building vanilla web components with decorators, differential rendering, routing, and controllers. No virtual DOM, no build complexity.
4
4
  * (c) 2024
5
5
  * Released under the MIT License.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * snice v4.20.1
2
+ * snice v4.21.0
3
3
  * Imperative TypeScript framework for building vanilla web components with decorators, differential rendering, routing, and controllers. No virtual DOM, no build complexity.
4
4
  * (c) 2024
5
5
  * Released under the MIT License.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * snice v4.20.1
2
+ * snice v4.21.0
3
3
  * Imperative TypeScript framework for building vanilla web components with decorators, differential rendering, routing, and controllers. No virtual DOM, no build complexity.
4
4
  * (c) 2024
5
5
  * Released under the MIT License.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * snice v4.20.1
2
+ * snice v4.21.0
3
3
  * Imperative TypeScript framework for building vanilla web components with decorators, differential rendering, routing, and controllers. No virtual DOM, no build complexity.
4
4
  * (c) 2024
5
5
  * Released under the MIT License.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * snice v4.20.1
2
+ * snice v4.21.0
3
3
  * Imperative TypeScript framework for building vanilla web components with decorators, differential rendering, routing, and controllers. No virtual DOM, no build complexity.
4
4
  * (c) 2024
5
5
  * Released under the MIT License.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * snice v4.20.1
2
+ * snice v4.21.0
3
3
  * Imperative TypeScript framework for building vanilla web components with decorators, differential rendering, routing, and controllers. No virtual DOM, no build complexity.
4
4
  * (c) 2024
5
5
  * Released under the MIT License.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * snice v4.20.1
2
+ * snice v4.21.0
3
3
  * Imperative TypeScript framework for building vanilla web components with decorators, differential rendering, routing, and controllers. No virtual DOM, no build complexity.
4
4
  * (c) 2024
5
5
  * Released under the MIT License.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * snice v4.20.1
2
+ * snice v4.21.0
3
3
  * Imperative TypeScript framework for building vanilla web components with decorators, differential rendering, routing, and controllers. No virtual DOM, no build complexity.
4
4
  * (c) 2024
5
5
  * Released under the MIT License.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * snice v4.20.1
2
+ * snice v4.21.0
3
3
  * Imperative TypeScript framework for building vanilla web components with decorators, differential rendering, routing, and controllers. No virtual DOM, no build complexity.
4
4
  * (c) 2024
5
5
  * Released under the MIT License.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * snice v4.20.1
2
+ * snice v4.21.0
3
3
  * Imperative TypeScript framework for building vanilla web components with decorators, differential rendering, routing, and controllers. No virtual DOM, no build complexity.
4
4
  * (c) 2024
5
5
  * Released under the MIT License.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * snice v4.20.1
2
+ * snice v4.21.0
3
3
  * Imperative TypeScript framework for building vanilla web components with decorators, differential rendering, routing, and controllers. No virtual DOM, no build complexity.
4
4
  * (c) 2024
5
5
  * Released under the MIT License.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * snice v4.20.1
2
+ * snice v4.21.0
3
3
  * Imperative TypeScript framework for building vanilla web components with decorators, differential rendering, routing, and controllers. No virtual DOM, no build complexity.
4
4
  * (c) 2024
5
5
  * Released under the MIT License.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * snice v4.20.1
2
+ * snice v4.21.0
3
3
  * Imperative TypeScript framework for building vanilla web components with decorators, differential rendering, routing, and controllers. No virtual DOM, no build complexity.
4
4
  * (c) 2024
5
5
  * Released under the MIT License.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * snice v4.20.1
2
+ * snice v4.21.0
3
3
  * Imperative TypeScript framework for building vanilla web components with decorators, differential rendering, routing, and controllers. No virtual DOM, no build complexity.
4
4
  * (c) 2024
5
5
  * Released under the MIT License.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * snice v4.20.1
2
+ * snice v4.21.0
3
3
  * Imperative TypeScript framework for building vanilla web components with decorators, differential rendering, routing, and controllers. No virtual DOM, no build complexity.
4
4
  * (c) 2024
5
5
  * Released under the MIT License.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * snice v4.20.1
2
+ * snice v4.21.0
3
3
  * Imperative TypeScript framework for building vanilla web components with decorators, differential rendering, routing, and controllers. No virtual DOM, no build complexity.
4
4
  * (c) 2024
5
5
  * Released under the MIT License.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * snice v4.20.1
2
+ * snice v4.21.0
3
3
  * Imperative TypeScript framework for building vanilla web components with decorators, differential rendering, routing, and controllers. No virtual DOM, no build complexity.
4
4
  * (c) 2024
5
5
  * Released under the MIT License.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * snice v4.20.1
2
+ * snice v4.21.0
3
3
  * Imperative TypeScript framework for building vanilla web components with decorators, differential rendering, routing, and controllers. No virtual DOM, no build complexity.
4
4
  * (c) 2024
5
5
  * Released under the MIT License.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * snice v4.20.1
2
+ * snice v4.21.0
3
3
  * Imperative TypeScript framework for building vanilla web components with decorators, differential rendering, routing, and controllers. No virtual DOM, no build complexity.
4
4
  * (c) 2024
5
5
  * Released under the MIT License.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * snice v4.20.1
2
+ * snice v4.21.0
3
3
  * Imperative TypeScript framework for building vanilla web components with decorators, differential rendering, routing, and controllers. No virtual DOM, no build complexity.
4
4
  * (c) 2024
5
5
  * Released under the MIT License.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * snice v4.20.1
2
+ * snice v4.21.0
3
3
  * Imperative TypeScript framework for building vanilla web components with decorators, differential rendering, routing, and controllers. No virtual DOM, no build complexity.
4
4
  * (c) 2024
5
5
  * Released under the MIT License.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * snice v4.20.1
2
+ * snice v4.21.0
3
3
  * Imperative TypeScript framework for building vanilla web components with decorators, differential rendering, routing, and controllers. No virtual DOM, no build complexity.
4
4
  * (c) 2024
5
5
  * Released under the MIT License.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * snice v4.20.1
2
+ * snice v4.21.0
3
3
  * Imperative TypeScript framework for building vanilla web components with decorators, differential rendering, routing, and controllers. No virtual DOM, no build complexity.
4
4
  * (c) 2024
5
5
  * Released under the MIT License.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * snice v4.20.1
2
+ * snice v4.21.0
3
3
  * Imperative TypeScript framework for building vanilla web components with decorators, differential rendering, routing, and controllers. No virtual DOM, no build complexity.
4
4
  * (c) 2024
5
5
  * Released under the MIT License.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * snice v4.20.1
2
+ * snice v4.21.0
3
3
  * Imperative TypeScript framework for building vanilla web components with decorators, differential rendering, routing, and controllers. No virtual DOM, no build complexity.
4
4
  * (c) 2024
5
5
  * Released under the MIT License.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * snice v4.20.1
2
+ * snice v4.21.0
3
3
  * Imperative TypeScript framework for building vanilla web components with decorators, differential rendering, routing, and controllers. No virtual DOM, no build complexity.
4
4
  * (c) 2024
5
5
  * Released under the MIT License.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * snice v4.20.1
2
+ * snice v4.21.0
3
3
  * Imperative TypeScript framework for building vanilla web components with decorators, differential rendering, routing, and controllers. No virtual DOM, no build complexity.
4
4
  * (c) 2024
5
5
  * Released under the MIT License.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * snice v4.20.1
2
+ * snice v4.21.0
3
3
  * Imperative TypeScript framework for building vanilla web components with decorators, differential rendering, routing, and controllers. No virtual DOM, no build complexity.
4
4
  * (c) 2024
5
5
  * Released under the MIT License.
@@ -11,7 +11,7 @@ CDN build of the Snice cart component. Requires the Snice runtime (`snice-runtim
11
11
  ```
12
12
 
13
13
  ## Size
14
- - Minified: 14.5 KB
14
+ - Minified: 14.7 KB
15
15
  - Gzipped: 4.2 KB
16
16
 
17
17
  ## Theme
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * snice v4.20.1
2
+ * snice v4.21.0
3
3
  * Imperative TypeScript framework for building vanilla web components with decorators, differential rendering, routing, and controllers. No virtual DOM, no build complexity.
4
4
  * (c) 2024
5
5
  * Released under the MIT License.
@@ -64,7 +64,7 @@ var SniceCart = (function (exports, snice) {
64
64
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
65
65
  };
66
66
 
67
- var cssContent = ":host{display:block;font-family:var(--snice-font-family, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif);contain:layout style;color:var(--snice-color-text,rgb(23 23 23));--cart-bg:var(--snice-color-background, rgb(255 255 255));--cart-bg-element:var(--snice-color-background-element, rgb(252 251 249));--cart-border:var(--snice-color-border, rgb(226 226 226));--cart-text:var(--snice-color-text, rgb(23 23 23));--cart-text-secondary:var(--snice-color-text-secondary, rgb(82 82 82));--cart-text-tertiary:var(--snice-color-text-tertiary, rgb(115 115 115));--cart-primary:var(--snice-color-primary, rgb(37 99 235));--cart-danger:var(--snice-color-danger, rgb(220 38 38));--cart-success:var(--snice-color-success, rgb(22 163 74))}*{box-sizing:border-box}.cart{background:var(--cart-bg);border:1px solid var(--cart-border);border-radius:var(--snice-border-radius-lg,.5rem);overflow:hidden}.cart__header{display:flex;align-items:center;justify-content:space-between;padding:var(--snice-spacing-md,1rem) var(--snice-spacing-lg,1.5rem);border-bottom:1px solid var(--cart-border)}.cart__title{font-size:var(--snice-font-size-lg, 1.125rem);font-weight:var(--snice-font-weight-semibold,600);color:var(--cart-text);margin:0}.cart__count{font-size:.875rem;color:var(--cart-text-tertiary)}.cart__items{list-style:none;margin:0;padding:0}.cart__item{display:flex;align-items:flex-start;gap:var(--snice-spacing-md,1rem);padding:var(--snice-spacing-md,1rem) var(--snice-spacing-lg,1.5rem);border-bottom:1px solid var(--cart-border)}.cart__item:last-child{border-bottom:none}.cart__item-image{width:4rem;height:4rem;border-radius:var(--snice-border-radius-md,.25rem);object-fit:cover;background:var(--cart-bg-element);flex-shrink:0}.cart__item-image-placeholder{width:4rem;height:4rem;border-radius:var(--snice-border-radius-md,.25rem);background:var(--cart-bg-element);display:flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--cart-text-tertiary);font-size:.75rem}.cart__item-details{flex:1;display:flex;flex-direction:column;gap:var(--snice-spacing-2xs,.25rem);min-width:0}.cart__item-name{font-size:.875rem;font-weight:var(--snice-font-weight-medium,500);color:var(--cart-text);margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cart__item-variant{font-size:.75rem;color:var(--cart-text-tertiary)}.cart__item-price{font-size:.875rem;color:var(--cart-text-secondary)}.cart__item-actions{display:flex;align-items:center;gap:var(--snice-spacing-sm,.75rem);flex-shrink:0}.cart__qty{flex-shrink:0}.cart__item-total{font-size:.875rem;font-weight:var(--snice-font-weight-semibold,600);color:var(--cart-text);white-space:nowrap;min-width:4rem;text-align:right}.cart__empty{padding:var(--snice-spacing-xl,2rem);text-align:center;color:var(--cart-text-tertiary);font-size:.875rem}.cart__summary{padding:var(--snice-spacing-md,1rem) var(--snice-spacing-lg,1.5rem);border-top:1px solid var(--cart-border);background:var(--cart-bg-element);display:flex;flex-direction:column;gap:var(--snice-spacing-xs,.5rem)}.cart__summary-row{display:flex;justify-content:space-between;align-items:center;font-size:.875rem}.cart__summary-label{color:var(--cart-text-secondary)}.cart__summary-value{color:var(--cart-text);font-weight:var(--snice-font-weight-medium,500)}.cart__summary-value--discount{color:var(--cart-success)}.cart__summary-total{font-size:var(--snice-font-size-lg, 1.125rem);font-weight:var(--snice-font-weight-bold,700)}.cart__summary-total .cart__summary-value{font-weight:var(--snice-font-weight-bold,700);font-size:var(--snice-font-size-lg, 1.125rem)}.cart__coupon{display:flex;gap:var(--snice-spacing-xs,.5rem);padding:0 var(--snice-spacing-lg,1.5rem) var(--snice-spacing-md,1rem);align-items:center}.cart__coupon-input{flex:1}.cart__coupon snice-button{flex-shrink:0}.cart__checkout{padding:var(--snice-spacing-lg,1.5rem)}@media (max-width:480px){.cart__item{flex-wrap:wrap}.cart__item-actions{width:100%;justify-content:space-between;margin-top:var(--snice-spacing-xs,.5rem)}}";
67
+ var cssContent = ":host{display:block;font-family:var(--snice-font-family, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif);contain:layout style;color:var(--snice-color-text,rgb(23 23 23));--cart-bg:var(--snice-color-background, rgb(255 255 255));--cart-bg-element:var(--snice-color-background-element, rgb(252 251 249));--cart-border:var(--snice-color-border, rgb(226 226 226));--cart-text:var(--snice-color-text, rgb(23 23 23));--cart-text-secondary:var(--snice-color-text-secondary, rgb(82 82 82));--cart-text-tertiary:var(--snice-color-text-tertiary, rgb(115 115 115));--cart-primary:var(--snice-color-primary, rgb(37 99 235));--cart-danger:var(--snice-color-danger, rgb(220 38 38));--cart-success:var(--snice-color-success, rgb(22 163 74))}*{box-sizing:border-box}.cart{background:var(--cart-bg);border:1px solid var(--cart-border);border-radius:var(--snice-border-radius-lg,.5rem);overflow:hidden}.cart__header{display:flex;align-items:center;justify-content:space-between;padding:var(--snice-spacing-md,1rem) var(--snice-spacing-lg,1.5rem);border-bottom:1px solid var(--cart-border)}.cart__title{font-size:var(--snice-font-size-lg, 1.125rem);font-weight:var(--snice-font-weight-semibold,600);color:var(--cart-text);margin:0}.cart__count{font-size:.875rem;color:var(--cart-text-tertiary)}.cart__items{list-style:none;margin:0;padding:0}.cart__item{display:flex;align-items:flex-start;gap:var(--snice-spacing-md,1rem);padding:var(--snice-spacing-md,1rem) var(--snice-spacing-lg,1.5rem);border-bottom:1px solid var(--cart-border)}.cart__item:last-child{border-bottom:none}.cart__item-image{width:4rem;height:4rem;border-radius:var(--snice-border-radius-md,.25rem);object-fit:cover;background:var(--cart-bg-element);flex-shrink:0}.cart__item-image-placeholder{width:4rem;height:4rem;border-radius:var(--snice-border-radius-md,.25rem);background:var(--cart-bg-element);display:flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--cart-text-tertiary);font-size:.75rem}.cart__item-body{flex:1;display:flex;flex-direction:column;gap:var(--snice-spacing-sm,.75rem);min-width:0}.cart__item-header{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--snice-spacing-xs,.5rem)}.cart__item-details{flex:1;display:flex;flex-direction:column;gap:var(--snice-spacing-2xs,.25rem);min-width:0}.cart__item-name{font-size:.875rem;font-weight:var(--snice-font-weight-medium,500);color:var(--cart-text);margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cart__item-variant{font-size:.75rem;color:var(--cart-text-tertiary)}.cart__item-price{font-size:.875rem;color:var(--cart-text-secondary)}.cart__item-actions{display:flex;align-items:center;justify-content:space-between;gap:var(--snice-spacing-sm,.75rem)}.cart__qty{flex-shrink:0}.cart__item-total{font-size:.875rem;font-weight:var(--snice-font-weight-semibold,600);color:var(--cart-text);white-space:nowrap}.cart__empty{padding:var(--snice-spacing-xl,2rem);text-align:center;color:var(--cart-text-tertiary);font-size:.875rem}.cart__summary{padding:var(--snice-spacing-md,1rem) var(--snice-spacing-lg,1.5rem);border-top:1px solid var(--cart-border);background:var(--cart-bg-element);display:flex;flex-direction:column;gap:var(--snice-spacing-xs,.5rem)}.cart__summary-row{display:flex;justify-content:space-between;align-items:center;font-size:.875rem}.cart__summary-label{color:var(--cart-text-secondary)}.cart__summary-value{color:var(--cart-text);font-weight:var(--snice-font-weight-medium,500)}.cart__summary-value--discount{color:var(--cart-success)}.cart__summary-total{font-size:var(--snice-font-size-lg, 1.125rem);font-weight:var(--snice-font-weight-bold,700)}.cart__summary-total .cart__summary-value{font-weight:var(--snice-font-weight-bold,700);font-size:var(--snice-font-size-lg, 1.125rem)}.cart__coupon{display:flex;gap:var(--snice-spacing-xs,.5rem);padding:0 var(--snice-spacing-lg,1.5rem) var(--snice-spacing-md,1rem);align-items:center}.cart__coupon-input{flex:1}.cart__coupon snice-button{flex-shrink:0}.cart__checkout{padding:var(--snice-spacing-lg,1.5rem)}@media (max-width:480px){.cart__item{flex-wrap:wrap}}";
68
68
 
69
69
  let SniceCart = (() => {
70
70
  let _classDecorators = [snice.element('snice-cart')];
@@ -240,24 +240,28 @@ var SniceCart = (function (exports, snice) {
240
240
  </svg>
241
241
  </div>
242
242
  </if>
243
- <div class="cart__item-details">
244
- <h4 class="cart__item-name">${item.name}</h4>
245
- <if ${item.variant}>
246
- <span class="cart__item-variant">${item.variant}</span>
247
- </if>
248
- <span class="cart__item-price">${this.currency}${this.formatPrice(item.price)} each</span>
249
- </div>
250
- <div class="cart__item-actions">
251
- <snice-step-input
252
- class="cart__qty"
253
- size="small"
254
- min="1"
255
- step="1"
256
- .value=${item.quantity}
257
- @value-change=${(e) => this.updateQuantity(item.id, e.detail.value)}
258
- ></snice-step-input>
259
- <span class="cart__item-total">${this.currency}${this.formatPrice(lineTotal)}</span>
260
- <snice-button size="small" variant="text" circle @button-click=${() => this.handleRemove(item)} aria-label="Remove ${item.name}">✕</snice-button>
243
+ <div class="cart__item-body">
244
+ <div class="cart__item-header">
245
+ <div class="cart__item-details">
246
+ <h4 class="cart__item-name">${item.name}</h4>
247
+ <if ${item.variant}>
248
+ <span class="cart__item-variant">${item.variant}</span>
249
+ </if>
250
+ <span class="cart__item-price">${this.currency}${this.formatPrice(item.price)} each</span>
251
+ </div>
252
+ <snice-button size="small" variant="text" circle @button-click=${() => this.handleRemove(item)} aria-label="Remove ${item.name}">✕</snice-button>
253
+ </div>
254
+ <div class="cart__item-actions">
255
+ <snice-step-input
256
+ class="cart__qty"
257
+ size="small"
258
+ min="1"
259
+ step="1"
260
+ value="${item.quantity}"
261
+ @value-change=${(e) => this.updateQuantity(item.id, e.detail.value)}
262
+ ></snice-step-input>
263
+ <span class="cart__item-total">${this.currency}${this.formatPrice(lineTotal)}</span>
264
+ </div>
261
265
  </div>
262
266
  </li>
263
267
  `;