dasar-ui 1.9.2 → 1.10.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 (413) hide show
  1. package/README.md +64 -65
  2. package/fesm2022/dasar-ui.mjs +37004 -0
  3. package/fesm2022/dasar-ui.mjs.map +1 -0
  4. package/package.json +39 -57
  5. package/{projects/dasar-ui/src/lib/styles → styles}/theme.scss +238 -238
  6. package/types/dasar-ui.d.ts +4075 -0
  7. package/.dockerignore +0 -31
  8. package/.editorconfig +0 -17
  9. package/.github/workflows/npm-publish-github-packages.yml +0 -36
  10. package/.prettierrc +0 -12
  11. package/.versionrc.json +0 -4
  12. package/.vscode/extensions.json +0 -4
  13. package/.vscode/launch.json +0 -20
  14. package/.vscode/settings.json +0 -4
  15. package/.vscode/tasks.json +0 -42
  16. package/CHANGELOG.md +0 -101
  17. package/Dockerfile +0 -26
  18. package/angular.json +0 -114
  19. package/docs/_config.yml +0 -3
  20. package/docs/getting-started.md +0 -89
  21. package/docs/index.md +0 -9
  22. package/docs/installation.md +0 -46
  23. package/projects/dasar-ui/README.md +0 -64
  24. package/projects/dasar-ui/ng-package.json +0 -10
  25. package/projects/dasar-ui/package.json +0 -27
  26. package/projects/dasar-ui/src/lib/components/dasar-button/dasar-button.html +0 -9
  27. package/projects/dasar-ui/src/lib/components/dasar-button/dasar-button.scss +0 -352
  28. package/projects/dasar-ui/src/lib/components/dasar-button/dasar-button.spec.ts +0 -21
  29. package/projects/dasar-ui/src/lib/components/dasar-button/dasar-button.ts +0 -154
  30. package/projects/dasar-ui/src/lib/components/dasar-button-group/dasar-button-group.html +0 -1
  31. package/projects/dasar-ui/src/lib/components/dasar-button-group/dasar-button-group.scss +0 -69
  32. package/projects/dasar-ui/src/lib/components/dasar-button-group/dasar-button-group.spec.ts +0 -21
  33. package/projects/dasar-ui/src/lib/components/dasar-button-group/dasar-button-group.ts +0 -26
  34. package/projects/dasar-ui/src/lib/components/dasar-calendar/dasar-calendar.html +0 -158
  35. package/projects/dasar-ui/src/lib/components/dasar-calendar/dasar-calendar.scss +0 -371
  36. package/projects/dasar-ui/src/lib/components/dasar-calendar/dasar-calendar.spec.ts +0 -21
  37. package/projects/dasar-ui/src/lib/components/dasar-calendar/dasar-calendar.ts +0 -458
  38. package/projects/dasar-ui/src/lib/components/dasar-card/dasar-card.html +0 -80
  39. package/projects/dasar-ui/src/lib/components/dasar-card/dasar-card.scss +0 -184
  40. package/projects/dasar-ui/src/lib/components/dasar-card/dasar-card.spec.ts +0 -21
  41. package/projects/dasar-ui/src/lib/components/dasar-card/dasar-card.ts +0 -294
  42. package/projects/dasar-ui/src/lib/components/dasar-chip/dasar-chip.html +0 -42
  43. package/projects/dasar-ui/src/lib/components/dasar-chip/dasar-chip.scss +0 -38
  44. package/projects/dasar-ui/src/lib/components/dasar-chip/dasar-chip.ts +0 -205
  45. package/projects/dasar-ui/src/lib/components/dasar-datepicker/dasar-datepicker.html +0 -111
  46. package/projects/dasar-ui/src/lib/components/dasar-datepicker/dasar-datepicker.scss +0 -331
  47. package/projects/dasar-ui/src/lib/components/dasar-datepicker/dasar-datepicker.spec.ts +0 -93
  48. package/projects/dasar-ui/src/lib/components/dasar-datepicker/dasar-datepicker.ts +0 -527
  49. package/projects/dasar-ui/src/lib/components/dasar-icon/dasar-icon.html +0 -1
  50. package/projects/dasar-ui/src/lib/components/dasar-icon/dasar-icon.registry.ts +0 -5087
  51. package/projects/dasar-ui/src/lib/components/dasar-icon/dasar-icon.scss +0 -24
  52. package/projects/dasar-ui/src/lib/components/dasar-icon/dasar-icon.spec.ts +0 -21
  53. package/projects/dasar-ui/src/lib/components/dasar-icon/dasar-icon.ts +0 -97
  54. package/projects/dasar-ui/src/lib/components/dasar-input/dasar-input.html +0 -54
  55. package/projects/dasar-ui/src/lib/components/dasar-input/dasar-input.scss +0 -251
  56. package/projects/dasar-ui/src/lib/components/dasar-input/dasar-input.spec.ts +0 -21
  57. package/projects/dasar-ui/src/lib/components/dasar-input/dasar-input.ts +0 -319
  58. package/projects/dasar-ui/src/lib/components/dasar-list/dasar-list-item.html +0 -17
  59. package/projects/dasar-ui/src/lib/components/dasar-list/dasar-list.html +0 -25
  60. package/projects/dasar-ui/src/lib/components/dasar-list/dasar-list.scss +0 -122
  61. package/projects/dasar-ui/src/lib/components/dasar-list/dasar-list.spec.ts +0 -21
  62. package/projects/dasar-ui/src/lib/components/dasar-list/dasar-list.ts +0 -166
  63. package/projects/dasar-ui/src/lib/components/dasar-menu/dasar-menu.html +0 -64
  64. package/projects/dasar-ui/src/lib/components/dasar-menu/dasar-menu.scss +0 -229
  65. package/projects/dasar-ui/src/lib/components/dasar-menu/dasar-menu.spec.ts +0 -93
  66. package/projects/dasar-ui/src/lib/components/dasar-menu/dasar-menu.ts +0 -278
  67. package/projects/dasar-ui/src/lib/components/dasar-modal/dasar-modal.html +0 -72
  68. package/projects/dasar-ui/src/lib/components/dasar-modal/dasar-modal.scss +0 -170
  69. package/projects/dasar-ui/src/lib/components/dasar-modal/dasar-modal.spec.ts +0 -267
  70. package/projects/dasar-ui/src/lib/components/dasar-modal/dasar-modal.ts +0 -305
  71. package/projects/dasar-ui/src/lib/components/dasar-number-input/dasar-number-input.html +0 -90
  72. package/projects/dasar-ui/src/lib/components/dasar-number-input/dasar-number-input.scss +0 -353
  73. package/projects/dasar-ui/src/lib/components/dasar-number-input/dasar-number-input.spec.ts +0 -21
  74. package/projects/dasar-ui/src/lib/components/dasar-number-input/dasar-number-input.ts +0 -337
  75. package/projects/dasar-ui/src/lib/components/dasar-overlay/dasar-overlay.html +0 -11
  76. package/projects/dasar-ui/src/lib/components/dasar-overlay/dasar-overlay.scss +0 -18
  77. package/projects/dasar-ui/src/lib/components/dasar-overlay/dasar-overlay.spec.ts +0 -112
  78. package/projects/dasar-ui/src/lib/components/dasar-overlay/dasar-overlay.ts +0 -87
  79. package/projects/dasar-ui/src/lib/components/dasar-pagination/dasar-pagination.html +0 -98
  80. package/projects/dasar-ui/src/lib/components/dasar-pagination/dasar-pagination.scss +0 -51
  81. package/projects/dasar-ui/src/lib/components/dasar-pagination/dasar-pagination.spec.ts +0 -21
  82. package/projects/dasar-ui/src/lib/components/dasar-pagination/dasar-pagination.ts +0 -99
  83. package/projects/dasar-ui/src/lib/components/dasar-pin/dasar-pin.css +0 -0
  84. package/projects/dasar-ui/src/lib/components/dasar-pin/dasar-pin.html +0 -1
  85. package/projects/dasar-ui/src/lib/components/dasar-pin/dasar-pin.spec.ts +0 -21
  86. package/projects/dasar-ui/src/lib/components/dasar-pin/dasar-pin.ts +0 -9
  87. package/projects/dasar-ui/src/lib/components/dasar-pivot-table/dasar-pivot-table.html +0 -150
  88. package/projects/dasar-ui/src/lib/components/dasar-pivot-table/dasar-pivot-table.scss +0 -272
  89. package/projects/dasar-ui/src/lib/components/dasar-pivot-table/dasar-pivot-table.ts +0 -228
  90. package/projects/dasar-ui/src/lib/components/dasar-radio/dasar-radio.css +0 -0
  91. package/projects/dasar-ui/src/lib/components/dasar-radio/dasar-radio.html +0 -1
  92. package/projects/dasar-ui/src/lib/components/dasar-radio/dasar-radio.spec.ts +0 -21
  93. package/projects/dasar-ui/src/lib/components/dasar-radio/dasar-radio.ts +0 -9
  94. package/projects/dasar-ui/src/lib/components/dasar-select/dasar-select.html +0 -189
  95. package/projects/dasar-ui/src/lib/components/dasar-select/dasar-select.scss +0 -387
  96. package/projects/dasar-ui/src/lib/components/dasar-select/dasar-select.spec.ts +0 -97
  97. package/projects/dasar-ui/src/lib/components/dasar-select/dasar-select.ts +0 -540
  98. package/projects/dasar-ui/src/lib/components/dasar-slider/dasar-slider.css +0 -0
  99. package/projects/dasar-ui/src/lib/components/dasar-slider/dasar-slider.html +0 -1
  100. package/projects/dasar-ui/src/lib/components/dasar-slider/dasar-slider.spec.ts +0 -21
  101. package/projects/dasar-ui/src/lib/components/dasar-slider/dasar-slider.ts +0 -9
  102. package/projects/dasar-ui/src/lib/components/dasar-table/dasar-table.html +0 -162
  103. package/projects/dasar-ui/src/lib/components/dasar-table/dasar-table.scss +0 -283
  104. package/projects/dasar-ui/src/lib/components/dasar-table/dasar-table.spec.ts +0 -21
  105. package/projects/dasar-ui/src/lib/components/dasar-table/dasar-table.ts +0 -380
  106. package/projects/dasar-ui/src/lib/components/dasar-tabs/dasar-tabs.html +0 -103
  107. package/projects/dasar-ui/src/lib/components/dasar-tabs/dasar-tabs.scss +0 -238
  108. package/projects/dasar-ui/src/lib/components/dasar-tabs/dasar-tabs.spec.ts +0 -570
  109. package/projects/dasar-ui/src/lib/components/dasar-tabs/dasar-tabs.ts +0 -349
  110. package/projects/dasar-ui/src/lib/components/dasar-textarea/dasar-textarea.html +0 -43
  111. package/projects/dasar-ui/src/lib/components/dasar-textarea/dasar-textarea.scss +0 -189
  112. package/projects/dasar-ui/src/lib/components/dasar-textarea/dasar-textarea.spec.ts +0 -21
  113. package/projects/dasar-ui/src/lib/components/dasar-textarea/dasar-textarea.ts +0 -139
  114. package/projects/dasar-ui/src/lib/components/dasar-theme-provider/dasar-theme-provider.spec.ts +0 -89
  115. package/projects/dasar-ui/src/lib/components/dasar-theme-provider/dasar-theme-provider.ts +0 -294
  116. package/projects/dasar-ui/src/lib/components/dasar-toast/dasar-toast.css +0 -0
  117. package/projects/dasar-ui/src/lib/components/dasar-toast/dasar-toast.html +0 -1
  118. package/projects/dasar-ui/src/lib/components/dasar-toast/dasar-toast.spec.ts +0 -21
  119. package/projects/dasar-ui/src/lib/components/dasar-toast/dasar-toast.ts +0 -9
  120. package/projects/dasar-ui/src/lib/components/dasar-toggle/dasar-toggle.css +0 -0
  121. package/projects/dasar-ui/src/lib/components/dasar-toggle/dasar-toggle.html +0 -1
  122. package/projects/dasar-ui/src/lib/components/dasar-toggle/dasar-toggle.spec.ts +0 -21
  123. package/projects/dasar-ui/src/lib/components/dasar-toggle/dasar-toggle.ts +0 -9
  124. package/projects/dasar-ui/src/lib/components/dasar-tooltip/dasar-tooltip.css +0 -0
  125. package/projects/dasar-ui/src/lib/components/dasar-tooltip/dasar-tooltip.html +0 -1
  126. package/projects/dasar-ui/src/lib/components/dasar-tooltip/dasar-tooltip.spec.ts +0 -21
  127. package/projects/dasar-ui/src/lib/components/dasar-tooltip/dasar-tooltip.ts +0 -9
  128. package/projects/dasar-ui/src/lib/models/theme.model.ts +0 -730
  129. package/projects/dasar-ui/src/lib/models/type.model.ts +0 -11
  130. package/projects/dasar-ui/src/lib/services/theme.service.spec.ts +0 -130
  131. package/projects/dasar-ui/src/lib/services/theme.service.ts +0 -777
  132. package/projects/dasar-ui/src/lib/styles/theme.ts +0 -70
  133. package/projects/dasar-ui/src/lib/utils/common.ts +0 -156
  134. package/projects/dasar-ui/src/lib/utils/icon-size.spec.ts +0 -23
  135. package/projects/dasar-ui/src/lib/utils/icon-size.ts +0 -16
  136. package/projects/dasar-ui/src/lib/utils/panel-placement.spec.ts +0 -90
  137. package/projects/dasar-ui/src/lib/utils/panel-placement.ts +0 -53
  138. package/projects/dasar-ui/src/public-api.ts +0 -24
  139. package/projects/dasar-ui/tsconfig.lib.json +0 -21
  140. package/projects/dasar-ui/tsconfig.lib.prod.json +0 -11
  141. package/projects/dasar-ui/tsconfig.spec.json +0 -18
  142. package/projects/documentation/public/favicon.ico +0 -0
  143. package/projects/documentation/src/app/app.html +0 -78
  144. package/projects/documentation/src/app/app.spec.ts +0 -23
  145. package/projects/documentation/src/app/app.ts +0 -57
  146. package/projects/documentation/src/app/components/doc-customize-modal.component.ts +0 -368
  147. package/projects/documentation/src/app/components/doc-example.component.ts +0 -195
  148. package/projects/documentation/src/app/components/doc-markdown.component.ts +0 -154
  149. package/projects/documentation/src/app/config/app.config.server.ts +0 -10
  150. package/projects/documentation/src/app/config/app.config.ts +0 -17
  151. package/projects/documentation/src/app/layouts/doc.layout.ts +0 -249
  152. package/projects/documentation/src/app/pages/button/button.page.html +0 -65
  153. package/projects/documentation/src/app/pages/button/button.page.ts +0 -139
  154. package/projects/documentation/src/app/pages/button/examples/appearance/button-appearance.example.html +0 -7
  155. package/projects/documentation/src/app/pages/button/examples/appearance/button-appearance.example.ts +0 -10
  156. package/projects/documentation/src/app/pages/button/examples/icon/button-icon.example.html +0 -19
  157. package/projects/documentation/src/app/pages/button/examples/icon/button-icon.example.ts +0 -10
  158. package/projects/documentation/src/app/pages/button/examples/radius/button-radius.example.html +0 -9
  159. package/projects/documentation/src/app/pages/button/examples/radius/button-radius.example.ts +0 -10
  160. package/projects/documentation/src/app/pages/button/examples/sizes/button-sizes.example.html +0 -7
  161. package/projects/documentation/src/app/pages/button/examples/sizes/button-sizes.example.ts +0 -10
  162. package/projects/documentation/src/app/pages/button/examples/state/button-state.example.html +0 -10
  163. package/projects/documentation/src/app/pages/button/examples/state/button-state.example.ts +0 -10
  164. package/projects/documentation/src/app/pages/button/examples/variant/button-variant.example.html +0 -9
  165. package/projects/documentation/src/app/pages/button/examples/variant/button-variant.example.ts +0 -10
  166. package/projects/documentation/src/app/pages/calendar/calendar.page.html +0 -75
  167. package/projects/documentation/src/app/pages/calendar/calendar.page.ts +0 -165
  168. package/projects/documentation/src/app/pages/calendar/examples/actions/calendar-actions.example.html +0 -21
  169. package/projects/documentation/src/app/pages/calendar/examples/actions/calendar-actions.example.ts +0 -10
  170. package/projects/documentation/src/app/pages/calendar/examples/basic/calendar-basic.example.html +0 -11
  171. package/projects/documentation/src/app/pages/calendar/examples/basic/calendar-basic.example.ts +0 -13
  172. package/projects/documentation/src/app/pages/calendar/examples/custom-header/calendar-custom-header.example.html +0 -36
  173. package/projects/documentation/src/app/pages/calendar/examples/custom-header/calendar-custom-header.example.ts +0 -11
  174. package/projects/documentation/src/app/pages/calendar/examples/dropdown/calendar-dropdown.example.html +0 -10
  175. package/projects/documentation/src/app/pages/calendar/examples/dropdown/calendar-dropdown.example.ts +0 -12
  176. package/projects/documentation/src/app/pages/calendar/examples/format/calendar-format.example.html +0 -15
  177. package/projects/documentation/src/app/pages/calendar/examples/format/calendar-format.example.ts +0 -12
  178. package/projects/documentation/src/app/pages/calendar/examples/locale/calendar-locale.example.html +0 -34
  179. package/projects/documentation/src/app/pages/calendar/examples/locale/calendar-locale.example.ts +0 -14
  180. package/projects/documentation/src/app/pages/calendar/examples/more/calendar.more.example.html +0 -20
  181. package/projects/documentation/src/app/pages/calendar/examples/more/calendar.more.example.ts +0 -37
  182. package/projects/documentation/src/app/pages/calendar/examples/styles/calendar-styles.example.html +0 -16
  183. package/projects/documentation/src/app/pages/calendar/examples/styles/calendar-styles.example.ts +0 -10
  184. package/projects/documentation/src/app/pages/card/card.page.html +0 -75
  185. package/projects/documentation/src/app/pages/card/card.page.ts +0 -182
  186. package/projects/documentation/src/app/pages/card/examples/appearance/card-appearance.example.html +0 -13
  187. package/projects/documentation/src/app/pages/card/examples/appearance/card-appearance.example.ts +0 -10
  188. package/projects/documentation/src/app/pages/card/examples/closable/card-closable.example.html +0 -30
  189. package/projects/documentation/src/app/pages/card/examples/closable/card-closable.example.ts +0 -19
  190. package/projects/documentation/src/app/pages/card/examples/custom-style/card-custom-style.example.html +0 -173
  191. package/projects/documentation/src/app/pages/card/examples/custom-style/card-custom-style.example.ts +0 -10
  192. package/projects/documentation/src/app/pages/card/examples/media/card-media.example.html +0 -27
  193. package/projects/documentation/src/app/pages/card/examples/media/card-media.example.ts +0 -10
  194. package/projects/documentation/src/app/pages/card/examples/radius/card-radius.example.html +0 -13
  195. package/projects/documentation/src/app/pages/card/examples/radius/card-radius.example.ts +0 -10
  196. package/projects/documentation/src/app/pages/card/examples/slots/card-slots.example.html +0 -20
  197. package/projects/documentation/src/app/pages/card/examples/slots/card-slots.example.ts +0 -10
  198. package/projects/documentation/src/app/pages/card/examples/spacing/card-spacing.example.html +0 -11
  199. package/projects/documentation/src/app/pages/card/examples/spacing/card-spacing.example.ts +0 -10
  200. package/projects/documentation/src/app/pages/chip/chip.page.html +0 -55
  201. package/projects/documentation/src/app/pages/chip/chip.page.ts +0 -158
  202. package/projects/documentation/src/app/pages/chip/examples/appearance/chip-appearance.example.html +0 -7
  203. package/projects/documentation/src/app/pages/chip/examples/appearance/chip-appearance.example.ts +0 -10
  204. package/projects/documentation/src/app/pages/chip/examples/more/chip-more.example.html +0 -13
  205. package/projects/documentation/src/app/pages/chip/examples/more/chip-more.example.ts +0 -17
  206. package/projects/documentation/src/app/pages/chip/examples/radius/chip-radius.example.html +0 -9
  207. package/projects/documentation/src/app/pages/chip/examples/radius/chip-radius.example.ts +0 -10
  208. package/projects/documentation/src/app/pages/chip/examples/sizes/chip-sizes.example.html +0 -6
  209. package/projects/documentation/src/app/pages/chip/examples/sizes/chip-sizes.example.ts +0 -10
  210. package/projects/documentation/src/app/pages/chip/examples/variant/chip-variant.example.html +0 -8
  211. package/projects/documentation/src/app/pages/chip/examples/variant/chip-variant.example.ts +0 -10
  212. package/projects/documentation/src/app/pages/datepicker/datepicker.page.html +0 -75
  213. package/projects/documentation/src/app/pages/datepicker/datepicker.page.ts +0 -181
  214. package/projects/documentation/src/app/pages/datepicker/examples/appearance/datepicker-appearance.example.html +0 -29
  215. package/projects/documentation/src/app/pages/datepicker/examples/appearance/datepicker-appearance.example.ts +0 -10
  216. package/projects/documentation/src/app/pages/datepicker/examples/basic/datepicker-basic.example.html +0 -12
  217. package/projects/documentation/src/app/pages/datepicker/examples/basic/datepicker-basic.example.ts +0 -12
  218. package/projects/documentation/src/app/pages/datepicker/examples/footer/datepicker-footer.example.html +0 -23
  219. package/projects/documentation/src/app/pages/datepicker/examples/footer/datepicker-footer.example.ts +0 -17
  220. package/projects/documentation/src/app/pages/datepicker/examples/format/datepicker-format.example.html +0 -30
  221. package/projects/documentation/src/app/pages/datepicker/examples/format/datepicker-format.example.ts +0 -13
  222. package/projects/documentation/src/app/pages/datepicker/examples/placement/datepicker-placement.example.html +0 -24
  223. package/projects/documentation/src/app/pages/datepicker/examples/placement/datepicker-placement.example.ts +0 -10
  224. package/projects/documentation/src/app/pages/datepicker/examples/slots/datepicker-slots.example.html +0 -19
  225. package/projects/documentation/src/app/pages/datepicker/examples/slots/datepicker-slots.example.ts +0 -10
  226. package/projects/documentation/src/app/pages/datepicker/examples/states/datepicker-states.example.html +0 -28
  227. package/projects/documentation/src/app/pages/datepicker/examples/states/datepicker-states.example.ts +0 -12
  228. package/projects/documentation/src/app/pages/getting-started/getting-started.page.ts +0 -21
  229. package/projects/documentation/src/app/pages/icon/icon.page.html +0 -15
  230. package/projects/documentation/src/app/pages/icon/icon.page.ts +0 -60
  231. package/projects/documentation/src/app/pages/input/examples/appearance/input-appearance.example.html +0 -27
  232. package/projects/documentation/src/app/pages/input/examples/appearance/input-appearance.example.ts +0 -10
  233. package/projects/documentation/src/app/pages/input/examples/basic/input-basic.example.html +0 -13
  234. package/projects/documentation/src/app/pages/input/examples/basic/input-basic.example.ts +0 -13
  235. package/projects/documentation/src/app/pages/input/examples/mask/input-mask.example.html +0 -31
  236. package/projects/documentation/src/app/pages/input/examples/mask/input-mask.example.ts +0 -19
  237. package/projects/documentation/src/app/pages/input/examples/more/input-more.example.html +0 -68
  238. package/projects/documentation/src/app/pages/input/examples/more/input-more.example.ts +0 -18
  239. package/projects/documentation/src/app/pages/input/examples/slots/input-slots.example.html +0 -52
  240. package/projects/documentation/src/app/pages/input/examples/slots/input-slots.example.ts +0 -10
  241. package/projects/documentation/src/app/pages/input/examples/states/input-states.example.html +0 -29
  242. package/projects/documentation/src/app/pages/input/examples/states/input-states.example.ts +0 -10
  243. package/projects/documentation/src/app/pages/input/input.page.html +0 -65
  244. package/projects/documentation/src/app/pages/input/input.page.ts +0 -170
  245. package/projects/documentation/src/app/pages/installation/installation.page.ts +0 -18
  246. package/projects/documentation/src/app/pages/introduction/introduction.page.ts +0 -18
  247. package/projects/documentation/src/app/pages/list/examples/advanced-dynamic/list-advanced-dynamic.example.html +0 -29
  248. package/projects/documentation/src/app/pages/list/examples/advanced-dynamic/list-advanced-dynamic.example.ts +0 -33
  249. package/projects/documentation/src/app/pages/list/examples/advanced-theme/list-advanced-theme.example.html +0 -13
  250. package/projects/documentation/src/app/pages/list/examples/advanced-theme/list-advanced-theme.example.ts +0 -30
  251. package/projects/documentation/src/app/pages/list/examples/basic/list-basic.example.html +0 -5
  252. package/projects/documentation/src/app/pages/list/examples/basic/list-basic.example.ts +0 -12
  253. package/projects/documentation/src/app/pages/list/examples/bordered-divider/list-bordered-divider.example.html +0 -20
  254. package/projects/documentation/src/app/pages/list/examples/bordered-divider/list-bordered-divider.example.ts +0 -12
  255. package/projects/documentation/src/app/pages/list/examples/custom-style/list-custom-style.example.html +0 -11
  256. package/projects/documentation/src/app/pages/list/examples/custom-style/list-custom-style.example.ts +0 -19
  257. package/projects/documentation/src/app/pages/list/examples/header-footer/list-header-footer.example.html +0 -7
  258. package/projects/documentation/src/app/pages/list/examples/header-footer/list-header-footer.example.ts +0 -12
  259. package/projects/documentation/src/app/pages/list/examples/interactive/list-interactive.example.html +0 -20
  260. package/projects/documentation/src/app/pages/list/examples/interactive/list-interactive.example.ts +0 -22
  261. package/projects/documentation/src/app/pages/list/examples/prefix-suffix/list-prefix-suffix.example.html +0 -9
  262. package/projects/documentation/src/app/pages/list/examples/prefix-suffix/list-prefix-suffix.example.ts +0 -16
  263. package/projects/documentation/src/app/pages/list/examples/size/list-size.example.html +0 -20
  264. package/projects/documentation/src/app/pages/list/examples/size/list-size.example.ts +0 -12
  265. package/projects/documentation/src/app/pages/list/list.page.html +0 -95
  266. package/projects/documentation/src/app/pages/list/list.page.ts +0 -238
  267. package/projects/documentation/src/app/pages/menu/examples/basic/menu-basic.example.html +0 -5
  268. package/projects/documentation/src/app/pages/menu/examples/basic/menu-basic.example.ts +0 -17
  269. package/projects/documentation/src/app/pages/menu/examples/custom-template/menu-custom-template.example.html +0 -35
  270. package/projects/documentation/src/app/pages/menu/examples/custom-template/menu-custom-template.example.ts +0 -57
  271. package/projects/documentation/src/app/pages/menu/examples/placement/menu-placement.example.html +0 -12
  272. package/projects/documentation/src/app/pages/menu/examples/placement/menu-placement.example.ts +0 -16
  273. package/projects/documentation/src/app/pages/menu/menu.page.html +0 -35
  274. package/projects/documentation/src/app/pages/menu/menu.page.ts +0 -149
  275. package/projects/documentation/src/app/pages/modal/examples/appearance/modal-appearance.example.html +0 -18
  276. package/projects/documentation/src/app/pages/modal/examples/appearance/modal-appearance.example.ts +0 -21
  277. package/projects/documentation/src/app/pages/modal/examples/basic/modal-basic.example.html +0 -8
  278. package/projects/documentation/src/app/pages/modal/examples/basic/modal-basic.example.ts +0 -12
  279. package/projects/documentation/src/app/pages/modal/examples/close-behavior/modal-close-behavior.example.html +0 -44
  280. package/projects/documentation/src/app/pages/modal/examples/close-behavior/modal-close-behavior.example.ts +0 -14
  281. package/projects/documentation/src/app/pages/modal/examples/custom-style/modal-custom-style.example.html +0 -36
  282. package/projects/documentation/src/app/pages/modal/examples/custom-style/modal-custom-style.example.ts +0 -12
  283. package/projects/documentation/src/app/pages/modal/examples/overlay/modal-overlay.example.html +0 -29
  284. package/projects/documentation/src/app/pages/modal/examples/overlay/modal-overlay.example.ts +0 -14
  285. package/projects/documentation/src/app/pages/modal/examples/radius-spacing/modal-radius-spacing.example.html +0 -27
  286. package/projects/documentation/src/app/pages/modal/examples/radius-spacing/modal-radius-spacing.example.ts +0 -27
  287. package/projects/documentation/src/app/pages/modal/examples/scroll/modal-scroll.example.html +0 -14
  288. package/projects/documentation/src/app/pages/modal/examples/scroll/modal-scroll.example.ts +0 -13
  289. package/projects/documentation/src/app/pages/modal/examples/size/modal-size.example.html +0 -17
  290. package/projects/documentation/src/app/pages/modal/examples/size/modal-size.example.ts +0 -21
  291. package/projects/documentation/src/app/pages/modal/examples/slots/modal-slots.example.html +0 -30
  292. package/projects/documentation/src/app/pages/modal/examples/slots/modal-slots.example.ts +0 -12
  293. package/projects/documentation/src/app/pages/modal/examples/width/modal-width.example.html +0 -23
  294. package/projects/documentation/src/app/pages/modal/examples/width/modal-width.example.ts +0 -13
  295. package/projects/documentation/src/app/pages/modal/modal.page.html +0 -105
  296. package/projects/documentation/src/app/pages/modal/modal.page.ts +0 -266
  297. package/projects/documentation/src/app/pages/number-input/examples/appearance/number-input-appearance.example.html +0 -30
  298. package/projects/documentation/src/app/pages/number-input/examples/appearance/number-input-appearance.example.ts +0 -10
  299. package/projects/documentation/src/app/pages/number-input/examples/basic/number-input-basic.example.html +0 -12
  300. package/projects/documentation/src/app/pages/number-input/examples/basic/number-input-basic.example.ts +0 -13
  301. package/projects/documentation/src/app/pages/number-input/examples/limits/number-input-limits.example.html +0 -30
  302. package/projects/documentation/src/app/pages/number-input/examples/limits/number-input-limits.example.ts +0 -14
  303. package/projects/documentation/src/app/pages/number-input/examples/slots/number-input-slots.example.html +0 -49
  304. package/projects/documentation/src/app/pages/number-input/examples/slots/number-input-slots.example.ts +0 -10
  305. package/projects/documentation/src/app/pages/number-input/examples/states/number-input-states.example.html +0 -21
  306. package/projects/documentation/src/app/pages/number-input/examples/states/number-input-states.example.ts +0 -10
  307. package/projects/documentation/src/app/pages/number-input/number-input.page.html +0 -55
  308. package/projects/documentation/src/app/pages/number-input/number-input.page.ts +0 -142
  309. package/projects/documentation/src/app/pages/select/examples/appearance/select-appearance.example.html +0 -32
  310. package/projects/documentation/src/app/pages/select/examples/appearance/select-appearance.example.ts +0 -15
  311. package/projects/documentation/src/app/pages/select/examples/basic/select-basic.example.html +0 -13
  312. package/projects/documentation/src/app/pages/select/examples/basic/select-basic.example.ts +0 -20
  313. package/projects/documentation/src/app/pages/select/examples/multiple/select-multiple.example.html +0 -24
  314. package/projects/documentation/src/app/pages/select/examples/multiple/select-multiple.example.ts +0 -59
  315. package/projects/documentation/src/app/pages/select/examples/placement/select-placement.example.html +0 -20
  316. package/projects/documentation/src/app/pages/select/examples/placement/select-placement.example.ts +0 -20
  317. package/projects/documentation/src/app/pages/select/examples/search/select-search.example.html +0 -13
  318. package/projects/documentation/src/app/pages/select/examples/search/select-search.example.ts +0 -22
  319. package/projects/documentation/src/app/pages/select/examples/slots/select-slots.example.html +0 -44
  320. package/projects/documentation/src/app/pages/select/examples/slots/select-slots.example.ts +0 -15
  321. package/projects/documentation/src/app/pages/select/examples/states/select-states.example.html +0 -31
  322. package/projects/documentation/src/app/pages/select/examples/states/select-states.example.ts +0 -12
  323. package/projects/documentation/src/app/pages/select/select.page.html +0 -75
  324. package/projects/documentation/src/app/pages/select/select.page.ts +0 -195
  325. package/projects/documentation/src/app/pages/table/examples/cell-actions/table-cell-actions.example.html +0 -14
  326. package/projects/documentation/src/app/pages/table/examples/cell-actions/table-cell-actions.example.ts +0 -25
  327. package/projects/documentation/src/app/pages/table/examples/cell-badge/table-cell-badge.example.html +0 -12
  328. package/projects/documentation/src/app/pages/table/examples/cell-badge/table-cell-badge.example.ts +0 -21
  329. package/projects/documentation/src/app/pages/table/examples/cell-profile/table-cell-profile.example.html +0 -29
  330. package/projects/documentation/src/app/pages/table/examples/cell-profile/table-cell-profile.example.ts +0 -20
  331. package/projects/documentation/src/app/pages/table/examples/custom-body/table-custom-body.example.html +0 -39
  332. package/projects/documentation/src/app/pages/table/examples/custom-body/table-custom-body.example.ts +0 -21
  333. package/projects/documentation/src/app/pages/table/examples/custom-sizes/table-custom-sizes.example.html +0 -7
  334. package/projects/documentation/src/app/pages/table/examples/custom-sizes/table-custom-sizes.example.ts +0 -21
  335. package/projects/documentation/src/app/pages/table/examples/dynamic-style/table-dynamic-style.example.html +0 -3
  336. package/projects/documentation/src/app/pages/table/examples/dynamic-style/table-dynamic-style.example.ts +0 -41
  337. package/projects/documentation/src/app/pages/table/examples/empty/table-empty.example.html +0 -43
  338. package/projects/documentation/src/app/pages/table/examples/empty/table-empty.example.ts +0 -21
  339. package/projects/documentation/src/app/pages/table/examples/expanded/table-expanded.example.html +0 -36
  340. package/projects/documentation/src/app/pages/table/examples/expanded/table-expanded.example.ts +0 -34
  341. package/projects/documentation/src/app/pages/table/examples/heatmap/table-heatmap.example.html +0 -8
  342. package/projects/documentation/src/app/pages/table/examples/heatmap/table-heatmap.example.ts +0 -52
  343. package/projects/documentation/src/app/pages/table/examples/inline-edit/table-inline-edit.example.html +0 -53
  344. package/projects/documentation/src/app/pages/table/examples/inline-edit/table-inline-edit.example.ts +0 -50
  345. package/projects/documentation/src/app/pages/table/examples/nested/table-nested.example.html +0 -23
  346. package/projects/documentation/src/app/pages/table/examples/nested/table-nested.example.ts +0 -42
  347. package/projects/documentation/src/app/pages/table/examples/pagination/table-pagination.example.html +0 -20
  348. package/projects/documentation/src/app/pages/table/examples/pagination/table-pagination.example.ts +0 -21
  349. package/projects/documentation/src/app/pages/table/table.page.html +0 -125
  350. package/projects/documentation/src/app/pages/table/table.page.ts +0 -261
  351. package/projects/documentation/src/app/pages/tabs/examples/advanced-dynamic/tabs-advanced-dynamic.example.html +0 -13
  352. package/projects/documentation/src/app/pages/tabs/examples/advanced-dynamic/tabs-advanced-dynamic.example.ts +0 -27
  353. package/projects/documentation/src/app/pages/tabs/examples/advanced-form/tabs-advanced-form.example.html +0 -27
  354. package/projects/documentation/src/app/pages/tabs/examples/advanced-form/tabs-advanced-form.example.ts +0 -36
  355. package/projects/documentation/src/app/pages/tabs/examples/advanced-theme/tabs-advanced-theme.example.html +0 -5
  356. package/projects/documentation/src/app/pages/tabs/examples/advanced-theme/tabs-advanced-theme.example.ts +0 -20
  357. package/projects/documentation/src/app/pages/tabs/examples/appearance/tabs-appearance.example.html +0 -6
  358. package/projects/documentation/src/app/pages/tabs/examples/appearance/tabs-appearance.example.ts +0 -13
  359. package/projects/documentation/src/app/pages/tabs/examples/basic/tabs-basic.example.html +0 -13
  360. package/projects/documentation/src/app/pages/tabs/examples/basic/tabs-basic.example.ts +0 -13
  361. package/projects/documentation/src/app/pages/tabs/examples/custom-style/tabs-custom-style.example.html +0 -19
  362. package/projects/documentation/src/app/pages/tabs/examples/custom-style/tabs-custom-style.example.ts +0 -12
  363. package/projects/documentation/src/app/pages/tabs/examples/events/tabs-events.example.html +0 -16
  364. package/projects/documentation/src/app/pages/tabs/examples/events/tabs-events.example.ts +0 -23
  365. package/projects/documentation/src/app/pages/tabs/examples/fluid/tabs-fluid.example.html +0 -5
  366. package/projects/documentation/src/app/pages/tabs/examples/fluid/tabs-fluid.example.ts +0 -12
  367. package/projects/documentation/src/app/pages/tabs/examples/no-body/tabs-no-body.example.html +0 -6
  368. package/projects/documentation/src/app/pages/tabs/examples/no-body/tabs-no-body.example.ts +0 -12
  369. package/projects/documentation/src/app/pages/tabs/examples/radius/tabs-radius.example.html +0 -6
  370. package/projects/documentation/src/app/pages/tabs/examples/radius/tabs-radius.example.ts +0 -13
  371. package/projects/documentation/src/app/pages/tabs/examples/scroll/tabs-scroll.example.html +0 -20
  372. package/projects/documentation/src/app/pages/tabs/examples/scroll/tabs-scroll.example.ts +0 -30
  373. package/projects/documentation/src/app/pages/tabs/examples/scroll-icon/tabs-scroll-icon.example.html +0 -16
  374. package/projects/documentation/src/app/pages/tabs/examples/scroll-icon/tabs-scroll-icon.example.ts +0 -26
  375. package/projects/documentation/src/app/pages/tabs/examples/scroll-slot/tabs-scroll-slot.example.html +0 -22
  376. package/projects/documentation/src/app/pages/tabs/examples/scroll-slot/tabs-scroll-slot.example.ts +0 -26
  377. package/projects/documentation/src/app/pages/tabs/examples/size/tabs-size.example.html +0 -6
  378. package/projects/documentation/src/app/pages/tabs/examples/size/tabs-size.example.ts +0 -13
  379. package/projects/documentation/src/app/pages/tabs/examples/slots/tabs-slots.example.html +0 -25
  380. package/projects/documentation/src/app/pages/tabs/examples/slots/tabs-slots.example.ts +0 -10
  381. package/projects/documentation/src/app/pages/tabs/examples/spacing/tabs-spacing.example.html +0 -6
  382. package/projects/documentation/src/app/pages/tabs/examples/spacing/tabs-spacing.example.ts +0 -13
  383. package/projects/documentation/src/app/pages/tabs/tabs.page.html +0 -165
  384. package/projects/documentation/src/app/pages/tabs/tabs.page.ts +0 -347
  385. package/projects/documentation/src/app/pages/theming/examples/component-config/theming-component-config.example.html +0 -13
  386. package/projects/documentation/src/app/pages/theming/examples/component-config/theming-component-config.example.ts +0 -20
  387. package/projects/documentation/src/app/pages/theming/examples/css-override/theming-css-override.example.html +0 -8
  388. package/projects/documentation/src/app/pages/theming/examples/css-override/theming-css-override.example.scss +0 -4
  389. package/projects/documentation/src/app/pages/theming/examples/css-override/theming-css-override.example.ts +0 -11
  390. package/projects/documentation/src/app/pages/theming/examples/custom-tokens/theming-custom-tokens.example.html +0 -13
  391. package/projects/documentation/src/app/pages/theming/examples/custom-tokens/theming-custom-tokens.example.ts +0 -33
  392. package/projects/documentation/src/app/pages/theming/examples/global-theme/theming-global-theme.example.html +0 -6
  393. package/projects/documentation/src/app/pages/theming/examples/global-theme/theming-global-theme.example.ts +0 -20
  394. package/projects/documentation/src/app/pages/theming/examples/light-dark/theming-light-dark.example.html +0 -15
  395. package/projects/documentation/src/app/pages/theming/examples/light-dark/theming-light-dark.example.ts +0 -31
  396. package/projects/documentation/src/app/pages/theming/theming-component-config.page.ts +0 -52
  397. package/projects/documentation/src/app/pages/theming/theming-css-variables.page.ts +0 -71
  398. package/projects/documentation/src/app/pages/theming/theming-tokens.page.ts +0 -56
  399. package/projects/documentation/src/app/pages/theming/theming.data.ts +0 -947
  400. package/projects/documentation/src/app/pages/theming/theming.page.html +0 -56
  401. package/projects/documentation/src/app/pages/theming/theming.page.ts +0 -144
  402. package/projects/documentation/src/app/routes/app.routes.server.ts +0 -8
  403. package/projects/documentation/src/app/routes/app.routes.ts +0 -135
  404. package/projects/documentation/src/app/services/doc-customize.service.ts +0 -119
  405. package/projects/documentation/src/app/utils/highlight.pipe.ts +0 -43
  406. package/projects/documentation/src/index.html +0 -13
  407. package/projects/documentation/src/main.server.ts +0 -7
  408. package/projects/documentation/src/main.ts +0 -5
  409. package/projects/documentation/src/server.ts +0 -47
  410. package/projects/documentation/src/styles.scss +0 -19
  411. package/projects/documentation/tsconfig.app.json +0 -11
  412. package/projects/documentation/tsconfig.spec.json +0 -10
  413. package/tsconfig.json +0 -40
