@semantic-components/ui 0.3.0 → 0.6.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 (270) hide show
  1. package/fesm2022/semantic-components-ui.mjs +10934 -1173
  2. package/fesm2022/semantic-components-ui.mjs.map +1 -1
  3. package/index.d.ts +44 -6
  4. package/lib/components/accordion/accordion-content.d.ts +7 -0
  5. package/lib/components/accordion/accordion-header.d.ts +7 -0
  6. package/lib/components/accordion/accordion-item-description.d.ts +7 -0
  7. package/lib/components/accordion/accordion-item.d.ts +7 -0
  8. package/lib/components/accordion/accordion-trigger.d.ts +7 -0
  9. package/lib/components/accordion/accordion.d.ts +7 -0
  10. package/lib/components/accordion/index.d.ts +6 -0
  11. package/lib/components/alert/alert-description.d.ts +7 -0
  12. package/lib/components/alert/alert-title.d.ts +7 -0
  13. package/lib/components/alert/alert.d.ts +8 -0
  14. package/lib/components/alert/index.d.ts +3 -0
  15. package/lib/components/alert-dialog/alert-dialog-content.d.ts +7 -0
  16. package/lib/components/alert-dialog/alert-dialog-description.d.ts +7 -0
  17. package/lib/components/alert-dialog/alert-dialog-footer.d.ts +7 -0
  18. package/lib/components/alert-dialog/alert-dialog-header.d.ts +7 -0
  19. package/lib/components/alert-dialog/alert-dialog-title.d.ts +7 -0
  20. package/lib/components/alert-dialog/alert-dialog.d.ts +8 -0
  21. package/lib/components/alert-dialog/index.d.ts +1 -0
  22. package/lib/components/aspect-ratio/aspect-ratio.d.ts +17 -0
  23. package/lib/components/aspect-ratio/index.d.ts +1 -0
  24. package/lib/components/avatar/avatar-fallback.d.ts +7 -0
  25. package/lib/components/avatar/avatar-image.d.ts +10 -0
  26. package/lib/components/avatar/avatar.d.ts +10 -0
  27. package/lib/components/avatar/index.d.ts +1 -0
  28. package/lib/components/badge/badge.d.ts +8 -0
  29. package/lib/components/badge/index.d.ts +1 -0
  30. package/lib/components/breadcrumb/breadcrumb-ellipsis.d.ts +7 -0
  31. package/lib/components/breadcrumb/breadcrumb-item.d.ts +7 -0
  32. package/lib/components/breadcrumb/breadcrumb-link.d.ts +7 -0
  33. package/lib/components/breadcrumb/breadcrumb-list.d.ts +7 -0
  34. package/lib/components/breadcrumb/breadcrumb-page.d.ts +7 -0
  35. package/lib/components/breadcrumb/breadcrumb-separator.d.ts +7 -0
  36. package/lib/components/breadcrumb/breadcrumb.d.ts +8 -0
  37. package/lib/components/breadcrumb/index.d.ts +7 -0
  38. package/lib/components/button/button.d.ts +15 -0
  39. package/lib/components/button/index.d.ts +1 -0
  40. package/lib/components/card/card-content.d.ts +7 -0
  41. package/lib/components/card/card-description.d.ts +7 -0
  42. package/lib/components/card/card-footer.d.ts +7 -0
  43. package/lib/components/card/card-header.d.ts +7 -0
  44. package/lib/components/card/card-title.d.ts +7 -0
  45. package/lib/components/card/card.d.ts +7 -0
  46. package/lib/components/card/index.d.ts +6 -0
  47. package/lib/components/carousel/carousel-container.d.ts +7 -0
  48. package/lib/components/carousel/carousel-item.d.ts +9 -0
  49. package/lib/components/carousel/carousel-items.d.ts +9 -0
  50. package/lib/components/carousel/carousel-next.d.ts +13 -0
  51. package/lib/components/carousel/carousel-previous.d.ts +13 -0
  52. package/lib/components/carousel/carousel.d.ts +22 -0
  53. package/lib/components/carousel/index.d.ts +6 -0
  54. package/lib/components/checkbox/checkbox.d.ts +25 -0
  55. package/lib/components/checkbox/index.d.ts +1 -0
  56. package/lib/components/collapsible/collapsible-content.d.ts +7 -0
  57. package/lib/components/collapsible/collapsible-state.d.ts +9 -0
  58. package/lib/components/collapsible/collapsible-trigger.d.ts +10 -0
  59. package/lib/components/collapsible/collapsible.d.ts +12 -0
  60. package/lib/components/collapsible/index.d.ts +3 -0
  61. package/lib/components/command/command-dialog.d.ts +7 -0
  62. package/lib/components/command/command-empty.d.ts +7 -0
  63. package/lib/components/command/command-error.d.ts +7 -0
  64. package/lib/components/command/command-group-heading.d.ts +7 -0
  65. package/lib/components/command/command-group.d.ts +8 -0
  66. package/lib/components/command/command-input.d.ts +8 -0
  67. package/lib/components/command/command-item.d.ts +8 -0
  68. package/lib/components/command/command-list.d.ts +7 -0
  69. package/lib/components/command/command-loading.d.ts +7 -0
  70. package/lib/components/command/command-separator.d.ts +7 -0
  71. package/lib/components/command/command-shortcut.d.ts +7 -0
  72. package/lib/components/command/command.d.ts +7 -0
  73. package/lib/components/command/index.d.ts +11 -0
  74. package/lib/components/context-menu/context-menu-trigger-for.d.ts +8 -0
  75. package/lib/components/context-menu/index.d.ts +1 -0
  76. package/lib/components/data-table/data-table.d.ts +5 -0
  77. package/lib/components/data-table/index.d.ts +1 -0
  78. package/{components/date-picker/date-picker.component.d.ts → lib/components/date-picker/date-picker.d.ts} +3 -4
  79. package/lib/components/date-picker/index.d.ts +2 -0
  80. package/{components/date-picker/inline-date-picker.component.d.ts → lib/components/date-picker/inline-date-picker.d.ts} +4 -5
  81. package/lib/components/date-picker/month-days.d.ts +13 -0
  82. package/lib/components/date-picker/month-year-header.d.ts +8 -0
  83. package/lib/components/date-picker/util.d.ts +5 -0
  84. package/lib/components/dialog/dialog-close.d.ts +7 -0
  85. package/lib/components/dialog/dialog-content.d.ts +7 -0
  86. package/lib/components/dialog/dialog-description.d.ts +7 -0
  87. package/lib/components/dialog/dialog-footer.d.ts +7 -0
  88. package/lib/components/dialog/dialog-header.d.ts +7 -0
  89. package/lib/components/dialog/dialog-title.d.ts +7 -0
  90. package/lib/components/dialog/dialog.d.ts +7 -0
  91. package/lib/components/dialog/index.d.ts +7 -0
  92. package/lib/components/editor/colors.d.ts +1 -0
  93. package/lib/components/editor/editor.d.ts +25 -0
  94. package/lib/components/editor/extensions/extension-blockquote.d.ts +12 -0
  95. package/lib/components/editor/extensions/extension-bold.d.ts +12 -0
  96. package/lib/components/editor/extensions/extension-bullet-list.d.ts +12 -0
  97. package/lib/components/editor/extensions/extension-code.d.ts +12 -0
  98. package/lib/components/editor/extensions/extension-color.d.ts +13 -0
  99. package/lib/components/editor/extensions/extension-font-family.d.ts +11 -0
  100. package/lib/components/editor/extensions/extension-heading.d.ts +9 -0
  101. package/lib/components/editor/extensions/extension-highlight.d.ts +12 -0
  102. package/lib/components/editor/extensions/extension-history.d.ts +14 -0
  103. package/lib/components/editor/extensions/extension-horizontal-rule.d.ts +12 -0
  104. package/lib/components/editor/extensions/extension-image.d.ts +15 -0
  105. package/lib/components/editor/extensions/extension-italic.d.ts +12 -0
  106. package/lib/components/editor/extensions/extension-link.d.ts +14 -0
  107. package/lib/components/editor/extensions/extension-ordered-list.d.ts +12 -0
  108. package/lib/components/editor/extensions/extension-paragraph.d.ts +8 -0
  109. package/lib/components/editor/extensions/extension-strike.d.ts +12 -0
  110. package/lib/components/editor/extensions/extension-table.d.ts +30 -0
  111. package/lib/components/editor/extensions/extension-text-align.d.ts +16 -0
  112. package/lib/components/editor/extensions/extension-text-style.d.ts +11 -0
  113. package/lib/components/editor/extensions/extension-underline.d.ts +12 -0
  114. package/lib/components/editor/extensions/extension-youtube.d.ts +15 -0
  115. package/lib/components/editor/extensions/extensions.d.ts +24 -0
  116. package/lib/components/editor/toolbar/add-cell-attribute-dialog.d.ts +18 -0
  117. package/lib/components/editor/toolbar/add-image-dialog.d.ts +21 -0
  118. package/lib/components/editor/toolbar/add-link-dialog.d.ts +15 -0
  119. package/lib/components/editor/toolbar/add-video-dialog.d.ts +26 -0
  120. package/lib/components/editor/toolbar/extensions-group.d.ts +5 -0
  121. package/lib/components/editor/toolbar/extensions-separator.d.ts +7 -0
  122. package/lib/components/hover-card/hover-card-trigger-for.d.ts +16 -0
  123. package/lib/components/hover-card/hover-card.d.ts +9 -0
  124. package/lib/components/hover-card/index.d.ts +2 -0
  125. package/lib/components/input/index.d.ts +1 -0
  126. package/lib/components/input/input.d.ts +7 -0
  127. package/lib/components/input-otp/index.d.ts +4 -0
  128. package/lib/components/input-otp/input-otp-group.d.ts +7 -0
  129. package/lib/components/input-otp/input-otp-handler.d.ts +6 -0
  130. package/lib/components/input-otp/input-otp-separator.d.ts +7 -0
  131. package/lib/components/input-otp/input-otp-slot.d.ts +15 -0
  132. package/lib/components/input-otp/input-otp.d.ts +36 -0
  133. package/lib/components/label/index.d.ts +1 -0
  134. package/lib/components/label/label.d.ts +7 -0
  135. package/lib/components/menu/index.d.ts +11 -0
  136. package/lib/components/menu/menu-checkbox-group.d.ts +8 -0
  137. package/lib/components/menu/menu-checkbox-item.d.ts +8 -0
  138. package/lib/components/menu/menu-group.d.ts +7 -0
  139. package/lib/components/menu/menu-item.d.ts +9 -0
  140. package/lib/components/menu/menu-label.d.ts +8 -0
  141. package/lib/components/menu/menu-radio-group.d.ts +8 -0
  142. package/lib/components/menu/menu-radio-item.d.ts +9 -0
  143. package/lib/components/menu/menu-separator.d.ts +7 -0
  144. package/lib/components/menu/menu-shortcut.d.ts +7 -0
  145. package/lib/components/menu/menu-trigger-for.d.ts +7 -0
  146. package/lib/components/menu/menu.d.ts +8 -0
  147. package/lib/components/menubar/index.d.ts +2 -0
  148. package/lib/components/menubar/menu-bar-item.d.ts +8 -0
  149. package/lib/components/menubar/menu-bar.d.ts +8 -0
  150. package/lib/components/nav/index.d.ts +5 -0
  151. package/lib/components/nav/nav-button-base.d.ts +6 -0
  152. package/lib/components/nav/nav-button.d.ts +8 -0
  153. package/lib/components/nav/nav-item-dropdown.d.ts +6 -0
  154. package/lib/components/nav/nav-item.d.ts +5 -0
  155. package/lib/components/nav/nav-link.d.ts +8 -0
  156. package/lib/components/nav/nav-list.d.ts +7 -0
  157. package/lib/components/nav/nav.d.ts +7 -0
  158. package/lib/components/paginator/index.d.ts +2 -0
  159. package/lib/components/paginator/page-event.d.ts +10 -0
  160. package/lib/components/paginator/page-item.d.ts +10 -0
  161. package/lib/components/paginator/pagination.d.ts +7 -0
  162. package/lib/components/paginator/paginator.d.ts +39 -0
  163. package/lib/components/popover/index.d.ts +1 -0
  164. package/lib/components/popover/popover-trigger-for.d.ts +16 -0
  165. package/lib/components/popover/popover.d.ts +9 -0
  166. package/lib/components/progress/index.d.ts +1 -0
  167. package/lib/components/progress/progress.d.ts +10 -0
  168. package/lib/components/radio-group/index.d.ts +2 -0
  169. package/lib/components/radio-group/radio-group-state.d.ts +8 -0
  170. package/lib/components/radio-group/radio-group.d.ts +22 -0
  171. package/lib/components/radio-group/radio-item.d.ts +22 -0
  172. package/lib/components/scroll-area/index.d.ts +1 -0
  173. package/lib/components/scroll-area/scroll-area.d.ts +12 -0
  174. package/lib/components/select/index.d.ts +2 -0
  175. package/lib/components/select/option.d.ts +11 -0
  176. package/lib/components/select/select-state.d.ts +9 -0
  177. package/lib/components/select/select.d.ts +40 -0
  178. package/lib/components/sheet/index.d.ts +3 -0
  179. package/lib/components/sheet/sheet-toggler.d.ts +10 -0
  180. package/lib/components/sheet/sheet-trigger.d.ts +16 -0
  181. package/lib/components/sheet/sheet.d.ts +17 -0
  182. package/lib/components/sheet/sidebar-content.d.ts +7 -0
  183. package/lib/components/skeleton/index.d.ts +1 -0
  184. package/lib/components/skeleton/skeleton.d.ts +7 -0
  185. package/lib/components/slider/index.d.ts +1 -0
  186. package/lib/components/slider/slider.d.ts +15 -0
  187. package/lib/components/switch/index.d.ts +1 -0
  188. package/lib/components/switch/switch.d.ts +24 -0
  189. package/lib/components/table/index.d.ts +9 -0
  190. package/lib/components/table/table-body.d.ts +7 -0
  191. package/lib/components/table/table-caption.d.ts +7 -0
  192. package/lib/components/table/table-cell.d.ts +7 -0
  193. package/lib/components/table/table-container.d.ts +7 -0
  194. package/lib/components/table/table-footer.d.ts +7 -0
  195. package/lib/components/table/table-head.d.ts +7 -0
  196. package/lib/components/table/table-header.d.ts +7 -0
  197. package/lib/components/table/table-row.d.ts +7 -0
  198. package/lib/components/table/table.d.ts +7 -0
  199. package/lib/components/tabs/index.d.ts +4 -0
  200. package/lib/components/tabs/tab-content.d.ts +7 -0
  201. package/lib/components/tabs/tab-label.d.ts +7 -0
  202. package/lib/components/tabs/tab.d.ts +10 -0
  203. package/lib/components/tabs/tabs.d.ts +13 -0
  204. package/lib/components/tel-input/form-field-custom-control.component.d.ts +9 -0
  205. package/lib/components/tel-input/index.d.ts +2 -0
  206. package/lib/components/tel-input/tel-input.component.d.ts +70 -0
  207. package/lib/components/textarea/index.d.ts +1 -0
  208. package/lib/components/textarea/textarea.d.ts +7 -0
  209. package/lib/components/theme-toggler/index.d.ts +2 -0
  210. package/lib/components/theme-toggler/theme-provider.d.ts +1 -0
  211. package/lib/components/theme-toggler/theme-toggler.d.ts +9 -0
  212. package/lib/components/theme-toggler/theme.d.ts +9 -0
  213. package/lib/components/toast/index.d.ts +3 -0
  214. package/lib/components/toast/toast-action.d.ts +7 -0
  215. package/lib/components/toast/toast-close.d.ts +7 -0
  216. package/lib/components/toast/toast-content.d.ts +7 -0
  217. package/lib/components/toast/toast-description.d.ts +7 -0
  218. package/lib/components/toast/toast-example.d.ts +5 -0
  219. package/lib/components/toast/toast-title.d.ts +7 -0
  220. package/lib/components/toast/toast.d.ts +8 -0
  221. package/lib/components/toast/toaster.d.ts +10 -0
  222. package/lib/components/toggle/index.d.ts +1 -0
  223. package/lib/components/toggle/toggle.d.ts +9 -0
  224. package/lib/components/tooltip/tooltip-container.d.ts +6 -0
  225. package/{components → lib/components}/tooltip/tooltip.d.ts +5 -3
  226. package/lib/utils/index.d.ts +2 -0
  227. package/package.json +41 -10
  228. package/components/date-picker/index.d.ts +0 -2
  229. package/components/date-picker/month-days.component.d.ts +0 -11
  230. package/components/date-picker/month-year-header.component.d.ts +0 -7
  231. package/components/date-picker/week-days-names.component.d.ts +0 -11
  232. package/components/dropdown/dropdown-divider.component.d.ts +0 -5
  233. package/components/dropdown/dropdown-item.component.d.ts +0 -6
  234. package/components/dropdown/dropdown.component.d.ts +0 -5
  235. package/components/dropdown/index.d.ts +0 -3
  236. package/components/editor/editor.d.ts +0 -5
  237. package/components/nav/index.d.ts +0 -3
  238. package/components/nav/nav-item-dropdown.component.d.ts +0 -5
  239. package/components/nav/nav-item.component.d.ts +0 -5
  240. package/components/nav/nav.component.d.ts +0 -5
  241. package/components/select/index.d.ts +0 -2
  242. package/components/select/select-option.component.d.ts +0 -7
  243. package/components/select/select.component.d.ts +0 -55
  244. package/components/tooltip/tooltip-container.d.ts +0 -7
  245. package/esm2022/components/date-picker/date-picker.component.mjs +0 -189
  246. package/esm2022/components/date-picker/index.mjs +0 -3
  247. package/esm2022/components/date-picker/inline-date-picker.component.mjs +0 -185
  248. package/esm2022/components/date-picker/month-days.component.mjs +0 -69
  249. package/esm2022/components/date-picker/month-year-header.component.mjs +0 -124
  250. package/esm2022/components/date-picker/week-days-names.component.mjs +0 -37
  251. package/esm2022/components/dropdown/dropdown-divider.component.mjs +0 -16
  252. package/esm2022/components/dropdown/dropdown-item.component.mjs +0 -33
  253. package/esm2022/components/dropdown/dropdown.component.mjs +0 -85
  254. package/esm2022/components/dropdown/index.mjs +0 -4
  255. package/esm2022/components/editor/editor.mjs +0 -16
  256. package/esm2022/components/editor/index.mjs +0 -2
  257. package/esm2022/components/nav/index.mjs +0 -4
  258. package/esm2022/components/nav/nav-item-dropdown.component.mjs +0 -148
  259. package/esm2022/components/nav/nav-item.component.mjs +0 -16
  260. package/esm2022/components/nav/nav.component.mjs +0 -16
  261. package/esm2022/components/select/index.mjs +0 -3
  262. package/esm2022/components/select/select-option.component.mjs +0 -28
  263. package/esm2022/components/select/select.component.mjs +0 -252
  264. package/esm2022/components/tooltip/index.mjs +0 -2
  265. package/esm2022/components/tooltip/tooltip-container.mjs +0 -58
  266. package/esm2022/components/tooltip/tooltip.mjs +0 -79
  267. package/esm2022/index.mjs +0 -7
  268. package/esm2022/semantic-components-ui.mjs +0 -5
  269. /package/{components → lib/components}/editor/index.d.ts +0 -0
  270. /package/{components → lib/components}/tooltip/index.d.ts +0 -0