@@ -1,947 +0,0 @@
1
- import {
2
- buttonMap,
3
- calendarMap,
4
- cardMap,
5
- chipMap,
6
- commonMap,
7
- datepickerMap,
8
- inputMap,
9
- listMap,
10
- menuMap,
11
- modalMap,
12
- overlayMap,
13
- selectMap,
14
- tableMap,
15
- tabsMap,
16
- } from 'dasar-ui';
17
- import { DocApiProperty } from '../../layouts/doc.layout';
18
-
19
- export interface ThemingTokenGroup {
20
- component: string;
21
- path: string;
22
- map: Record<string, string>;
23
- }
24
-
25
- export interface ThemingTokenRow {
26
- component: string;
27
- token: string;
28
- cssVar: string;
29
- path: string;
30
- }
31
-
32
- export const TOKEN_GROUPS: ThemingTokenGroup[] = [
33
- { component: 'common', path: 'tokens.light.common', map: commonMap },
34
- { component: 'button', path: 'tokens.light.button', map: buttonMap },
35
- { component: 'input', path: 'tokens.light.input', map: inputMap },
36
- { component: 'calendar', path: 'tokens.light.calendar', map: calendarMap },
37
- { component: 'datepicker', path: 'tokens.light.datepicker', map: datepickerMap },
38
- { component: 'chip', path: 'tokens.light.chip', map: chipMap },
39
- { component: 'select', path: 'tokens.light.select', map: selectMap },
40
- { component: 'card', path: 'tokens.light.card', map: cardMap },
41
- { component: 'menu', path: 'tokens.light.menu', map: menuMap },
42
- { component: 'table', path: 'tokens.light.table', map: tableMap },
43
- { component: 'list', path: 'tokens.light.list', map: listMap },
44
- { component: 'tabs', path: 'tokens.light.tabs', map: tabsMap },
45
- { component: 'overlay', path: 'tokens.light.overlay', map: overlayMap },
46
- { component: 'modal', path: 'tokens.light.modal', map: modalMap },
47
- ];
48
-
49
- export const TOKEN_ROWS: ThemingTokenRow[] = TOKEN_GROUPS.flatMap((group) =>
50
- Object.entries(group.map).map(([token, cssVar]) => ({
51
- component: group.component,
52
- token,
53
- cssVar,
54
- path: group.path,
55
- })),
56
- );
57
-
58
- export const COMPONENT_CONFIG_DOCS: Record<string, DocApiProperty[]> = {
59
- common: [
60
- {
61
- name: 'size',
62
- type: "'xs' | 'sm' | 'md' | 'lg' | 'xl'",
63
- defaultValue: '-',
64
- description: 'Shared size default used by components that opt into the common config.',
65
- },
66
- {
67
- name: 'radius',
68
- type: 'ScaleAttributeType',
69
- defaultValue: '-',
70
- description: 'Shared radius default used by components that opt into the common config.',
71
- },
72
- ],
73
- button: [
74
- {
75
- name: 'appearance',
76
- type: "'solid' | 'subtle' | 'outline'",
77
- defaultValue: "'solid'",
78
- description: 'Fill style of the button.',
79
- },
80
- {
81
- name: 'variant',
82
- type: "'primary' | 'secondary' | 'success' | 'warning' | 'danger' | ...",
83
- defaultValue: "'primary'",
84
- description: 'Color variant of the button.',
85
- },
86
- {
87
- name: 'radius',
88
- type: 'DasarButtonRadiusType',
89
- defaultValue: "'md'",
90
- description: 'Corner radius of the button.',
91
- },
92
- {
93
- name: 'size',
94
- type: 'DasarButtonSizeType',
95
- defaultValue: "'md'",
96
- description: 'Size of the button.',
97
- },
98
- {
99
- name: 'type',
100
- type: "'button' | 'submit' | 'reset'",
101
- defaultValue: "'button'",
102
- description: 'Native button type.',
103
- },
104
- {
105
- name: 'fullWidth',
106
- type: 'boolean',
107
- defaultValue: 'false',
108
- description: 'Stretches the button to the container width.',
109
- },
110
- {
111
- name: 'iconOnly',
112
- type: 'boolean',
113
- defaultValue: 'false',
114
- description: 'Square padding for icon-only buttons.',
115
- },
116
- {
117
- name: 'disabled',
118
- type: 'boolean',
119
- defaultValue: 'false',
120
- description: 'Disables the button.',
121
- },
122
- {
123
- name: 'fluid',
124
- type: 'boolean',
125
- defaultValue: 'false',
126
- description: 'Removes the fixed height so the button follows its content.',
127
- },
128
- {
129
- name: 'buttonStyle',
130
- type: 'StyleType',
131
- defaultValue: '-',
132
- description: 'Inline style for the button element.',
133
- },
134
- {
135
- name: 'buttonClass',
136
- type: 'ClassType',
137
- defaultValue: '-',
138
- description: 'Class for the button element.',
139
- },
140
- ],
141
- input: [
142
- {
143
- name: 'appearance',
144
- type: 'DasarInputAppearanceType',
145
- defaultValue: "'outline'",
146
- description: 'Fill style of the input.',
147
- },
148
- {
149
- name: 'radius',
150
- type: 'DasarInputRadiusType',
151
- defaultValue: "'md'",
152
- description: 'Corner radius of the input.',
153
- },
154
- {
155
- name: 'size',
156
- type: 'DasarInputSizeType',
157
- defaultValue: "'md'",
158
- description: 'Size of the input.',
159
- },
160
- {
161
- name: 'type',
162
- type: 'DasarInputType',
163
- defaultValue: "'text'",
164
- description: 'Native input type.',
165
- },
166
- {
167
- name: 'mask',
168
- type: 'DasarInputMaskType',
169
- defaultValue: '-',
170
- description: 'Input mask preset.',
171
- },
172
- {
173
- name: 'label',
174
- type: 'string',
175
- defaultValue: "''",
176
- description: 'Label above the input.',
177
- },
178
- {
179
- name: 'labelRight',
180
- type: 'string',
181
- defaultValue: "''",
182
- description: 'Secondary label on the right side.',
183
- },
184
- {
185
- name: 'placeholder',
186
- type: 'string',
187
- defaultValue: "''",
188
- description: 'Placeholder text.',
189
- },
190
- {
191
- name: 'hint',
192
- type: 'string',
193
- defaultValue: "''",
194
- description: 'Hint text below the input.',
195
- },
196
- {
197
- name: 'fullWidth',
198
- type: 'boolean',
199
- defaultValue: 'false',
200
- description: 'Stretches the input to the container width.',
201
- },
202
- {
203
- name: 'disabled',
204
- type: 'boolean',
205
- defaultValue: 'false',
206
- description: 'Disables the input.',
207
- },
208
- {
209
- name: 'readonly',
210
- type: 'boolean',
211
- defaultValue: 'false',
212
- description: 'Makes the input read-only.',
213
- },
214
- {
215
- name: 'error',
216
- type: 'boolean',
217
- defaultValue: 'false',
218
- description: 'Error state styling.',
219
- },
220
- {
221
- name: 'fluid',
222
- type: 'boolean',
223
- defaultValue: 'false',
224
- description: 'Removes the fixed height.',
225
- },
226
- {
227
- name: 'hideOverflow',
228
- type: 'boolean',
229
- defaultValue: 'false',
230
- description: 'Clips overflowing content.',
231
- },
232
- {
233
- name: 'containerStyle / inputStyle / hostStyle / hintStyle',
234
- type: 'StyleType',
235
- defaultValue: '-',
236
- description: 'Inline styles for the input parts.',
237
- },
238
- {
239
- name: 'containerClass / inputClass / hostClass / hintClass',
240
- type: 'ClassType',
241
- defaultValue: '-',
242
- description: 'Classes for the input parts.',
243
- },
244
- ],
245
- numberInput: [
246
- {
247
- name: 'appearance',
248
- type: 'DasarNumberInputAppearanceType',
249
- defaultValue: "'outline'",
250
- description: 'Fill style of the number input.',
251
- },
252
- {
253
- name: 'radius',
254
- type: 'DasarNumberInputRadiusType',
255
- defaultValue: "'md'",
256
- description: 'Corner radius.',
257
- },
258
- {
259
- name: 'size',
260
- type: 'DasarNumberInputSize',
261
- defaultValue: "'md'",
262
- description: 'Size of the number input.',
263
- },
264
- {
265
- name: 'label / labelRight / placeholder / hint',
266
- type: 'string',
267
- defaultValue: "''",
268
- description: 'Text parts of the number input.',
269
- },
270
- {
271
- name: 'step / min / max',
272
- type: 'number',
273
- defaultValue: '-',
274
- description: 'Step and range limits for the stepper buttons.',
275
- },
276
- {
277
- name: 'disabled / fullWidth / error',
278
- type: 'boolean',
279
- defaultValue: 'false',
280
- description: 'State flags.',
281
- },
282
- {
283
- name: 'containerStyle / inputStyle / hintStyle',
284
- type: 'StyleType',
285
- defaultValue: '-',
286
- description: 'Inline styles for the number input parts.',
287
- },
288
- {
289
- name: 'containerClass / inputClass / hostClass / hintClass',
290
- type: 'ClassType',
291
- defaultValue: '-',
292
- description: 'Classes for the number input parts.',
293
- },
294
- {
295
- name: 'hideOverflow',
296
- type: 'boolean',
297
- defaultValue: 'false',
298
- description: 'Clips overflowing content.',
299
- },
300
- ],
301
- select: [
302
- {
303
- name: 'appearance',
304
- type: 'DasarSelectAppearanceType',
305
- defaultValue: "'outline'",
306
- description: 'Fill style of the select trigger.',
307
- },
308
- {
309
- name: 'radius / size',
310
- type: 'DasarSelectRadiusType / DasarSelectSizeType',
311
- defaultValue: "'md' / 'md'",
312
- description: 'Corner radius and size.',
313
- },
314
- {
315
- name: 'options',
316
- type: 'DasarSelectOption[]',
317
- defaultValue: '[]',
318
- description: 'Selectable options.',
319
- },
320
- {
321
- name: 'multipleType',
322
- type: 'DasarSelectMultipleDisplayType',
323
- defaultValue: '-',
324
- description: 'How multiple selected values are displayed.',
325
- },
326
- {
327
- name: 'chipSize',
328
- type: 'DasarSelectChipSizeType',
329
- defaultValue: '-',
330
- description: 'Size of the selected-value chips.',
331
- },
332
- {
333
- name: 'arrowIconName',
334
- type: 'string',
335
- defaultValue: '-',
336
- description: 'Icon used for the dropdown arrow.',
337
- },
338
- {
339
- name: 'debounceTime',
340
- type: 'number',
341
- defaultValue: '-',
342
- description: 'Debounce for the search input in milliseconds.',
343
- },
344
- {
345
- name: 'label / labelRight / placeholder / hint',
346
- type: 'string',
347
- defaultValue: "''",
348
- description: 'Text parts of the select.',
349
- },
350
- {
351
- name: 'placement',
352
- type: 'DasarPanelPlacement',
353
- defaultValue: '-',
354
- description: 'Dropdown panel placement.',
355
- },
356
- {
357
- name: 'clearable / searchable / disabled / loading / error / fullWidth / hideOverflow',
358
- type: 'boolean',
359
- defaultValue: 'false',
360
- description: 'State flags.',
361
- },
362
- {
363
- name: 'dropdownPanelStyle / containerStyle',
364
- type: 'StyleType',
365
- defaultValue: '-',
366
- description: 'Inline styles for the panel and container.',
367
- },
368
- {
369
- name: 'dropdownPanelClass / containerClass / optionClass',
370
- type: 'ClassType',
371
- defaultValue: '-',
372
- description: 'Classes for the panel, container and options.',
373
- },
374
- ],
375
- chip: [
376
- {
377
- name: 'appearance',
378
- type: 'DasarChipAppearanceType',
379
- defaultValue: "'solid'",
380
- description: 'Fill style of the chip.',
381
- },
382
- {
383
- name: 'variant',
384
- type: 'DasarChipVariantType',
385
- defaultValue: "'primary'",
386
- description: 'Color variant of the chip.',
387
- },
388
- {
389
- name: 'size',
390
- type: 'DasarButtonSizeType',
391
- defaultValue: "'xs'",
392
- description: 'Size of the chip.',
393
- },
394
- {
395
- name: 'radius',
396
- type: 'DasarButtonRadiusType',
397
- defaultValue: '-',
398
- description: 'Corner radius of the chip.',
399
- },
400
- {
401
- name: 'label',
402
- type: 'string',
403
- defaultValue: "''",
404
- description: 'Chip label. Content projection works as well.',
405
- },
406
- {
407
- name: 'iconName / closeIconName',
408
- type: 'string',
409
- defaultValue: '-',
410
- description: 'Leading icon and the remove icon.',
411
- },
412
- {
413
- name: 'removable / disabled / fluid',
414
- type: 'boolean',
415
- defaultValue: 'false',
416
- description: 'State flags.',
417
- },
418
- {
419
- name: 'containerStyle / contentStyle / labelStyle',
420
- type: 'StyleType',
421
- defaultValue: '-',
422
- description: 'Inline styles for the chip parts.',
423
- },
424
- {
425
- name: 'containerClass / contentClass / labelClass',
426
- type: 'ClassType',
427
- defaultValue: '-',
428
- description: 'Classes for the chip parts.',
429
- },
430
- ],
431
- calendar: [
432
- {
433
- name: 'appearance',
434
- type: "'outline' | 'borderless'",
435
- defaultValue: "'outline'",
436
- description: 'Fill style of the calendar.',
437
- },
438
- {
439
- name: 'variant',
440
- type: "'dashboard' | 'dropdown'",
441
- defaultValue: "'dashboard'",
442
- description: 'Full calendar or compact dropdown calendar.',
443
- },
444
- {
445
- name: 'size',
446
- type: 'DasarCalendarSizeType',
447
- defaultValue: "'md'",
448
- description: 'Size of the calendar.',
449
- },
450
- {
451
- name: 'radius',
452
- type: 'DasarCalendarRadius',
453
- defaultValue: '-',
454
- description: 'Corner radius.',
455
- },
456
- {
457
- name: 'locale',
458
- type: 'string',
459
- defaultValue: '-',
460
- description: 'Locale for month and weekday names.',
461
- },
462
- {
463
- name: 'weekdayFormat / headerFormat / valueFormat',
464
- type: 'string',
465
- defaultValue: '-',
466
- description: 'Date format strings for the calendar parts.',
467
- },
468
- {
469
- name: 'hideHeader / hideFullDate / fullWidth / disabled',
470
- type: 'boolean',
471
- defaultValue: 'false',
472
- description: 'State flags.',
473
- },
474
- {
475
- name: 'containerStyle / headerStyle',
476
- type: 'StyleType',
477
- defaultValue: '-',
478
- description: 'Inline styles for the calendar parts.',
479
- },
480
- {
481
- name: 'containerClass / headerClass',
482
- type: 'ClassType',
483
- defaultValue: '-',
484
- description: 'Classes for the calendar parts.',
485
- },
486
- ],
487
- datepicker: [
488
- {
489
- name: 'appearance',
490
- type: 'DasarDatepickerAppearance',
491
- defaultValue: "'outline'",
492
- description: 'Fill style of the trigger input.',
493
- },
494
- {
495
- name: 'type',
496
- type: 'DasarDatepickerType',
497
- defaultValue: "'single'",
498
- description: 'Single date or range selection.',
499
- },
500
- {
501
- name: 'size / radius',
502
- type: 'DasarDatepickerSize / DasarDatepickerRadius',
503
- defaultValue: "'md' / 'md'",
504
- description: 'Size and corner radius.',
505
- },
506
- {
507
- name: 'displayFormat / valueFormat',
508
- type: 'string',
509
- defaultValue: '-',
510
- description: 'Display format and emitted value format.',
511
- },
512
- {
513
- name: 'placement',
514
- type: 'DasarDatepickerPlacement',
515
- defaultValue: '-',
516
- description: 'Calendar dropdown placement.',
517
- },
518
- {
519
- name: 'label / extraLabel / placeholder / hint',
520
- type: 'string',
521
- defaultValue: "''",
522
- description: 'Text parts of the datepicker.',
523
- },
524
- {
525
- name: 'locale',
526
- type: 'string',
527
- defaultValue: '-',
528
- description: 'Locale for the calendar.',
529
- },
530
- {
531
- name: 'fullWidth / clearable / disabled / fluid / error',
532
- type: 'boolean',
533
- defaultValue: 'false',
534
- description: 'State flags.',
535
- },
536
- {
537
- name: 'wrapperStyle / triggerStyle / labelWrapperStyle / hintWrapperStyle / containerStyle / dropdownStyle',
538
- type: 'StyleType',
539
- defaultValue: '-',
540
- description: 'Inline styles for the datepicker parts.',
541
- },
542
- {
543
- name: 'containerClass / wrapperClass / triggerClass / dropdownClass / labelWrapperClass / hintWrapperClass',
544
- type: 'ClassType',
545
- defaultValue: '-',
546
- description: 'Classes for the datepicker parts.',
547
- },
548
- ],
549
- card: [
550
- {
551
- name: 'appearance',
552
- type: "'outline' | 'borderless' | 'elevated'",
553
- defaultValue: "'outline'",
554
- description: 'Fill style of the card.',
555
- },
556
- {
557
- name: 'spacing',
558
- type: "'normal' | 'compact'",
559
- defaultValue: "'normal'",
560
- description: 'Padding density of the card.',
561
- },
562
- {
563
- name: 'radius / size',
564
- type: "ScaleAttributeType / 'sm' | 'md' | 'lg'",
565
- defaultValue: "'md' / 'md'",
566
- description: 'Corner radius and size.',
567
- },
568
- {
569
- name: 'label',
570
- type: 'string',
571
- defaultValue: "''",
572
- description: 'Card title.',
573
- },
574
- {
575
- name: 'closable',
576
- type: 'boolean',
577
- defaultValue: 'false',
578
- description: 'Shows a close button.',
579
- },
580
- {
581
- name: 'fullWidth / fluid',
582
- type: 'boolean',
583
- defaultValue: 'false',
584
- description: 'Width and height behavior flags.',
585
- },
586
- {
587
- name: 'captionFluid / hideOverflow / headerFluid / actionFluid / bodyFluid',
588
- type: 'boolean',
589
- defaultValue: 'false',
590
- description: 'Layout flags for the card slots.',
591
- },
592
- {
593
- name: 'contentHeaderStyle / extraHeaderStyle / containerStyle / captionStyle / headerStyle / actionStyle / bodyStyle',
594
- type: 'StyleType',
595
- defaultValue: '-',
596
- description: 'Inline styles for the card parts.',
597
- },
598
- {
599
- name: 'contentHeaderClass / extraHeaderClass / containerClass / captionClass / actionClass / headerClass / bodyClass',
600
- type: 'ClassType',
601
- defaultValue: '-',
602
- description: 'Classes for the card parts.',
603
- },
604
- ],
605
- modal: [
606
- {
607
- name: 'appearance',
608
- type: 'DasarModalAppearance',
609
- defaultValue: '-',
610
- description: 'Fill style of the modal.',
611
- },
612
- {
613
- name: 'spacing',
614
- type: 'DasarModalSpacing',
615
- defaultValue: '-',
616
- description: 'Padding density of the modal.',
617
- },
618
- {
619
- name: 'radius / size',
620
- type: 'DasarModalRadius / DasarModalSize',
621
- defaultValue: '-',
622
- description: 'Corner radius and width preset.',
623
- },
624
- {
625
- name: 'label',
626
- type: 'string',
627
- defaultValue: "''",
628
- description: 'Modal title.',
629
- },
630
- {
631
- name: 'width',
632
- type: 'string',
633
- defaultValue: '-',
634
- description: 'Custom modal width, overrides the size preset.',
635
- },
636
- {
637
- name: 'closable / closeOnOverlay / closeOnEscape',
638
- type: 'boolean',
639
- defaultValue: 'true',
640
- description: 'Close behavior flags.',
641
- },
642
- {
643
- name: 'headerFluid / bodyFluid / actionFluid / fullWidth',
644
- type: 'boolean',
645
- defaultValue: 'false',
646
- description: 'Layout flags.',
647
- },
648
- {
649
- name: 'overlayBlur / overlayBackground',
650
- type: 'string',
651
- defaultValue: 'null',
652
- description:
653
- 'Backdrop blur and background. Null falls back to the overlay tokens and CSS defaults.',
654
- },
655
- {
656
- name: 'containerStyle / headerStyle / closeStyle / bodyStyle / actionStyle',
657
- type: 'StyleType',
658
- defaultValue: '-',
659
- description: 'Inline styles for the modal parts.',
660
- },
661
- {
662
- name: 'containerClass / headerClass / closeClass / bodyClass / actionClass',
663
- type: 'ClassType',
664
- defaultValue: '-',
665
- description: 'Classes for the modal parts.',
666
- },
667
- ],
668
- overlay: [
669
- {
670
- name: 'blur',
671
- type: 'string',
672
- defaultValue: 'null',
673
- description: 'Backdrop blur. Null falls back to the overlay token and the 4px CSS default.',
674
- },
675
- {
676
- name: 'background',
677
- type: 'string',
678
- defaultValue: 'null',
679
- description:
680
- 'Backdrop background. Null falls back to the overlay token and the rgba(0, 0, 0, 0.45) CSS default.',
681
- },
682
- {
683
- name: 'zIndex',
684
- type: 'number',
685
- defaultValue: '-',
686
- description: 'Stacking order of the overlay.',
687
- },
688
- {
689
- name: 'closeOnClick',
690
- type: 'boolean',
691
- defaultValue: 'true',
692
- description: 'Closes the overlay when the backdrop is clicked.',
693
- },
694
- {
695
- name: 'overlayStyle',
696
- type: 'StyleType',
697
- defaultValue: '-',
698
- description: 'Inline style for the overlay.',
699
- },
700
- {
701
- name: 'overlayClass',
702
- type: 'ClassType',
703
- defaultValue: '-',
704
- description: 'Class for the overlay.',
705
- },
706
- ],
707
- icon: [
708
- {
709
- name: 'name',
710
- type: 'string',
711
- defaultValue: "''",
712
- description: 'Icon name from the registry.',
713
- },
714
- {
715
- name: 'size',
716
- type: 'DasarIconSizeType',
717
- defaultValue: "'md'",
718
- description: 'Size of the icon.',
719
- },
720
- {
721
- name: 'stroke',
722
- type: 'number',
723
- defaultValue: '-',
724
- description: 'Stroke width of the icon paths.',
725
- },
726
- {
727
- name: 'color',
728
- type: 'string',
729
- defaultValue: '-',
730
- description: 'Icon color override.',
731
- },
732
- {
733
- name: 'fluid',
734
- type: 'boolean',
735
- defaultValue: 'false',
736
- description: 'Lets the icon fill its container.',
737
- },
738
- ],
739
- menu: [
740
- {
741
- name: 'placement',
742
- type: 'DasarMenuPlacementType',
743
- defaultValue: "'bottom-start'",
744
- description: 'Dropdown panel placement.',
745
- },
746
- {
747
- name: 'appearance',
748
- type: 'DasarMenuAppearanceType',
749
- defaultValue: "'outline'",
750
- description: 'Fill style of the panel.',
751
- },
752
- {
753
- name: 'radius / size',
754
- type: 'DasarMenuRadiusType / DasarMenuSizeType',
755
- defaultValue: "'md' / 'md'",
756
- description: 'Corner radius and size.',
757
- },
758
- {
759
- name: 'label',
760
- type: 'string',
761
- defaultValue: "''",
762
- description: 'Trigger label when no trigger slot is provided.',
763
- },
764
- {
765
- name: 'items',
766
- type: 'DasarMenuItem[]',
767
- defaultValue: '[]',
768
- description: 'Menu items.',
769
- },
770
- {
771
- name: 'disabled / fluid',
772
- type: 'boolean',
773
- defaultValue: 'false',
774
- description: 'State flags.',
775
- },
776
- {
777
- name: 'containerStyle / panelStyle / itemStyle',
778
- type: 'StyleType',
779
- defaultValue: '-',
780
- description: 'Inline styles for the menu parts.',
781
- },
782
- {
783
- name: 'containerClass / panelClass / itemClass',
784
- type: 'ClassType',
785
- defaultValue: '-',
786
- description: 'Classes for the menu parts.',
787
- },
788
- ],
789
- table: [
790
- {
791
- name: 'data / columns',
792
- type: 'any[] / DasarTableColumn[]',
793
- defaultValue: '[]',
794
- description: 'Rows and column definitions.',
795
- },
796
- {
797
- name: 'appearance',
798
- type: 'DasarTableAppearance',
799
- defaultValue: "'outline'",
800
- description: 'Fill style of the table container.',
801
- },
802
- {
803
- name: 'spacing / size',
804
- type: 'DasarTableSpacing / DasarTableSize',
805
- defaultValue: "'normal' / 'md'",
806
- description: 'Padding density and size.',
807
- },
808
- {
809
- name: 'sortKey / sortDirection',
810
- type: 'string | null / DasarTableSortDirection',
811
- defaultValue: 'null',
812
- description: 'Controlled sorting state.',
813
- },
814
- {
815
- name: 'emptyTitle / emptyDescription / loadingText',
816
- type: 'string',
817
- defaultValue: '-',
818
- description: 'Empty and loading state copy.',
819
- },
820
- {
821
- name: 'fluid / striped / hoverable / loading / expandable',
822
- type: 'boolean',
823
- defaultValue: 'false',
824
- description: 'State flags.',
825
- },
826
- {
827
- name: 'containerStyle / wrapperStyle / tableStyle / headerStyle / bodyStyle / paginationStyle',
828
- type: 'StyleType',
829
- defaultValue: '-',
830
- description: 'Inline styles for the table parts.',
831
- },
832
- {
833
- name: 'containerClass / wrapperClass / tableClass / headerClass / bodyClass / paginationClass',
834
- type: 'ClassType',
835
- defaultValue: '-',
836
- description: 'Classes for the table parts.',
837
- },
838
- ],
839
- tabs: [
840
- {
841
- name: 'appearance',
842
- type: "'solid' | 'subtle' | 'outline'",
843
- defaultValue: "'solid'",
844
- description: 'Fill style of the tab list.',
845
- },
846
- {
847
- name: 'radius',
848
- type: 'DasarTabsRadiusType',
849
- defaultValue: "'md'",
850
- description: 'Corner radius of the tab list.',
851
- },
852
- {
853
- name: 'size',
854
- type: 'DasarTabsSizeType',
855
- defaultValue: "'md'",
856
- description: 'Size of the tabs.',
857
- },
858
- {
859
- name: 'spacing',
860
- type: "'normal' | 'compact'",
861
- defaultValue: "'normal'",
862
- description: 'Padding density of the tabs.',
863
- },
864
- {
865
- name: 'fluid',
866
- type: 'boolean',
867
- defaultValue: 'false',
868
- description: 'Stretches tabs to the container width.',
869
- },
870
- {
871
- name: 'scrollLeftIconName / scrollRightIconName',
872
- type: 'string',
873
- defaultValue: '-',
874
- description: 'Icons for the overflow scroll buttons.',
875
- },
876
- {
877
- name: 'containerStyle / contentStyle / listStyle / scrollButtonStyle',
878
- type: 'StyleType',
879
- defaultValue: '-',
880
- description: 'Inline styles for the tabs parts.',
881
- },
882
- {
883
- name: 'containerClass / contentClass / listClass / scrollButtonClass',
884
- type: 'ClassType',
885
- defaultValue: '-',
886
- description: 'Classes for the tabs parts.',
887
- },
888
- ],
889
- list: [
890
- {
891
- name: 'size',
892
- type: "'sm' | 'md' | 'lg'",
893
- defaultValue: "'md'",
894
- description: 'Font size and item padding of the list.',
895
- },
896
- {
897
- name: 'bordered',
898
- type: 'boolean',
899
- defaultValue: 'false',
900
- description: 'Adds a border around the list container.',
901
- },
902
- {
903
- name: 'showDivider',
904
- type: 'boolean',
905
- defaultValue: 'false',
906
- description: 'Separates items with a divider line.',
907
- },
908
- {
909
- name: 'hoverable',
910
- type: 'boolean',
911
- defaultValue: 'false',
912
- description: 'Highlights an item on hover.',
913
- },
914
- {
915
- name: 'clickable',
916
- type: 'boolean',
917
- defaultValue: 'false',
918
- description: 'Pointer cursor and active background on items.',
919
- },
920
- {
921
- name: 'containerStyle',
922
- type: 'StyleType',
923
- defaultValue: '-',
924
- description: 'Inline style for the list container.',
925
- },
926
- {
927
- name: 'containerClass',
928
- type: 'ClassType',
929
- defaultValue: '-',
930
- description: 'Class for the list container.',
931
- },
932
- ],
933
- listItem: [
934
- {
935
- name: 'itemStyle',
936
- type: 'StyleType',
937
- defaultValue: '-',
938
- description: 'Inline style for the list item.',
939
- },
940
- {
941
- name: 'itemClass',
942
- type: 'ClassType',
943
- defaultValue: '-',
944
- description: 'Class for the list item.',
945
- },
946
- ],
947
- };