@@ -0,0 +1,9 @@
1
+ import { ScTheme } from './theme';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ScThemeToggler {
4
+ theme: ScTheme;
5
+ message: import("@angular/core").Signal<"Toggle dark mode" | "Toggle light mode">;
6
+ toggleTheme(): void;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScThemeToggler, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScThemeToggler, "sc-theme-toggler", never, {}, {}, never, never, true, never>;
9
+ }
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class ScTheme {
3
+ private readonly document;
4
+ value: import("@angular/core").WritableSignal<"light" | "dark" | undefined>;
5
+ constructor();
6
+ init(): void;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScTheme, never>;
8
+ static ɵprov: i0.ɵɵInjectableDeclaration<ScTheme>;
9
+ }
@@ -0,0 +1,3 @@
1
+ export * from './toast';
2
+ export * from './toaster';
3
+ export * from './toast-example';
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class ScToastAction {
3
+ class: import("@angular/core").InputSignal<string>;
4
+ classes: import("@angular/core").Signal<string>;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScToastAction, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScToastAction, "button[sc-toast-action]", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
7
+ }
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class ScToastClose {
3
+ class: import("@angular/core").InputSignal<string>;
4
+ classes: import("@angular/core").Signal<string>;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScToastClose, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScToastClose, "button[sc-toast-close]", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
7
+ }
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class ScToastContent {
3
+ class: import("@angular/core").InputSignal<string>;
4
+ classes: import("@angular/core").Signal<string>;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScToastContent, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScToastContent, "div[sc-toast-content]", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
7
+ }
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class ScToastDescription {
3
+ class: import("@angular/core").InputSignal<string>;
4
+ classes: import("@angular/core").Signal<string>;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScToastDescription, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScToastDescription, "p[sc-toast-description]", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
7
+ }
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class ScToastExample {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScToastExample, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScToastExample, "sc-toast-example", never, {}, {}, never, never, true, never>;
5
+ }
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class ScToastTitle {
3
+ class: import("@angular/core").InputSignal<string>;
4
+ classes: import("@angular/core").Signal<string>;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScToastTitle, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScToastTitle, "h2[sc-toast-title]", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
7
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class ScToast {
3
+ variant: import("@angular/core").InputSignal<"default" | "destructive" | null | undefined>;
4
+ class: import("@angular/core").InputSignal<string>;
5
+ classes: import("@angular/core").Signal<string>;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScToast, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScToast, "li[sc-toast]", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
8
+ }
@@ -0,0 +1,10 @@
1
+ import { Overlay } from '@angular/cdk/overlay';
2
+ import * as i0 from "@angular/core";
3
+ export declare class Toaster {
4
+ private overlayRef;
5
+ overlay: Overlay;
6
+ constructor();
7
+ toast(message: string): void;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<Toaster, never>;
9
+ static ɵprov: i0.ɵɵInjectableDeclaration<Toaster>;
10
+ }
@@ -0,0 +1 @@
1
+ export * from './toggle';
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class ScToggle {
3
+ variant: import("@angular/core").InputSignal<"default" | "outline" | null | undefined>;
4
+ size: import("@angular/core").InputSignal<"default" | "sm" | "lg" | null | undefined>;
5
+ class: import("@angular/core").InputSignal<string>;
6
+ classes: import("@angular/core").Signal<string>;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScToggle, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScToggle, "button[sc-toggle]", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
9
+ }
@@ -0,0 +1,6 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class ScTooltipContainer {
3
+ message: import("@angular/core").InputSignal<string>;
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScTooltipContainer, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScTooltipContainer, "sc-tooltip-container", never, { "message": { "alias": "message"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
6
+ }
@@ -1,17 +1,19 @@
1
+ import { ConnectedPosition } from '@angular/cdk/overlay';
1
2
  import { OnDestroy, OnInit } from '@angular/core';
2
3
  import * as i0 from "@angular/core";
3
4
  export declare class ScTooltip implements OnInit, OnDestroy {
4
- private readonly overlayPositionBuilder;
5
5
  private readonly elementRef;
6
6
  private readonly overlay;
7
- readonly text: import("@angular/core").InputSignal<string>;
8
7
  private overlayRef;
8
+ message: import("@angular/core").InputSignal<string>;
9
+ position: import("@angular/core").InputSignal<"left" | "right" | "above" | "below">;
9
10
  ngOnInit(): void;
10
11
  ngOnDestroy(): void;
11
12
  showTooltip(): void;
12
13
  hideTooltip(): void;
13
14
  private attachTooltip;
14
15
  private getPositionStrategy;
16
+ getPositions(): ConnectedPosition[];
15
17
  static ɵfac: i0.ɵɵFactoryDeclaration<ScTooltip, never>;
16
- static ɵdir: i0.ɵɵDirectiveDeclaration<ScTooltip, "[scTooltip]", never, { "text": { "alias": "scTooltip"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
18
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ScTooltip, "[scTooltip]", never, { "message": { "alias": "scTooltip"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
17
19
  }
@@ -0,0 +1,2 @@
1
+ import { type ClassValue } from 'clsx';
2
+ export declare function cn(...inputs: ClassValue[]): string;
package/package.json CHANGED
@@ -1,18 +1,51 @@
1
1
  {
2
2
  "name": "@semantic-components/ui",
3
- "version": "0.3.0",
3
+ "version": "0.6.0",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
8
8
  "peerDependencies": {
9
- "@angular/common": "^18.2.0",
10
- "@angular/core": "^18.2.0",
11
- "@angular/cdk": "^18.2.0",
12
- "@nx/angular": "^20.1.0",
13
- "@angular/forms": "^18.2.0",
14
- "@angular/platform-browser": "^18.2.0",
15
- "rxjs": "^7.8.0"
9
+ "@angular/common": ">=19.0.0",
10
+ "@angular/core": ">=19.0.0",
11
+ "@angular/cdk": ">=19.0.0",
12
+ "@angular/forms": ">=19.0.0",
13
+ "@angular/router": ">=19.0.0",
14
+ "@tiptap/core": "^2.10.3",
15
+ "@semantic-icons/lucide-icons": "^0.9.0",
16
+ "@tiptap/extension-blockquote": "^2.10.3",
17
+ "@tiptap/extension-bold": "^2.10.3",
18
+ "@tiptap/extension-bullet-list": "^2.10.3",
19
+ "@tiptap/extension-code": "^2.10.3",
20
+ "@tiptap/extension-color": "^2.10.3",
21
+ "@tiptap/extension-document": "^2.10.3",
22
+ "@tiptap/extension-font-family": "^2.10.3",
23
+ "@tiptap/extension-heading": "^2.10.3",
24
+ "@tiptap/extension-highlight": "^2.10.3",
25
+ "@tiptap/extension-history": "^2.10.3",
26
+ "@tiptap/extension-horizontal-rule": "^2.10.3",
27
+ "@tiptap/extension-image": "^2.10.3",
28
+ "@tiptap/extension-italic": "^2.10.3",
29
+ "@tiptap/extension-link": "^2.10.3",
30
+ "@tiptap/extension-list-item": "^2.10.3",
31
+ "@tiptap/extension-ordered-list": "^2.10.3",
32
+ "@tiptap/extension-text-style": "^2.10.3",
33
+ "@tiptap/extension-paragraph": "^2.10.3",
34
+ "@tiptap/extension-strike": "^2.10.3",
35
+ "@tiptap/extension-text": "^2.10.3",
36
+ "@tiptap/extension-text-align": "^2.10.3",
37
+ "@tiptap/extension-underline": "^2.10.3",
38
+ "@tiptap/extension-youtube": "^2.10.3",
39
+ "@tiptap/extension-table-header": "^2.10.3",
40
+ "@tiptap/extension-table-row": "^2.10.3",
41
+ "@tiptap/extension-table-cell": "^2.10.3",
42
+ "@tiptap/extension-table": "^2.10.3",
43
+ "class-variance-authority": "^0.7.1",
44
+ "clsx": "^2.1.1",
45
+ "tailwind-merge": "^2.5.2",
46
+ "ngx-scrollbar": "^16.1.1",
47
+ "embla-carousel": "^8.5.1",
48
+ "rxjs": "~7.8.1"
16
49
  },
17
50
  "sideEffects": false,
18
51
  "repository": {
@@ -28,8 +61,6 @@
28
61
  },
29
62
  ".": {
30
63
  "types": "./index.d.ts",
31
- "esm2022": "./esm2022/semantic-components-ui.mjs",
32
- "esm": "./esm2022/semantic-components-ui.mjs",
33
64
  "default": "./fesm2022/semantic-components-ui.mjs"
34
65
  }
35
66
  },
@@ -1,2 +0,0 @@
1
- export * from './date-picker.component';
2
- export * from './inline-date-picker.component';
@@ -1,11 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class MonthDaysComponent {
3
- days: import("@angular/core").InputSignal<string[]>;
4
- firstDayMonth: import("@angular/core").InputSignal<number>;
5
- selectedDay: import("@angular/core").InputSignal<string>;
6
- selectedDayChange: import("@angular/core").OutputEmitterRef<string>;
7
- isSelected(day: string): boolean;
8
- setSelectedDay(event: any): void;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<MonthDaysComponent, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<MonthDaysComponent, "sc-month-days", never, { "days": { "alias": "days"; "required": true; "isSignal": true; }; "firstDayMonth": { "alias": "firstDayMonth"; "required": true; "isSignal": true; }; "selectedDay": { "alias": "selectedDay"; "required": false; "isSignal": true; }; }, { "selectedDayChange": "selectedDayChange"; }, never, never, true, never>;
11
- }
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class MonthYearHeaderComponent {
3
- monthYear: import("@angular/core").InputSignal<string>;
4
- monthYearChange: import("@angular/core").OutputEmitterRef<number>;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<MonthYearHeaderComponent, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<MonthYearHeaderComponent, "sc-month-year-header", never, { "monthYear": { "alias": "monthYear"; "required": true; "isSignal": true; }; }, { "monthYearChange": "monthYearChange"; }, never, never, true, never>;
7
- }
@@ -1,11 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export interface WeekDayName {
3
- narrow: string;
4
- short: string;
5
- long: string;
6
- }
7
- export declare class WeekDaysNamesComponent {
8
- weekDaysNames: import("@angular/core").InputSignal<WeekDayName[]>;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<WeekDaysNamesComponent, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<WeekDaysNamesComponent, "sc-week-days-names", never, { "weekDaysNames": { "alias": "weekDaysNames"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
11
- }
@@ -1,5 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class DropdownDividerComponent {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<DropdownDividerComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<DropdownDividerComponent, "sc-dropdown-divider", never, {}, {}, never, never, true, never>;
5
- }
@@ -1,6 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class DropdownItemComponent {
3
- text: import("@angular/core").InputSignal<string>;
4
- static ɵfac: i0.ɵɵFactoryDeclaration<DropdownItemComponent, never>;
5
- static ɵcmp: i0.ɵɵComponentDeclaration<DropdownItemComponent, "sc-dropdown-item", never, { "text": { "alias": "text"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
6
- }
@@ -1,5 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class DropdownComponent {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<DropdownComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<DropdownComponent, "sc-dropdown", never, {}, {}, never, ["dropdown-items"], true, never>;
5
- }
@@ -1,3 +0,0 @@
1
- export * from './dropdown.component';
2
- export * from './dropdown-divider.component';
3
- export * from './dropdown-item.component';
@@ -1,5 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class ScEditor {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<ScEditor, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<ScEditor, "sc-editor", never, {}, {}, never, never, true, never>;
5
- }
@@ -1,3 +0,0 @@
1
- export * from './nav.component';
2
- export * from './nav-item.component';
3
- export * from './nav-item-dropdown.component';
@@ -1,5 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class NavItemDropdownComponent {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<NavItemDropdownComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<NavItemDropdownComponent, "sc-nav-item-dropdown", never, {}, {}, never, never, true, never>;
5
- }
@@ -1,5 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class NavItemComponent {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<NavItemComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<NavItemComponent, "sc-nav-item", never, {}, {}, never, never, true, never>;
5
- }
@@ -1,5 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class NavComponent {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<NavComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<NavComponent, "sc-nav", never, {}, {}, never, never, true, never>;
5
- }
@@ -1,2 +0,0 @@
1
- export * from './select.component';
2
- export * from './select-option.component';
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class SelectOptionComponent {
3
- value: any;
4
- disabled: boolean;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<SelectOptionComponent, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<SelectOptionComponent, "sc-select-option", never, { "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, ["*"], true, never>;
7
- }
@@ -1,55 +0,0 @@
1
- import { Overlay } from '@angular/cdk/overlay';
2
- import { CdkPortal } from '@angular/cdk/portal';
3
- import { ChangeDetectorRef, ElementRef, EventEmitter, OnInit, QueryList } from '@angular/core';
4
- import { AbstractControl, ControlValueAccessor, ValidationErrors, Validator } from '@angular/forms';
5
- import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
6
- import { SelectOptionComponent } from './select-option.component';
7
- import * as i0 from "@angular/core";
8
- export interface CustomSelectEvent {
9
- source: SelectComponent;
10
- selected: any;
11
- }
12
- export declare class SelectComponent implements OnInit, ControlValueAccessor, Validator {
13
- private readonly cd;
14
- private readonly domSanitizer;
15
- private readonly overlay;
16
- inputId: string;
17
- label: string;
18
- placeholder: string;
19
- required: boolean;
20
- disabled: boolean;
21
- error: boolean;
22
- multiple: boolean;
23
- search: boolean;
24
- ariaLabel: string;
25
- ariaLabelledby: string;
26
- readonly change: EventEmitter<CustomSelectEvent>;
27
- select: ElementRef;
28
- contentTemplate: CdkPortal;
29
- options: QueryList<SelectOptionComponent>;
30
- displayText: SafeHtml;
31
- displayX: boolean;
32
- private showing;
33
- private readonly showPlaceholder;
34
- private overlayRef;
35
- constructor(cd: ChangeDetectorRef, domSanitizer: DomSanitizer, overlay: Overlay);
36
- onChangeFn: any;
37
- onTouchedFn: any;
38
- registerOnChange(fn: any): void;
39
- registerOnTouched(fn: any): void;
40
- validate(control: AbstractControl): ValidationErrors | null;
41
- ngOnInit(): void;
42
- writeValue(obj: any): void;
43
- onTouched(): void;
44
- mainSelectClasses(): {
45
- [key: string]: any;
46
- };
47
- onDropMenuIconClick(event: UIEvent): void;
48
- onKeyDown(event: KeyboardEvent): void;
49
- showDropdown(): void;
50
- private hide;
51
- private syncWidth;
52
- private getOverlayConfig;
53
- static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent, never>;
54
- static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "sc-select", never, { "inputId": { "alias": "id"; "required": false; }; "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "error": { "alias": "error"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "search": { "alias": "search"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; }; }, { "change": "change"; }, ["options"], ["*"], true, never>;
55
- }
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class ScTooltipContainer {
3
- text: import("@angular/core").InputSignal<string>;
4
- placement: import("@angular/core").InputSignal<string>;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<ScTooltipContainer, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<ScTooltipContainer, "sc-tooltip-container", never, { "text": { "alias": "text"; "required": false; "isSignal": true; }; "placement": { "alias": "placement"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
7
- }
@@ -1,189 +0,0 @@
1
- import { Directionality } from '@angular/cdk/bidi';
2
- import { Overlay } from '@angular/cdk/overlay';
3
- import { _getEventTarget } from '@angular/cdk/platform';
4
- import { ComponentPortal } from '@angular/cdk/portal';
5
- import { CommonModule } from '@angular/common';
6
- import { ChangeDetectionStrategy, Component, Inject, Injector, LOCALE_ID, ViewEncapsulation, inject, output, signal, viewChild, } from '@angular/core';
7
- import { InlineDatePickerComponent } from './inline-date-picker.component';
8
- import * as i0 from "@angular/core";
9
- export class DatePickerComponent {
10
- localeId;
11
- dateFormatPattern = signal('');
12
- constructor(localeId) {
13
- this.localeId = localeId;
14
- }
15
- ngOnInit() {
16
- this.dateFormatPattern.set(this.getDateFormatPattern(this.localeId));
17
- }
18
- getDateFormatPattern(localeId) {
19
- const getPatternForPart = (part) => {
20
- switch (part.type) {
21
- case 'day':
22
- return 'd'.repeat(part.value.length);
23
- case 'month':
24
- return 'M'.repeat(part.value.length);
25
- case 'year':
26
- return 'y'.repeat(part.value.length);
27
- case 'literal':
28
- return part.value;
29
- default:
30
- throw new Error('no default');
31
- }
32
- };
33
- return new Intl.DateTimeFormat(localeId)
34
- .formatToParts(new Date('2022-01-01'))
35
- .map(getPatternForPart)
36
- .join('');
37
- }
38
- _injector = inject(Injector);
39
- _dir = inject(Directionality, { optional: true });
40
- _overlay = inject(Overlay);
41
- _isOpen = signal(false);
42
- _input = viewChild('input');
43
- _overlayOrigin = viewChild('overlayOrigin');
44
- _overlayRef = null;
45
- _portal = null;
46
- /** Emits when the datepicker is opened. */
47
- opened = output();
48
- /** Emits when the datepicker is closed. */
49
- closed = output();
50
- /** Emits when the user selects a date. */
51
- selected = output();
52
- /** Opens the datepicker. */
53
- open() {
54
- if (!this._input) {
55
- return;
56
- }
57
- // Focus should already be on the input, but this call is in case the datepicker is opened
58
- // programmatically. We need to call this even if the datepicker is already open, because
59
- // the user might be clicking the toggle.
60
- this._input()?.nativeElement.focus();
61
- if (this._isOpen()) {
62
- return;
63
- }
64
- this._isOpen.set(true);
65
- const overlayRef = this._getOverlayRef();
66
- overlayRef.updateSize({ width: this._overlayOrigin()?.nativeElement.offsetWidth });
67
- this._portal ??= new ComponentPortal(InlineDatePickerComponent);
68
- overlayRef.attach(this._portal);
69
- this.opened.emit();
70
- }
71
- /** Closes the datepicker. */
72
- close() {
73
- if (this._isOpen()) {
74
- this._isOpen.set(false);
75
- this._overlayRef?.detach();
76
- this.closed.emit();
77
- }
78
- }
79
- /** Creates an overlay reference for the datepicker panel. */
80
- _getOverlayRef() {
81
- if (this._overlayRef) {
82
- return this._overlayRef;
83
- }
84
- const _overlayOrigin = this._overlayOrigin();
85
- if (_overlayOrigin === undefined) {
86
- throw new Error('_overlayOrigin is undefined');
87
- }
88
- const positionStrategy = this._overlay
89
- .position()
90
- .flexibleConnectedTo(_overlayOrigin)
91
- .withFlexibleDimensions(false)
92
- .withPush(false)
93
- // .withTransformOriginOn('.mat-datepicker-panel')
94
- .withPositions([
95
- {
96
- originX: 'start',
97
- originY: 'bottom',
98
- overlayX: 'start',
99
- overlayY: 'top',
100
- },
101
- {
102
- originX: 'start',
103
- originY: 'top',
104
- overlayX: 'start',
105
- overlayY: 'bottom',
106
- //panelClass: 'mat-datepicker-above',
107
- },
108
- ]);
109
- this._overlayRef = this._overlay.create({
110
- positionStrategy,
111
- scrollStrategy: this._overlay.scrollStrategies.reposition(),
112
- direction: this._dir || 'ltr',
113
- hasBackdrop: false,
114
- });
115
- this._overlayRef.keydownEvents().subscribe((event) => {
116
- console.log(event);
117
- });
118
- this._overlayRef.outsidePointerEvents().subscribe((event) => {
119
- const target = _getEventTarget(event);
120
- const origin = this._overlayOrigin()?.nativeElement;
121
- if (target && target !== origin && !origin?.contains(target)) {
122
- this.close();
123
- }
124
- });
125
- return this._overlayRef;
126
- }
127
- /** Selects a specific date value. */
128
- _selectValue(value) {
129
- this.close();
130
- this.selected.emit(value);
131
- this._input()?.nativeElement.focus();
132
- }
133
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: DatePickerComponent, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Component });
134
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.11", type: DatePickerComponent, isStandalone: true, selector: "sc-date-picker", outputs: { opened: "opened", closed: "closed", selected: "selected" }, viewQueries: [{ propertyName: "_input", first: true, predicate: ["input"], descendants: true, isSignal: true }, { propertyName: "_overlayOrigin", first: true, predicate: ["overlayOrigin"], descendants: true, isSignal: true }], ngImport: i0, template: `
135
- <div class="relative max-w-sm" #overlayOrigin>
136
- <button class="absolute inset-y-0 end-0 flex items-center pe-3.5" (click)="open()">
137
- <svg
138
- class="size-4 text-gray-500 dark:text-gray-400"
139
- aria-hidden="true"
140
- xmlns="http://www.w3.org/2000/svg"
141
- fill="currentColor"
142
- viewBox="0 0 20 20"
143
- >
144
- <path
145
- d="M20 4a2 2 0 0 0-2-2h-2V1a1 1 0 0 0-2 0v1h-3V1a1 1 0 0 0-2 0v1H6V1a1 1 0 0 0-2 0v1H2a2 2 0 0 0-2 2v2h20V4ZM0 18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8H0v10Zm5-8h10a1 1 0 0 1 0 2H5a1 1 0 0 1 0-2Z"
146
- />
147
- </svg>
148
- </button>
149
- <input
150
- class="block w-full rounded-lg border border-gray-300 bg-gray-50 p-2.5 pe-10 text-sm text-gray-900 focus:border-blue-500 focus:ring-blue-500 dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:placeholder:text-gray-400 dark:focus:border-blue-500 dark:focus:ring-blue-500"
151
- #input
152
- type="text"
153
- placeholder="Select date"
154
- />
155
- </div>
156
- {{ dateFormatPattern() }}
157
- `, isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
158
- }
159
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: DatePickerComponent, decorators: [{
160
- type: Component,
161
- args: [{ selector: 'sc-date-picker', standalone: true, imports: [CommonModule, InlineDatePickerComponent], template: `
162
- <div class="relative max-w-sm" #overlayOrigin>
163
- <button class="absolute inset-y-0 end-0 flex items-center pe-3.5" (click)="open()">
164
- <svg
165
- class="size-4 text-gray-500 dark:text-gray-400"
166
- aria-hidden="true"
167
- xmlns="http://www.w3.org/2000/svg"
168
- fill="currentColor"
169
- viewBox="0 0 20 20"
170
- >
171
- <path
172
- d="M20 4a2 2 0 0 0-2-2h-2V1a1 1 0 0 0-2 0v1h-3V1a1 1 0 0 0-2 0v1H6V1a1 1 0 0 0-2 0v1H2a2 2 0 0 0-2 2v2h20V4ZM0 18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8H0v10Zm5-8h10a1 1 0 0 1 0 2H5a1 1 0 0 1 0-2Z"
173
- />
174
- </svg>
175
- </button>
176
- <input
177
- class="block w-full rounded-lg border border-gray-300 bg-gray-50 p-2.5 pe-10 text-sm text-gray-900 focus:border-blue-500 focus:ring-blue-500 dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:placeholder:text-gray-400 dark:focus:border-blue-500 dark:focus:ring-blue-500"
178
- #input
179
- type="text"
180
- placeholder="Select date"
181
- />
182
- </div>
183
- {{ dateFormatPattern() }}
184
- `, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush }]
185
- }], ctorParameters: () => [{ type: undefined, decorators: [{
186
- type: Inject,
187
- args: [LOCALE_ID]
188
- }] }] });
189
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0ZS1waWNrZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy91aS9zcmMvY29tcG9uZW50cy9kYXRlLXBpY2tlci9kYXRlLXBpY2tlci5jb21wb25lbnQudHMiXSwibmFtZ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V0ICYmIHRhcmdldCAhPT0gb3JpZ2luICYmICFvcmlnaW4/LmNvbnRhaW5zKHRhcmdldCkpIHtcbiAgICAgICAgdGhpcy5jbG9zZSgpO1xuICAgICAgfVxuICAgIH0pO1xuXG4gICAgcmV0dXJuIHRoaXMuX292ZXJsYXlSZWY7XG4gIH1cblxuICAvKiogU2VsZWN0cyBhIHNwZWNpZmljIGRhdGUgdmFsdWUuICovXG4gIHByb3RlY3RlZCBfc2VsZWN0VmFsdWUodmFsdWU6IHN0cmluZykge1xuICAgIHRoaXMuY2xvc2UoKTtcbiAgICB0aGlzLnNlbGVjdGVkLmVtaXQodmFsdWUpO1xuICAgIHRoaXMuX2lucHV0KCk/Lm5hdGl2ZUVsZW1lbnQuZm9jdXMoKTtcbiAgfVxufVxuIl19
@@ -1,3 +0,0 @@
1
- export * from './date-picker.component';
2
- export * from './inline-date-picker.component';
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL3VpL3NyYy9jb21wb25lbnRzL2RhdGUtcGlja2VyL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMseUJBQXlCLENBQUM7QUFDeEMsY0FBYyxnQ0FBZ0MsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZGF0ZS1waWNrZXIuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vaW5saW5lLWRhdGUtcGlja2VyLmNvbXBvbmVudCc7XG4iXX0=